Changeset 32930
- Timestamp:
- Jan 19, 2023, 10:59:52 AM (16 months ago)
- Location:
- extensions/BanIP
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BanIP/admin.php
r32400 r32930 3 3 // | Ban IP plugin for Piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016-202 1ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2016-2023 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | … … 55 55 56 56 $template->func_combine_css(array('id'=>'dst','path'=>BANIP_PATH.'banip.css')); 57 58 59 if (pwg_db_num_rows($ipban)) { 57 if (pwg_db_num_rows($ipban)) { 60 58 while ($ipban2 = pwg_db_fetch_assoc($ipban)) { 61 59 -
extensions/BanIP/admin.tpl
r31746 r32930 76 76 </thead> 77 77 <tbody> 78 {foreach from=$ipban2 item=ipban} 79 <tr> 80 <td> 81 <div class="lip"> 82 <!-- {$ipban.ID} --> {$ipban.IP} 83 <span class="actionip" style="display: none"> 84 <a href="{$ipban.U_EDIT}"><span class="icon-pencil"></span>{'Edit'|@translate}</a> 85 | <a href="{$ipban.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><span class="icon-trash"></span>{'delete'|@translate}</a> 86 </span> 87 </div> 88 </td> 89 </tr> 90 {/foreach} 78 {if isset ($ipban2)} 79 {foreach from=$ipban2 item=ipban} 80 <tr> 81 <td> 82 <div class="lip"> 83 <!-- {$ipban.ID} --> {$ipban.IP} 84 <span class="actionip" style="display: none"> 85 <a href="{$ipban.U_EDIT}"><span class="icon-pencil"></span>{'Edit'|@translate}</a> 86 | <a href="{$ipban.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><span class="icon-trash"></span>{'delete'|@translate}</a> 87 </span> 88 </div> 89 </td> 90 </tr> 91 {/foreach} 92 {/if} 91 93 </tbody> 92 94 </table> -
extensions/BanIP/initadmin.php
r32400 r32930 3 3 // | Ban IP plugin for Piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016-202 1ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2016-2023 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
r32400 r32930 3 3 // | Ban IP plugin for Piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016-202 1ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2016-2023 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/BanIP/language/fr_FR/plugin.lang.php
r32911 r32930 3 3 // | Ban IP plugin for Piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016-202 1ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2016-2023 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/BanIP/main.inc.php
r32400 r32930 13 13 // | Ban IP plugin for Piwigo by TEMMII | 14 14 // +-----------------------------------------------------------------------+ 15 // | Copyright(C) 2016-202 1ddtddt http://temmii.com/piwigo/ |15 // | Copyright(C) 2016-2023 ddtddt http://temmii.com/piwigo/ | 16 16 // +-----------------------------------------------------------------------+ 17 17 // | This program is free software; you can redistribute it and/or modify | -
extensions/BanIP/maintain.class.php
r32400 r32930 4 4 // | Ban IP plugin for Piwigo by TEMMII | 5 5 // +-----------------------------------------------------------------------+ 6 // | Copyright(C) 2016-202 1ddtddt http://temmii.com/piwigo/ |6 // | Copyright(C) 2016-2023 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.