Changeset 6366 for extensions/blancmontxl
- Timestamp:
- May 26, 2010, 4:14:57 AM (15 years ago)
- Location:
- extensions/blancmontxl
- Files:
-
- 136 added
- 67 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/blancmontxl/admin/admin.inc.php
r6286 r6366 8 8 'picture', 9 9 'other', 10 'ico ',10 'icon_dir', 11 11 ); 12 12 … … 17 17 $_POST['bmxl'][$option] = empty($_POST['bmxl'][$option]) ? false : true; 18 18 } 19 20 $_POST['bmxl']['ico '] = file_exists('themes/montblancxl/icon/add_tag.png') ? $_POST['bmxl']['ico'] : false;19 20 $_POST['bmxl']['icon_dir'] = $_POST['bmxl']['icon_dir'] ? 'montblancxl' : 'blancmontxl' ; 21 21 22 22 $query = ' -
extensions/blancmontxl/admin/admin.tpl
r6286 r6366 26 26 <li> 27 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}>28 <input type="checkbox" name="bmxl[icon_dir]" value="true" {if $bmxl.icon_dir=='montblancxl'}checked="checked"{/if}> 29 29 </li> 30 30 </ul> -
extensions/blancmontxl/admin/maintain.inc.php
r6286 r6366 12 12 'picture' => false, 13 13 'other' => true, 14 'ico ' => false,14 'icon_dir' => 'blancmontxl', 15 15 ); 16 16 -
extensions/blancmontxl/language/en_UK/theme.lang.php
r6286 r6366 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 n eeded)';7 $lang['Use MontBlancXL icon set'] = 'Use <a href="http://piwigo.org/ext/extension_view.php?eid=133">MontBlancXL</a> icon set (theme not necessary)'; 8 8 9 9 ?> -
extensions/blancmontxl/language/es_ES/theme.lang.php
r6286 r6366 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 esnecesario)';7 $lang['Use MontBlancXL icon set'] = 'Utilice <a href="http://piwigo.org/ext/extension_view.php?eid=133">MontBlancXL</a> iconos (tema no necesario)'; 8 8 9 9 ?> -
extensions/blancmontxl/language/fr_FR/theme.lang.php
r6286 r6366 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 $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 non nécessaire)'; 8 8 9 9 ?> -
extensions/blancmontxl/themeconf.inc.php
r6286 r6366 9 9 */ 10 10 11 global $config; 12 $config = unserialize($conf['BlancmontXL']);//echo '<pre>'; print_r($config); echo '</pre>'; 13 11 14 $themeconf = array( 12 15 'parent' => 'default', 13 16 'local_head' => 'local_head.tpl', 17 'icon_dir' => 'themes/blancmontxl/icon/'. $config['icon_dir'] 14 18 ); 15 16 global $conf;17 $config = unserialize($conf['BlancmontXL']);18 $themeconf['icon_dir']=$config['ico'] ? 'themes/montblancxl/icon' : 'themes/blancmontxl/icon' ;19 19 20 20 add_event_handler('loc_begin_page_header', 'set_bmxl_header'); … … 22 22 function set_bmxl_header() 23 23 { 24 global $page, $conf, $template; 25 26 $config = unserialize($conf['BlancmontXL']); 24 global $page, $config, $template; 27 25 28 26 if (isset($page['body_id']) and $page['body_id'] == 'theCategoryPage')
Note: See TracChangeset
for help on using the changeset viewer.