Changeset 6286 for extensions/blancmontxl
- Timestamp:
- May 22, 2010, 10:35:40 PM (14 years ago)
- Location:
- extensions/blancmontxl
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/blancmontxl/admin/admin.inc.php
r6262 r6286 8 8 'picture', 9 9 'other', 10 'ico', 10 11 ); 11 12 … … 16 17 $_POST['bmxl'][$option] = empty($_POST['bmxl'][$option]) ? false : true; 17 18 } 19 20 $_POST['bmxl']['ico'] = file_exists('themes/montblancxl/icon/add_tag.png') ? $_POST['bmxl']['ico'] : false ; 18 21 19 22 $query = ' -
extensions/blancmontxl/admin/admin.tpl
r6262 r6286 24 24 <input type="checkbox" name="bmxl[other]" value="true" {if $bmxl.other}checked="checked"{/if}> 25 25 </li> 26 <li> 27 <span class="property">{'Use MontBlancXL icon set'|@translate}</span> 28 <input type="checkbox" name="bmxl[ico]" value="true" {if $bmxl.ico}checked="checked"{/if}> 29 </li> 26 30 </ul> 27 31 </fieldset> -
extensions/blancmontxl/admin/maintain.inc.php
r6262 r6286 12 12 'picture' => false, 13 13 'other' => true, 14 'ico' => false, 14 15 ); 15 16 -
extensions/blancmontxl/language/en_UK/theme.lang.php
r6262 r6286 5 5 $lang['Display page banner on picture page'] = 'Display page banner on picture page'; 6 6 $lang['Display page banner on other pages'] = 'Display page banner on other pages'; 7 $lang['Use MontBlancXL icon set'] = 'Use <a href="http://piwigo.org/ext/extension_view.php?eid=133">MontBlancXL</a> icon set (theme needed)'; 7 8 8 9 ?> -
extensions/blancmontxl/language/es_ES/theme.lang.php
r6262 r6286 5 5 $lang['Display page banner on picture page'] = 'Fijar la bandera sobre la página de las fotos'; 6 6 $lang['Display page banner on other pages'] = 'Fijar la bandera sobre otras páginas'; 7 $lang['Use MontBlancXL icon set'] = 'Utilice <a href="http://piwigo.org/ext/extension_view.php?eid=133">MontBlancXL</a> iconos (tema es necesario)'; 7 8 8 9 ?> -
extensions/blancmontxl/language/fr_FR/theme.lang.php
r6262 r6286 5 5 $lang['Display page banner on picture page'] = 'Afficher la bannière sur la page des photos'; 6 6 $lang['Display page banner on other pages'] = 'Afficher la bannière sur les autres pages'; 7 $lang['Use MontBlancXL icon set'] = 'Utiliser le jeu d\'icones de <a href="http://piwigo.org/ext/extension_view.php?eid=133">MontBlancXL</a> (theme nécessaire)'; 7 8 8 9 ?> -
extensions/blancmontxl/themeconf.inc.php
r6262 r6286 2 2 /* 3 3 Theme Name: BlancMont XL 4 Version: 2.1. a4 Version: 2.1.c 5 5 Description: Night theme 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=232 … … 11 11 $themeconf = array( 12 12 'parent' => 'default', 13 'icon_dir' => 'themes/blancmontxl/icon',14 13 'local_head' => 'local_head.tpl', 15 14 ); 16 15 16 global $conf; 17 $config = unserialize($conf['BlancmontXL']); 18 $themeconf['icon_dir']=$config['ico'] ? 'themes/montblancxl/icon' : 'themes/blancmontxl/icon' ; 17 19 18 20 add_event_handler('loc_begin_page_header', 'set_bmxl_header'); … … 36 38 $header = $config['other']; 37 39 } 38 39 40 $template->assign('display_bmxl_banner', $header); 40 41 } 41 42 42 ?>
Note: See TracChangeset
for help on using the changeset viewer.