From bfe023c601928bbbbc098f585777ef42c1f557cb Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Fri, 5 Jun 2009 09:51:22 +0000 Subject: [PATCH] [ban] confirm deletion of blocked address git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@524 c66351dc-e62f-0410-b875-e3a5c0b9693f --- src/messenger/webim/locales/en/properties | 1 + src/messenger/webim/view/blocked_visitors.php | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/messenger/webim/locales/en/properties b/src/messenger/webim/locales/en/properties index 8ea65293..84688c9b 100644 --- a/src/messenger/webim/locales/en/properties +++ b/src/messenger/webim/locales/en/properties @@ -301,6 +301,7 @@ page_ban.sent=Address {0} is blocked for specified number of days. page_ban.thread=You opened this window for "{0}" thread, Address field is already filled. Select number of days and click Send. page_ban.title=Block address page_bans.add=Add address +page_bans.confirm=Are you sure that you want to delete address {0} from the blocked list? page_bans.list=List of banned IPs: page_bans.title=Ban List page_bans.to=Till diff --git a/src/messenger/webim/view/blocked_visitors.php b/src/messenger/webim/view/blocked_visitors.php index 269665fb..37cd2e33 100644 --- a/src/messenger/webim/view/blocked_visitors.php +++ b/src/messenger/webim/view/blocked_visitors.php @@ -16,6 +16,12 @@ require_once("inc_menu.php"); $page['title'] = getlocal("page_bans.title"); $page['menuid'] = "blocked"; +function tpl_header() { global $page, $webimroot; +?> + + @@ -52,7 +58,7 @@ if( $page['pagination.items'] ) { foreach( $page['pagination.items'] as $b ) { ?> - + @@ -69,7 +75,7 @@ if( $page['pagination.items'] ) { ?> - + remove @@ -95,6 +101,12 @@ if( $page['pagination.items'] ) { } } ?> +