Changeset 31746 for extensions/BanIP/admin.tpl
- Timestamp:
- Mar 7, 2017, 12:01:47 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BanIP/admin.tpl
r31395 r31746 1 {combine_script id='common' load='footer' path='admin/themes/default/js/common.js'} 2 3 {combine_script id='jquery.dataTables' load='footer' path='themes/default/js/plugins/jquery.dataTables.js'} 4 {combine_css path="themes/default/js/plugins/datatables/css/jquery.dataTables.css"} 5 1 6 {footer_script} 2 7 jQuery(document).ready(function(){ … … 15 20 }); 16 21 22 $("#tablebanip").dataTable({ 23 pageLength: 10, 24 "pagingType": "full_numbers", 25 language: { 26 processing: "{'Loading...'|translate|escape:'javascript'}", 27 lengthMenu: sprintf("{'Show %s IP'|translate|escape:'javascript'}", '_MENU_'), 28 zeroRecords: "{'No matching IP found'|translate|escape:'javascript'}", 29 info: sprintf("{'Showing %s to %s of %s IP'|translate|escape:'javascript'}", '_START_', '_END_', '_TOTAL_'), 30 infoEmpty: "{'No matching IP found'|translate|escape:'javascript'}", 31 infoFiltered: sprintf("{'(filtered from %s total IP)'|translate|escape:'javascript'}", '_MAX_'), 32 search: '<span class="icon-search"></span>'+"{'Search'|translate|escape:'javascript'}", 33 loadingRecords: "{'Loading...'|translate|escape:'javascript'}", 34 paginate: { 35 first: "{'First'|translate|escape:'javascript'}", 36 previous: "{'Previous'|translate|escape:'javascript'}", 37 next: "{'Next'|translate|escape:'javascript'}", 38 last: "{'Last'|translate|escape:'javascript'}", 39 } 40 } 41 }); 42 17 43 }); 18 44 {/footer_script} … … 43 69 <fieldset> 44 70 <legend>{'List IP banned'|@translate}</legend> 71 <table id="tablebanip"> 72 <thead> 73 <tr> 74 <th></th> 75 </tr> 76 </thead> 77 <tbody> 45 78 {foreach from=$ipban2 item=ipban} 79 <tr> 80 <td> 46 81 <div class="lip"> 47 82 <!-- {$ipban.ID} --> {$ipban.IP} … … 51 86 </span> 52 87 </div> 88 </td> 89 </tr> 53 90 {/foreach} 91 </tbody> 54 92 </table> 55 93 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.