summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-11-22 02:35:26 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-11-22 02:35:26 +1100
commitdb0dac2b85e174d83271874e23e329dd1fccd9e9 (patch)
treefd0a8f98fc5d87a641a9e0cd7b31a4556aecd354
parent6aa24cce92e43c0e4735930566da2a3b27910859 (diff)
Styling ban form...
-rw-r--r--inc/mod.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/mod.php b/inc/mod.php
index f58ad14d..2dcaf7e9 100644
--- a/inc/mod.php
+++ b/inc/mod.php
@@ -195,8 +195,10 @@
($board ? '<input type="hidden" name="board" value="' . htmlentities($board) . '" />' : '') .
'<table>' .
'<tr>' .
- '<th><label for="ip">IP</label></th>' .
- '<td><input type="text" name="ip" id="ip" size="15" maxlength="15" ' .
+ '<th><label for="ip">IP ' .
+ ($config['ban_cidr'] ? '<span class="unimportant">(or subnet)' : '') .
+ '</span></label></th>' .
+ '<td><input type="text" name="ip" id="ip" size="30" maxlength="30" ' .
(isset($ip) ?
'value="' . htmlentities($ip) . '" ' : ''
) .