Changeset 9120 for extensions/floOS/OS_default/themeconf.inc.php
- Timestamp:
- Feb 8, 2011, 5:46:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOS/OS_default/themeconf.inc.php
r9108 r9120 1 1 <?php 2 /* 3 Theme Name: OS_default 4 Version: 1.0.0 5 Description: 6 Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=497 7 Author: flop25 8 Author URI: http://www.planete-flop.fr 9 */ 2 10 $themeconf = array( 3 11 'name' => 'OS_default', … … 7 15 'local_head' => 'local_head.tpl', 8 16 'activable' => false, 17 'add_menu_on_public_pages' => true, # activation 9 18 'Exclude' => array('theNBMPage','thePicturePage','thePopuphelpPage',), # Excluded pages 10 19 ); … … 16 25 function add_menu_on_public_pages() { 17 26 if ( function_exists( 'initialize_menu') ) return false; # The current page has already the menu 27 if ( !get_themeconf('add_menu_on_public_pages') ) return false; # The current page has already the menu 18 28 global $template, $page, $conf; 19 29 if ( isset($page['body_id']) and in_array($page['body_id'], get_themeconf('Exclude')) ) return false;
Note: See TracChangeset
for help on using the changeset viewer.