1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 01:34:31 +01:00

Styling ban form...

This commit is contained in:
Savetheinternet 2011-11-22 02:35:26 +11:00
parent 8d73ddb731
commit 18f9560c7a

View File

@ -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) . '" ' : ''
) .