Merge pull request #1376 from TheSerapher/issue-1375
[FIX] Ignore master template on template editor
This commit is contained in:
commit
d16aa457fb
@ -1,5 +1,6 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{foreach from=$files item="value" key="file"}
|
{foreach from=$files item="value" key="file"}
|
||||||
|
{if $file != 'master.tpl'}
|
||||||
{if is_array($value)}
|
{if is_array($value)}
|
||||||
<li class="folder">
|
<li class="folder">
|
||||||
{$file}
|
{$file}
|
||||||
@ -21,5 +22,6 @@
|
|||||||
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page}&action={$smarty.request.action}&template={$prefix}{$file}">{$file}</a>
|
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page}&action={$smarty.request.action}&template={$prefix}{$file}">{$file}</a>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user