From 2ee2701eb1740d6f908e1ba905c8f7ab78ded061 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sat, 6 May 2006 15:15:40 +0000 Subject: - introduce LA_, UA_ and A_ template variables (they allow styles to use template variables used for javascript in subSilver outside javascript in their own template while they won't break our javascript if they contain quotes) also fixes [Bug #1116] - corrected page title for search indexing progress bar [Bug #1695] - correct poster name for the anonymous user in mcp_queue and mcp_reports git-svn-id: file:///svn/phpbb/trunk@5888 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_ban.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/acp/acp_ban.php') diff --git a/phpBB/includes/acp/acp_ban.php b/phpBB/includes/acp/acp_ban.php index e101d8514d..44049e4106 100644 --- a/phpBB/includes/acp/acp_ban.php +++ b/phpBB/includes/acp/acp_ban.php @@ -173,7 +173,8 @@ class acp_ban { $template->assign_block_vars('ban_length', array( 'BAN_ID' => $ban_id, - 'LENGTH' => $length) + 'LENGTH' => $length, + 'A_LENGTH' => addslashes($length)) ); } } @@ -184,7 +185,8 @@ class acp_ban { $template->assign_block_vars('ban_reason', array( 'BAN_ID' => $ban_id, - 'REASON' => addslashes(html_entity_decode($reason))) + 'REASON' => $reason, + 'A_REASON' => addslashes(html_entity_decode($reason))) ); } } @@ -195,7 +197,8 @@ class acp_ban { $template->assign_block_vars('ban_give_reason', array( 'BAN_ID' => $ban_id, - 'REASON' => addslashes(html_entity_decode($reason))) + 'REASON' => $reason, + 'A_REASON' => addslashes(html_entity_decode($reason))) ); } } -- cgit v1.2.1