aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/index.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-06-20 14:35:16 +0000
committermistic100 <mistic@piwigo.org>2013-06-20 14:35:16 +0000
commit863bce7f13191aa40f3388f7cadc6c00eaf1aec4 (patch)
tree777d5600120e93031ebe50bf81a7eaba798fcda2 /themes/default/template/index.tpl
parent2d15ba17464be29f789b34a9b9edffb567f85540 (diff)
feature:2832 Provide better integration of plugins adding a all new section
don't need for an extra file git-svn-id: http://piwigo.org/svn/trunk@23399 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/index.tpl')
-rw-r--r--themes/default/template/index.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl
index 4e3f2c73a..8b47aace4 100644
--- a/themes/default/template/index.tpl
+++ b/themes/default/template/index.tpl
@@ -93,7 +93,7 @@
<span class="pwg-icon pwg-icon-camera-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
</a>{/strip}</li>
{/if}
-{if isset($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}{/if}
+{if !empty($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}{/if}
{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
</ul>
@@ -163,7 +163,10 @@ jQuery("#calendarViewSwitchBox").on("mouseleave", function() {
</div>
{/if}
+{if !empty($CONTENT)}{$CONTENT}{/if}
+
{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
+
{if !empty($cats_navbar)}
{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar}
{/if}