diff --git a/admin/templates/sysblocks/start.tpl b/admin/templates/sysblocks/start.tpl new file mode 100644 index 0000000..8d0d938 --- /dev/null +++ b/admin/templates/sysblocks/start.tpl @@ -0,0 +1,181 @@ + + +
+
{#SYSBLOCK_EDIT#}
+
+ +
+
+ {#SYSBLOCK_EDIT_TIP#} +
+
+ + + +
+ + + + + + + + + + + + + + + +
+ Список системных блоков + + Добавить системный блок + + Список групп + + Добавить группу +
+
+ + +{foreach from=$groups item=group} + {assign var="group_id" value=$group.id} + + {if $group_id == null} + {assign var="group_id" value='0'} + {/if} + +
+
+
{$group.title} ({$group.count})
+
+
+ {$group.description} +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + {if check_permission('sysblocks_edit')}{/if} + + + + + {foreach from=$sysblocks.$group_id item=sysblock} + + + + + + + + + + + + + + + {if check_permission('sysblocks_edit')} + + + + + + {/if} + + {foreachelse} + + + + {/foreach} + + +
{#SYSBLOCK_ID#}[?][?][?]{#SYSBLOCK_NAME#}{#SYSBLOCK_AUTHOR#}{#SYSBLOCK_DATE#}{#SYSBLOCK_TAG#}{#SYSBLOCK_ACTIONS#}
+ {$sysblock.id} + + {if $sysblock.sysblock_external}{else}{/if} + + + + + + {if check_permission('sysblocks_edit')} + + {$sysblock.sysblock_name|escape} + + {if $sysblock.sysblock_description} +
{$sysblock.sysblock_description|escape} + {/if} + {else} + {$sysblock.sysblock_name|escape} + {/if} +
+ {$sysblock.author|escape} + + {$sysblock.sysblock_created|date_format:$TIME_FORMAT|pretty_date} + +
+ + + + +
+
+ + + + + +
+
    +
  • {#SYSBLOCK_NO_ITEMS#}
  • +
+
+
+{/foreach} + + +{literal} + +{/literal} \ No newline at end of file diff --git a/class/class.cache.php b/class/class.cache.php new file mode 100644 index 0000000..662bb1e --- /dev/null +++ b/class/class.cache.php @@ -0,0 +1,8 @@ + \ No newline at end of file