@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb008 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
v-mt
/
tmpl
/
cms
/
Path :
Upload File :
New :
File
Dir
//homepage/v-mt/tmpl/cms/list_banlist.tmpl
<Mt:setvar name="page_title" value="<__trans phrase="IP Banning Settings">"> <mt:setvar name="ip_info" value="1"> <MTSetVarBlock name="html_head" append="1"> <script type="text/javascript"> <!-- function setCreateMode () { getByID('create-ip').style.display = 'none'; getByID('create-inline-ipban').style.display = 'block'; getByID('actions-bar-top').style.display = 'none'; getByID('ip-address').value = ''; getByID('ip-address').focus(); } function cancelCreateMode () { getByID('create-ip').style.display = 'block'; getByID('create-inline-ipban').style.display = 'none'; getByID('actions-bar-top').style.display = 'block'; } var tableSelect; function init() { // setup tableSelect = new TC.TableSelect( "banlist-listing-table" ); tableSelect.rowSelect = true; } TC.attachLoadEvent( init ); // --> </script> </MTSetVarBlock> <MTSetVarBlock name="content_nav"> <mt:include name="include/cfg_content_nav.tmpl"> </MTSetVarBlock> <mt:setvarblock name="action_buttons"> <a href="javascript:void(0)" onclick="doRemoveItems(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="IP address" escape="js">', '<__trans phrase="IP addresses" escape="js">')" type="button" value="<__trans phrase="Delete">" accesskey="x" title="<__trans phrase="Delete selected IP Address (x)">" ><__trans phrase="Delete"></a> </mt:setvarblock> <mt:setvarblock name="system_msg"> <mt:if name="error"> <mtapp:statusmsg id="generic-error" class="error"> <mt:var name="error"> </mtapp:statusmsg> </mt:if> <mt:if name="saved"> <mtapp:statusmsg id="saved" class="success"> <__trans phrase="You have added [_1] to your list of banned IP addresses." params="<mt:var name="saved" escape="html">"> </mtapp:statusmsg> </mt:if> <mt:if name="saved_deleted"> <mtapp:statusmsg id="saved-deleted" class="success"> <__trans phrase="You have successfully deleted the selected IP addresses from the list."> </mtapp:statusmsg> </mt:if> </mt:setvarblock> <mt:setvarblock name="content_header"> <mt:if name="show_ip_info"> <ul id="create-ip" class="action-link-list"> <li><a href="javascript:void(0)" onclick="setCreateMode()" class="icon-left icon-create"><__trans phrase="Ban IP Address"></a></li> </ul> </mt:if> </mt:setvarblock> <mt:include name="include/header.tmpl"> <mtapp:listing id="banlist-listing" hide_pager="1"> <mt:if name="__first__"> <thead> <tr> <th class="cb"><input type="checkbox" value="all" class="select" /></th> <th id="bt-ip"><__trans phrase="IP Address"></th> <th id="bt-date"><__trans phrase="Date Banned"></th> </tr> </thead> <tbody> </mt:if> <tr class="<mt:if name="__odd__">odd<mt:else>even</mt:if>"> <td class="cb"><input type="checkbox" name="id" class="select" value="<mt:var name="id">" /></td> <td><mt:var name="ip"></td> <td><mt:var name="created_on_formatted"></td> </tr> <mt:if name="__last__"> </tbody> </mt:if> </mtapp:listing> <div id="create-inline-ipban" class="create-inline"> <form id="create-inline-ipban-form" method="post" action="<mt:var name="script_url">"> <input type="hidden" name="blog_id" value="<mt:var name="blog_id">" /> <input type="hidden" name="__mode" value="save" /> <input type="hidden" name="_type" value="banlist" /> <input type="hidden" name="return_args" value="<mt:var name="return_args" escape="html">" /> <input type="hidden" name="magic_token" value="<mt:var name="magic_token">" /> <mtapp:setting id="ip-address" label="<__trans phrase="IP Address">" label_class="inline" hint="" show_hint="0"> <input name="ip" id="ip-address" value="<mt:var name="ip">" maxlength="15" /> </mtapp:setting> <mtapp:setting id="actions" label="<__trans phrase="Actions">" label_class="inline field-no-header" hint="" show_hint="0"> <span class="buttons"> <a href="javascript:void(0)" mt:command="submit" ><__trans phrase="Save"></a> <a href="javascript:void(0)" onclick="cancelCreateMode(); return false" ><__trans phrase="Cancel"></a> </span> </mtapp:setting> </form> </div> <mt:include name="include/footer.tmpl">