Ignore:
Timestamp:
May 22, 2010, 10:35:40 PM (14 years ago)
Author:
repie38
Message:

conf panel new option : use montblancxl icon set (option can't be set if montblancxl isn't installed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/blancmontxl/themeconf.inc.php

    r6262 r6286  
    22/*
    33Theme Name: BlancMont XL
    4 Version: 2.1.a
     4Version: 2.1.c
    55Description: Night theme
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=232
     
    1111$themeconf = array(
    1212  'parent'      => 'default',
    13   'icon_dir'    => 'themes/blancmontxl/icon',
    1413  'local_head'  => 'local_head.tpl',
    1514);
    1615
     16global $conf;
     17$config = unserialize($conf['BlancmontXL']);
     18$themeconf['icon_dir']=$config['ico'] ? 'themes/montblancxl/icon' : 'themes/blancmontxl/icon' ;
    1719
    1820add_event_handler('loc_begin_page_header', 'set_bmxl_header');
     
    3638    $header = $config['other'];
    3739  }
    38 
    3940  $template->assign('display_bmxl_banner', $header);
    4041}
    41 
    4242?>
Note: See TracChangeset for help on using the changeset viewer.