forked from leftypol/leftypol
fixed ban addition page
This commit is contained in:
parent
c2727787ab
commit
f47cccab01
2 changed files with 31 additions and 25 deletions
|
@ -111,10 +111,12 @@
|
|||
return $body;
|
||||
}
|
||||
|
||||
function form_newBan($ip=null, $reason='', $continue=false) {
|
||||
function form_newBan($ip=null, $reason='', $continue=false, $delete=false, $board=false) {
|
||||
return '<fieldset><legend>New ban</legend>' .
|
||||
'<form action="" method="post">' .
|
||||
'<form action="?/ban" method="post">' .
|
||||
($continue ? '<input type="hidden" name="continue" value="' . htmlentities($continue) . '" />' : '') .
|
||||
($delete ? '<input type="hidden" name="delete" value="' . htmlentities($delete) . '" />' : '') .
|
||||
($board ? '<input type="hidden" name="board" value="' . htmlentities($board) . '" />' : '') .
|
||||
'<table>' .
|
||||
'<tr>' .
|
||||
'<th><label for="ip">IP</label></th>' .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue