Changeset 30377 for extensions
- Timestamp:
- Nov 6, 2014, 1:43:23 PM (10 years ago)
- Location:
- extensions/modus
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/modus/admin/admin.inc.php
r28453 r30377 19 19 20 20 $text_values = array('skin', 'album_thumb_size', 'index_photo_deriv','index_photo_deriv_hdpi'); 21 $bool_values = array( );21 $bool_values = array('display_page_banner'); 22 22 23 23 // *************** POST management ******************** … … 45 45 46 46 // *************** template init ******************** 47 48 47 49 48 foreach ($text_values as $k ) -
extensions/modus/admin/modus_admin.tpl
r28453 r30377 92 92 </fieldset> 93 93 94 <fieldset><legend>{'Page banner'|translate}</legend> 95 <label> 96 <span class="graphicalCheckbox icon-check{if not $DISPLAY_PAGE_BANNER}-empty{/if}"></span> 97 <input type="checkbox" name="display_page_banner"{if $DISPLAY_PAGE_BANNER} checked="checked"{/if}> 98 <b>{'Display page banner'|translate}</b> 99 </label> 100 </fieldset> 101 102 94 103 {* 95 104 <fieldset><legend>Full row thumbnail layout</legend> -
extensions/modus/functions.inc.php
r30053 r30377 21 21 'index_photo_deriv'=>'2small', 22 22 'index_photo_deriv_hdpi'=>'xsmall', 23 'display_page_banner' => false, 23 24 ); 24 25 } -
extensions/modus/language/en_UK/theme.lang.php
r28453 r30377 14 14 $lang['Default size for thumbnails'] = 'Default size for thumbnails'; 15 15 $lang['Default size for thumbnails on high density display (retina)'] = 'Default size for thumbnails on high density display (retina)'; 16 $lang['Display page banner'] = 'Display page banner'; 16 17 ?> -
extensions/modus/language/fr_FR/theme.lang.php
r28453 r30377 14 14 $lang['Default size for thumbnails'] = 'Taille par défaut pour les miniatures'; 15 15 $lang['Default size for thumbnails on high density display (retina)'] = 'Taille par défaut pour les miniatures sur écran haute densité (retina)'; 16 $lang['Display page banner'] = 'Afficher la bannière des pages'; 16 17 ?> -
extensions/modus/template/header.tpl
r29569 r30377 41 41 </div> 42 42 {/if} 43 {if !empty($PAGE_BANNER) }<div id="theHeader">{$PAGE_BANNER}</div>{/if}43 {if !empty($PAGE_BANNER) && $MODUS_DISPLAY_PAGE_BANNER}<div id="theHeader">{$PAGE_BANNER}</div>{/if} -
extensions/modus/themeconf.inc.php
r30248 r30377 31 31 $conf['index_posted_date_icon'], 32 32 )))); 33 34 $this->assign('MODUS_DISPLAY_PAGE_BANNER', @$conf['modus_theme']['display_page_banner']); 33 35 34 36 if (isset($_COOKIE['caps']))
Note: See TracChangeset
for help on using the changeset viewer.