aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_ban.html
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style/acp_ban.html')
-rw-r--r--phpBB/adm/style/acp_ban.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/adm/style/acp_ban.html b/phpBB/adm/style/acp_ban.html
index e371d48bfc..8dd771f7fa 100644
--- a/phpBB/adm/style/acp_ban.html
+++ b/phpBB/adm/style/acp_ban.html
@@ -9,24 +9,24 @@
<p>{L_EXPLAIN}</p>
<script type="text/javascript">
-<!--
+// <![CDATA[
var ban_length = new Array();
ban_length[-1] = '';
<!-- BEGIN ban_length -->
- ban_length['{ban_length.BAN_ID}'] = "{ban_length.A_LENGTH}";
+ ban_length['{ban_length.BAN_ID}'] = '{ban_length.A_LENGTH}';
<!-- END ban_length -->
var ban_reason = new Array();
ban_reason[-1] = '';
<!-- BEGIN ban_reason -->
- ban_reason['{ban_reason.BAN_ID}'] = "{ban_reason.A_REASON}";
+ ban_reason['{ban_reason.BAN_ID}'] = '{ban_reason.A_REASON}';
<!-- END ban_reason -->
var ban_give_reason = new Array();
ban_give_reason[-1] = '';
<!-- BEGIN ban_give_reason -->
- ban_give_reason['{ban_give_reason.BAN_ID}'] = "{ban_give_reason.A_REASON}";
+ ban_give_reason['{ban_give_reason.BAN_ID}'] = '{ban_give_reason.A_REASON}';
<!-- END ban_give_reason -->
function display_details(option)
@@ -36,7 +36,7 @@
document.getElementById('acp_unban').unbanlength.value = ban_length[option];
}
-//-->
+// ]]>
</script>
<form id="acp_ban" method="post" action="{U_ACTION}">
@@ -46,7 +46,7 @@
<dl>
<dt><label for="ban">{L_BAN_CELL}:</label></dt>
<dd><textarea name="ban" cols="40" rows="3" id="ban"></textarea></dd>
- <!-- IF S_USERNAME_BAN --><dd>[ <a href="#" onclick="window.open('{U_FIND_USER}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}</a> ]</dd><!-- ENDIF -->
+ <!-- IF S_USERNAME_BAN --><dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd><!-- ENDIF -->
</dl>
<dl>
<dt><label for="banlength">{L_BAN_LENGTH}:</label></dt>