Changeset 31746
- Timestamp:
- Mar 7, 2017, 12:01:47 PM (7 years ago)
- Location:
- extensions/BanIP
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BanIP/admin.php
r31419 r31746 3 3 // | Ban IP plugin for piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |5 // | Copyright(C) 2016-2017 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
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> -
extensions/BanIP/initadmin.php
r31434 r31746 3 3 // | Ban IP plugin for piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |5 // | Copyright(C) 2016-2017 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/BanIP/language/en_UK/plugin.lang.php
r31419 r31746 3 3 // | Ban IP plugin for piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |5 // | Copyright(C) 2016-2017 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | … … 38 38 $lang['Edit IP banned'] = 'Edit IP banned'; 39 39 $lang['Update'] = 'Update'; 40 $lang['Show %s IP'] = 'Show %s IP'; 41 $lang['No matching IP found'] = 'No matching IP found'; 42 $lang['Showing %s to %s of %s IP'] = 'Showing %s to %s of %s IP'; 43 $lang['(filtered from %s total IP)'] = '(filtered from %s total IP)'; 44 -
extensions/BanIP/language/fr_FR/plugin.lang.php
r31419 r31746 3 3 // | Ban IP plugin for piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |5 // | Copyright(C) 2016-2017 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | … … 38 38 $lang['Edit IP banned'] = 'Editer l\'IP bannie'; 39 39 $lang['Update'] = 'Mettre à jour'; 40 $lang['Show %s IP'] = 'Afficher %s IP'; 41 $lang['No matching IP found'] = 'Aucune IP à afficher'; 42 $lang['Showing %s to %s of %s IP'] = 'Afficher %s à %s sur %s IP'; 43 $lang['(filtered from %s total IP)'] = '(filtrée de %s IP au total)'; 40 44 -
extensions/BanIP/main.inc.php
r31408 r31746 12 12 // | Ban IP plugin for piwigo | 13 13 // +-----------------------------------------------------------------------+ 14 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |14 // | Copyright(C) 2016-2017 ddtddt http://temmii.com/piwigo/ | 15 15 // +-----------------------------------------------------------------------+ 16 16 // | This program is free software; you can redistribute it and/or modify | -
extensions/BanIP/maintain.class.php
r31408 r31746 4 4 // | Ban IP plugin for piwigo | 5 5 // +-----------------------------------------------------------------------+ 6 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |6 // | Copyright(C) 2016-2017 ddtddt http://temmii.com/piwigo/ | 7 7 // +-----------------------------------------------------------------------+ 8 8 // | This program is free software; you can redistribute it and/or modify |
Note: See TracChangeset
for help on using the changeset viewer.