Changeset 23399
- Timestamp:
- Jun 20, 2013, 4:35:16 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r23396 r23399 120 120 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 121 121 122 $template->set_filename('index', 'index.tpl'); 122 123 123 124 // +-----------------------------------------------------------------------+ … … 128 129 //----------------------------------------------------- template initialization 129 130 $page['body_id'] = 'theCategoryPage'; 130 131 $template->set_filename('index', 'index.tpl');132 131 133 132 if (isset($page['flat']) or isset($page['chronology_field'])) … … 336 335 } 337 336 } 338 // +-----------------------------------------------------------------------+339 // | other pages (added by plugins) |340 // +-----------------------------------------------------------------------+341 else342 {343 $template->set_filename('index', 'common_page.tpl');344 }345 337 346 338 //------------------------------------------------------------ end -
trunk/themes/default/template/index.tpl
r23384 r23399 94 94 </a>{/strip}</li> 95 95 {/if} 96 {if isset($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}{/if}96 {if !empty($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}{/if} 97 97 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} 98 98 </ul> … … 164 164 {/if} 165 165 166 {if !empty($CONTENT)}{$CONTENT}{/if} 167 166 168 {if !empty($CATEGORIES)}{$CATEGORIES}{/if} 169 167 170 {if !empty($cats_navbar)} 168 171 {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar}
Note: See TracChangeset
for help on using the changeset viewer.