Ignore:
Timestamp:
Feb 8, 2011, 5:46:52 PM (13 years ago)
Author:
flop25
Message:

adding tiptip for icons
language code in smarty tag changed -> I hate that change !!
ready to be in PEM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/floOS/OS_default/themeconf.inc.php

    r9108 r9120  
    11<?php
     2/*
     3Theme Name: OS_default
     4Version: 1.0.0
     5Description:
     6Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=497
     7Author: flop25
     8Author URI: http://www.planete-flop.fr
     9*/
    210$themeconf = array(
    311  'name'         => 'OS_default',
     
    715  'local_head'    => 'local_head.tpl',
    816  'activable' => false,
     17        'add_menu_on_public_pages'                      => true,        # activation
    918        'Exclude'                       => array('theNBMPage','thePicturePage','thePopuphelpPage',),    # Excluded pages
    1019);
     
    1625        function  add_menu_on_public_pages() {
    1726          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
    1828          global $template, $page, $conf;
    1929          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.