create breadcrumb and FolderPath loop
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
<div id="wrapper" class="container">
|
||||
|
||||
{* include file="includes/folder-breadcrumb.html" *}
|
||||
{include file="includes/folder-breadcrumb.html" }
|
||||
|
||||
{module_include location='folders_top'}
|
||||
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
<li><a href="{url path='admin/folders'}">Folders</a>
|
||||
|
||||
{ifloop rel="folder_path"}</li>
|
||||
{loop name="folder_path" type="folder-path" visible="*" folder=$folder_id}
|
||||
{if $ID == $folder_id}
|
||||
{loop name="folder_path" type="folder-path" visible="*" folder=$parent}
|
||||
{if $ID == $parent}
|
||||
<li class="active">
|
||||
{if $editing_folder == true}
|
||||
{intl l='Editing %fold' fold="{$TITLE}"}
|
||||
{else}
|
||||
{$TITLE} <a href="{url path='/admin/folders/update' folder_id=$ID}" title="{intl l='Edit this folder'}">{intl l="(edit)"}</a>
|
||||
{$TITLE} <a href="{url path="/admin/folders/update/$ID"}" title="{intl l='Edit this folder'}">{intl l="(edit)"}</a>
|
||||
{/if}
|
||||
</li>
|
||||
{else}
|
||||
<li><a href="{url path='/admin/folders' folder_id=" $ID" action='browse'}">{$TITLE}</a></li>
|
||||
<li><a href="{url path='/admin/folders' parent="$ID" }">{$TITLE}</a></li>
|
||||
{/if}
|
||||
{/loop}
|
||||
{/ifloop}
|
||||
|
||||
Reference in New Issue
Block a user