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>
|
||||
{foreach from=$files item="value" key="file"}
|
||||
{if $file != 'master.tpl'}
|
||||
{if is_array($value)}
|
||||
<li class="folder">
|
||||
{$file}
|
||||
@ -21,5 +22,6 @@
|
||||
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page}&action={$smarty.request.action}&template={$prefix}{$file}">{$file}</a>
|
||||
</li>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user