Changeset 11588
- Timestamp:
- Jul 1, 2011, 3:38:43 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/configuration.tpl
r11587 r11588 97 97 </li> 98 98 99 <li >99 <li style="margin-top:20px;"> 100 100 101 101 <span class="property"> … … 103 103 104 104 {foreach from=$main.order_by item=order} 105 <span class="filter {if $ORDER_BY_IS_CUSTOM}transparent{/if}"> 106 <a class="removeFilter" title="{'remove this filter'|@translate}"><span>[x]</span></a> 105 <span class="filter {if $ORDER_BY_IS_CUSTOM}transparent{/if}"> 107 106 <select name="order_by_field[]" {if $ORDER_BY_IS_CUSTOM}disabled{/if}> 108 107 {html_options options=$main.order_field_options selected=$order.FIELD } … … 111 110 {html_options options=$main.order_direction_options selected=$order.DIRECTION } 112 111 </select> 112 <a class="removeFilter">{'delete'|@translate}</a> 113 113 </span> 114 114 {/foreach} 115 115 116 116 {if !$ORDER_BY_IS_CUSTOM} 117 <a class="addFilter" title="{'Add a filter'|@translate}"><span>[+]</span></a>117 <a class="addFilter">{'Add a criteria'|@translate}</a> 118 118 {else} 119 119 <span class="order_by_is_custom">{'You can\'t define a default photo order because you have a custom setting in your local configuration.'|@translate}</span> -
trunk/admin/themes/default/theme.css
r11587 r11588 1050 1050 div.token-input-dropdown ul li.token-input-selected-dropdown-item {background-color: #3b5998;color: #fff;} 1051 1051 1052 #mainConfCheck a.addFilter {background: url(icon/plus.gif) no-repeat 0 4px;width:19px;height:19px;display:inline-block;} 1053 #mainConfCheck a.addFilter:hover {background-position:0 5px;border:none;} 1054 #mainConfCheck a.addFilter span {display:none;} 1055 #mainConfCheck a.removeFilter {background: url(icon/remove_filter.png) no-repeat top left;width:7px;height:7px;display:inline-block;} 1056 #mainConfCheck a.removeFilter:hover {background: url(icon/remove_filter_hover.png);border:none;} 1057 #mainConfCheck a.removeFilter span {display:none;} 1052 #mainConfCheck a.addFilter {font-weight:normal;margin-left:20px;} 1053 #mainConfCheck a.removeFilter {font-weight:normal;} 1058 1054 #mainConfCheck span.property span.filter:first-child a.removeFilter {display:none;} /* can't delete the first field */ 1059 #mainConfCheck span.filter { margin-right:10px;}1055 #mainConfCheck span.filter {display:block;margin-left:20px;} 1060 1056 #mainConfCheck .transparent {opacity:0.5;filter:alpha(opacity=50);} 1061 #mainConfCheck .order_by_is_custom {display:block;font-weight:normal;font-style:italic; }1057 #mainConfCheck .order_by_is_custom {display:block;font-weight:normal;font-style:italic;margin-left:20px;} -
trunk/language/en_UK/admin.lang.php
r11587 r11588 103 103 $lang['Active Plugins'] = 'Active Plugins'; 104 104 $lang['Active Themes'] = 'Active Themes'; 105 $lang['Add a criteria'] = 'Add a criteria'; 105 106 $lang['Add a filter'] = 'Add a filter'; 106 107 $lang['Add a tag'] = "Add a tag"; -
trunk/language/en_UK/help/configuration.html
r11279 r11588 35 35 <li><strong>Email admins when a new user registers</strong>: administrators will be notified by mail for each registration.</li> 36 36 37 <li><strong>Default photos order</strong>: You can define a personalized order by selecting «Personalized» in the drop-down menu. This field must respect the SQL syntax, example: <i>date_available DESC, file ASC, id ASC</i><br> 38 Available fields: 39 <ul style="font-size:0.85em;"> 40 <li><b>date_available</b>: date of the adding to the gallery</li> 41 <li><b>file</b>: name of the file</li> 42 <li><b>id</b>: identifier</li> 43 <li><b>date_creation</b>: date of element creation</li> 44 <li><b>name</b>: name of the picture</li> 45 <li><b>hit</b>: number of visits</li> 46 <li><b>average_rate</b>: average rate on the picture</li> 47 </ul> 48 Don't forgot to specify the order for each field with these keywords : <i>ASC</i> and <i>DESC</i> 49 </li> 37 <li><strong>Default photos order</strong>: you can define a personalized order with these drop-down menus.</li> 50 38 51 39 </ul> -
trunk/language/fr_FR/admin.lang.php
r11587 r11588 852 852 $lang['You can\'t define a default photo order because you have a custom setting in your local configuration.'] = 'Vous ne pouvez définir l\'ordre par défaut des photos car vous avez un paramètre personnalisé dans votre configuration locale.'; 853 853 $lang['You have specified <i>$conf[\'order_by\']</i> in your local configuration file, this parameter in deprecated, please remove it or rename it into <i>$conf[\'order_by_custom\']</i> !'] = 'Vous avez spécifié <i>$conf[\'order_by\']</i> dans votre fichier de configuration, ce paramètre est obsolète, veuillez le supprimer ou le renommer en <i>$conf[\'order_by_custom\']</i> !'; 854 $lang['Add a criteria'] = 'Ajouter un critère'; 854 855 855 856 ?> -
trunk/language/fr_FR/help/configuration.html
r11279 r11588 35 35 <li><strong>Notifier les administrateurs lors de l'inscription d'un utilisateur</strong>: Les administrateurs recevront un courriel à chaque inscription.</li> 36 36 37 <li><strong>Ordre par défaut des photos</strong>: Vous pouvez définir un ordre personnalisé et selectionant «Personnalisé» dans la liste déroulante. Ce champ doit respecter la syntaxe SQL, exemple: <i>date_available DESC, file ASC, id ASC</i><br> 38 Liste des champs utilisables : 39 <ul style="font-size:0.85em;"> 40 <li><b>date_available</b>: date d'ajout à la galerie</li> 41 <li><b>file</b>: nom du fichier</li> 42 <li><b>id</b>: identifiant</li> 43 <li><b>date_creation</b>: date de création</li> 44 <li><b>name</b>: nom de l'image</li> 45 <li><b>hit</b>: nombre de visites</li> 46 <li><b>average_rate</b>: note globale</li> 47 </ul> 48 N'oubliez pas pour chaque champ de spécifier l'ordre avec les mots clefs <i>ASC</i> et <i>DESC</i> 49 </li> 37 <li><strong>Ordre par défaut des photos</strong>: vous pouvez définir un ordre personnalisé grace à ces menus déroulants.</li> 50 38 51 39 </ul>
Note: See TracChangeset
for help on using the changeset viewer.