- {* include file="includes/folder-breadcrumb.html" *}
+ {include file="includes/folder-breadcrumb.html" }
{module_include location='folders_top'}
diff --git a/templates/admin/default/includes/folder-breadcrumb.html b/templates/admin/default/includes/folder-breadcrumb.html
index 4319ba5ff..acb78663e 100644
--- a/templates/admin/default/includes/folder-breadcrumb.html
+++ b/templates/admin/default/includes/folder-breadcrumb.html
@@ -5,17 +5,17 @@
Folders
{ifloop rel="folder_path"}
- {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}
{if $editing_folder == true}
{intl l='Editing %fold' fold="{$TITLE}"}
{else}
- {$TITLE} {intl l="(edit)"}
+ {$TITLE} {intl l="(edit)"}
{/if}
{else}
-
{$TITLE}
+
{$TITLE}
{/if}
{/loop}
{/ifloop}