Changeset 28453 for extensions/modus
- Timestamp:
- May 13, 2014, 1:27:34 PM (11 years ago)
- Location:
- extensions/modus
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/modus/admin/admin.inc.php
r28443 r28453 6 6 include_once( dirname(dirname(__FILE__)).'/functions.inc.php'); 7 7 $default_conf = modus_get_default_config(); 8 9 load_language('theme.lang', dirname(__FILE__).'/../'); 8 10 9 11 $my_conf = @$conf['modus_theme']; … … 58 60 } 59 61 60 $available_derivatives = array( ''=> 'Default');62 $available_derivatives = array(); 61 63 foreach(array_keys(ImageStdParams::get_defined_type_map()) as $type) 62 64 $available_derivatives[$type] = l10n($type); -
extensions/modus/admin/modus_admin.tpl
r28443 r28453 51 51 {/footer_script} 52 52 53 <h2> Modus theme config</h2>53 <h2>{'Modus theme config'|translate}</h2> 54 54 55 55 <form method="post" action="" id="modus-config"> 56 56 57 57 58 <fieldset><legend> Skin</legend>58 <fieldset><legend>{'Skin'|translate}</legend> 59 59 <select name="skin"> 60 60 {html_options options=$available_skins selected=$SKIN} … … 62 62 </fieldset> 63 63 64 <fieldset><legend> Album thumbs size</legend>64 <fieldset><legend>{'Album thumbnails'|translate}</legend> 65 65 <label> 66 66 <span class="graphicalCheckbox icon-check{if not $use_album_square_thumbs}-empty{/if}"></span> … … 77 77 </fieldset> 78 78 79 <fieldset><legend> Default photo sizes</legend>79 <fieldset><legend>{'Default sizes'|translate}</legend> 80 80 81 <label> Index Photos :81 <label>{'Default size for thumbnails'|translate} 82 82 <select name="index_photo_deriv"> 83 83 {html_options options=$available_derivatives selected=$INDEX_PHOTO_DERIV} … … 85 85 </label> 86 86 <br> 87 <label> Index Photos large high density screens :87 <label>{'Default size for thumbnails on high density display (retina)'|translate} 88 88 <select name="index_photo_deriv_hdpi"> 89 89 {html_options options=$available_derivatives selected=$INDEX_PHOTO_DERIV_HDPI} … … 92 92 </fieldset> 93 93 94 {* 94 95 <fieldset><legend>Full row thumbnail layout</legend> 95 96 Automatically applied for selected derivatives if max_width > max_height*1.5 96 97 97 </fieldset> 98 *} 98 99 99 100 <p class="formButtons"> -
extensions/modus/functions.inc.php
r28443 r28453 19 19 'skin' => 'dark', 20 20 'album_thumb_size' => 250, 21 'index_photo_deriv'=>' ',22 'index_photo_deriv_hdpi'=>' ',21 'index_photo_deriv'=>'2small', 22 'index_photo_deriv_hdpi'=>'xsmall', 23 23 ); 24 24 } -
extensions/modus/language/en_UK/theme.lang.php
r25794 r28453 6 6 $lang['%d albums'] = '%d albums'; 7 7 8 $lang['Modus theme config'] = 'Modus theme config'; 9 $lang['Skin'] = 'Skin'; 10 $lang['Album thumbnails'] = 'Album thumbnails'; 11 $lang['Use square thumbs'] = 'Use square thumbs'; 12 $lang['%d pixels'] = '%d pixels'; 13 $lang['Default sizes'] = 'Default sizes'; 14 $lang['Default size for thumbnails'] = 'Default size for thumbnails'; 15 $lang['Default size for thumbnails on high density display (retina)'] = 'Default size for thumbnails on high density display (retina)'; 8 16 ?> -
extensions/modus/language/fr_FR/theme.lang.php
r25794 r28453 6 6 $lang['%d albums'] = '%d albums'; 7 7 8 $lang['Modus theme config'] = 'Configuration du thème Modus'; 9 $lang['Skin'] = 'Style'; 10 $lang['Album thumbnails'] = 'Miniatures d\'album'; 11 $lang['Use square thumbs'] = 'Utiliser des miniatures carrées'; 12 $lang['%d pixels'] = '%d pixels'; 13 $lang['Default sizes'] = 'Tailles par défaut'; 14 $lang['Default size for thumbnails'] = 'Taille par défaut pour les miniatures'; 15 $lang['Default size for thumbnails on high density display (retina)'] = 'Taille par défaut pour les miniatures sur écran haute densité (retina)'; 8 16 ?>
Note: See TracChangeset
for help on using the changeset viewer.