Changeset 25502 for trunk/admin/themes
- Timestamp:
- Nov 16, 2013, 11:01:58 PM (11 years ago)
- Location:
- trunk/admin/themes/default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/user_list.tpl
r25492 r25502 11 11 12 12 {footer_script} 13 var selectedMessage_pattern = "{'%d of %d photos selected'|@translate}";14 var selectedMessage_none = "{'No photo selected, %d photos in current set'|@translate}";15 var selectedMessage_all = "{'All %d photos are selected'|@translate}";16 var applyOnDetails_pattern = "{'on the %d selected users'| @translate}";17 var newUser_pattern = "✔ {'User %s added'|translate }";18 var registeredOn_pattern = "{'Registered on %s, %s.'|translate }";19 var lastVisit_pattern = "{'Last visit on %s, %s.'|translate }";20 var missingConfirm = "{'You need to confirm deletion'|translate }";21 var missingUsername = "{'Please, enter a login'|translate }";13 var selectedMessage_pattern = "{'%d of %d users selected'|translate|escape:javascript}"; 14 var selectedMessage_none = "{'No user selected of %d users'|translate|escape:javascript}"; 15 var selectedMessage_all = "{'All %d users are selected'|translate|escape:javascript}"; 16 var applyOnDetails_pattern = "{'on the %d selected users'|translate|escape:javascript}"; 17 var newUser_pattern = "✔ {'User %s added'|translate|escape:javascript}"; 18 var registeredOn_pattern = "{'Registered on %s, %s.'|translate|escape:javascript}"; 19 var lastVisit_pattern = "{'Last visit on %s, %s.'|translate|escape:javascript}"; 20 var missingConfirm = "{'You need to confirm deletion'|translate|escape:javascript}"; 21 var missingUsername = "{'Please, enter a login'|translate|escape:javascript}"; 22 22 23 23 var allUsers = [{$all_users}]; … … 145 145 var userDetails = '<form>'; 146 146 userDetails += '<div class="userActions">'; 147 userDetails += '<span class="changePasswordDone infos" style="display:none">✔ Password updated</span>';148 userDetails += '<span class="changePassword" style="display:none">{/literal}{'New password'|translate}{literal} <input type="text"> <a href="#" class="buttonLike updatePassword"><img src="themes/default/images/ajax-loader-small.gif" style="margin-bottom:-1px;margin-left:1px;display:none;"><span class="text">{/literal}{'Submit'|translate }{literal}</span></a> <a href="#" class="cancel">Cancel</a></span>';149 userDetails += '<a class="icon-key changePasswordOpen" href="#"> Change password</a>';150 userDetails += '<br><a target="_blank" href="admin.php?page=user_perm&user_id='+userId+'" class="icon-lock"> Permissions</a>';151 userDetails += '<br><span class="userDelete"><img class="loading" src="themes/default/images/ajax-loader-small.gif" style="display:none;"><a href="#" class="icon-trash" data-user_id="'+userId+'"> Delete</a></span>';147 userDetails += '<span class="changePasswordDone infos" style="display:none">✔ {/literal}{'Password updated'|translate|escape:javascript}{literal}</span>'; 148 userDetails += '<span class="changePassword" style="display:none">{/literal}{'New password'|translate}{literal} <input type="text"> <a href="#" class="buttonLike updatePassword"><img src="themes/default/images/ajax-loader-small.gif" style="margin-bottom:-1px;margin-left:1px;display:none;"><span class="text">{/literal}{'Submit'|translate|escape:javascript}{literal}</span></a> <a href="#" class="cancel">{/literal}{'Cancel'|translate|escape:javascript}{literal}</a></span>'; 149 userDetails += '<a class="icon-key changePasswordOpen" href="#">{/literal}{'Change password'|translate|escape:javascript}{literal}</a>'; 150 userDetails += '<br><a target="_blank" href="admin.php?page=user_perm&user_id='+userId+'" class="icon-lock">{/literal}{'Permissions'|translate|escape:javascript}{literal}</a>'; 151 userDetails += '<br><span class="userDelete"><img class="loading" src="themes/default/images/ajax-loader-small.gif" style="display:none;"><a href="#" class="icon-trash" data-user_id="'+userId+'">{/literal}{'Delete'|translate|escape:javascript}{literal}</a></span>'; 152 152 userDetails += '</div>'; 153 153 154 userDetails += '<span class="changeUsernameOpen"><strong class="username">'+user.username+'</strong> <a href="#" class="icon-pencil"> Change username</a></span>';154 userDetails += '<span class="changeUsernameOpen"><strong class="username">'+user.username+'</strong> <a href="#" class="icon-pencil">{/literal}{'Change username'|translate|escape:javascript}{literal}</a></span>'; 155 155 userDetails += '<span class="changeUsername" style="display:none">'; 156 userDetails += '<input type="text"> <a href="#" class="buttonLike updateUsername"><img src="themes/default/images/ajax-loader-small.gif" style="margin-bottom:-1px;margin-left:1px;display:none;"><span class="text">{/literal}{'Submit'|translate}{literal}</span></a> <a href="#" class="cancel"> Cancel</a>';156 userDetails += '<input type="text"> <a href="#" class="buttonLike updateUsername"><img src="themes/default/images/ajax-loader-small.gif" style="margin-bottom:-1px;margin-left:1px;display:none;"><span class="text">{/literal}{'Submit'|translate}{literal}</span></a> <a href="#" class="cancel">{/literal}{'Cancel'|translate|escape:javascript}{literal}</a>'; 157 157 userDetails += '</span>'; 158 158 … … 222 222 userDetails += '</div>'; 223 223 224 userDetails += '<div class="userProperty"><strong>{/literal}{' Theme'|translate}{literal}</strong>';224 userDetails += '<div class="userProperty"><strong>{/literal}{'Interface theme'|translate|escape:javascript}{literal}</strong>'; 225 225 userDetails += '<br><select name="theme">'; 226 226 jQuery("#action select[name=theme] option").each(function() { … … 272 272 userDetails += '<div style="clear:both"></div></div>'; 273 273 274 userDetails += '<span class="infos propertiesUpdateDone" style="display:none">✔ User '+user.username+' updated</span>'; 275 userDetails += '<input type="submit" value="{/literal}{'Update user'|translate}{literal}" style="display:none;" data-user_id="'+userId+'">'; 274 userDetails += '<span class="infos propertiesUpdateDone" style="display:none">✔ '; 275 userDetails += sprintf("{/literal}{'User %s updated'|translate|escape:javascript}{literal}", user.username); 276 userDetails += '</span>'; 277 userDetails += '<input type="submit" value="{/literal}{'Update user'|translate|escape:javascript}{literal}" style="display:none;" data-user_id="'+userId+'">'; 276 278 userDetails += '<img class="submitWait" src="themes/default/images/ajax-loader-small.gif" style="display:none">' 277 279 userDetails += '</form>'; … … 554 556 "sAjaxSource": "admin/user_list_backend.php", 555 557 "oLanguage": { 556 "sProcessing": "Traitement en cours...", 557 "sLengthMenu": "Afficher _MENU_ éléments", 558 "sZeroRecords": "Aucun élément à afficher", 559 "sInfo": "Affichage des élements _START_ à _END_ sur _TOTAL_", 560 "sInfoEmpty": "Affichage de l'élement 0 à 0 sur 0 éléments", 561 "sInfoFiltered": "<br>(filtré de _MAX_ éléments au total{/literal}{if $is_a_guest} <span class='limitedVersionWarning'>dans la version complète</span>{/if}{literal})", 562 "sInfoPostFix": "", 563 "sSearch": "Rechercher", 564 "sLoadingRecords": "Téléchargement...", 565 "sUrl": "", 558 "sProcessing": "{/literal}{'Loading...'|translate|escape:'javascript'}{literal}", 559 "sLengthMenu": sprintf("{/literal}{'Show %s users'|translate|escape:'javascript'}{literal}", '_MENU_'), 560 "sZeroRecords": "{/literal}{'No matching users found'|translate|escape:'javascript'}{literal}", 561 "sInfo": sprintf("{/literal}{'Showing %s to %s of %s users'|translate|escape:'javascript'}{literal}", '_START_', '_END_', '_TOTAL_'), 562 "sInfoEmpty": "{/literal}{'No matching users found'|translate|escape:'javascript'}{literal}", 563 "sInfoFiltered": sprintf("{/literal}{'(filtered from %s total users)'|translate|escape:'javascript'}{literal}", '_MAX_'), 564 "sSearch": '<span class="icon-search"></span>'+"{/literal}{'Search'|translate|escape:'javascript'}{literal}", 565 "sLoadingRecords": "{/literal}{'Loading...'|translate|escape:'javascript'}{literal}", 566 566 "oPaginate": { 567 "sFirst": " Premier",568 "sPrevious": "← Précédent",569 "sNext": " Suivant →",570 "sLast": " Dernier"567 "sFirst": "{/literal}{'First'|translate|escape:'javascript'}{literal}", 568 "sPrevious": '← '+"{/literal}{'Previous'|translate|escape:'javascript'}{literal}", 569 "sNext": "{/literal}{'Next'|translate|escape:'javascript'}{literal}"+' →', 570 "sLast": "{/literal}{'Last'|translate|escape:'javascript'}{literal}", 571 571 } 572 572 }, … … 993 993 <input id="applyAction" class="submit" type="submit" value="{'Apply action'|@translate}" name="submit"> <span id="applyOnDetails"></span> 994 994 <span id="applyActionLoading" style="display:none"><img src="themes/default/images/ajax-loader-small.gif"></span> 995 <span class="infos" style="display:none">✔ Users modified</span>995 <span class="infos" style="display:none">✔ {'Users modified'|translate}</span> 996 996 </p> 997 997 -
trunk/admin/themes/default/theme.css
r25479 r25502 1152 1152 .userPropertiesSetTitle {font-weight:bold;margin-bottom:1em;} 1153 1153 .userPrefs {border-left:1px solid #ddd;padding-left:10px;} 1154 .userProperty {width: 220px;float:left;margin-bottom:15px;}1154 .userProperty {width:340px;float:left;margin-bottom:15px;} 1155 1155 .userActions {float:right;text-align:right;} 1156 1156
Note: See TracChangeset
for help on using the changeset viewer.