forked from GithubBackups/tinyib
Changed the modpost form a bit
This commit is contained in:
parent
730ddf47db
commit
b9c02d466e
17
inc/html.php
17
inc/html.php
@ -477,14 +477,18 @@ function manageModpostForm() {
|
|||||||
<input type="password" name="password" size="8" accesskey="p"> (for post and file deletion)
|
<input type="password" name="password" size="8" accesskey="p"> (for post and file deletion)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2" class="rules">
|
||||||
|
<ul>
|
||||||
|
<li>All text entered in the "Message" field will be posted AS-IS with absolutely no formatting applied.</li>
|
||||||
|
<li>This means for all line-breaks you must enter the text "<br>".</li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: center;">
|
|
||||||
All text entered in the "Message" field will be posted AS-IS with absolutely no formatting applied.<br>This means for all line-breaks you must enter the text "<br>".
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
EOF;
|
EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -494,13 +498,14 @@ function manageModeratePost($post) {
|
|||||||
$ban_disabled = (!$ban && $isadmin) ? '' : ' disabled';
|
$ban_disabled = (!$ban && $isadmin) ? '' : ' disabled';
|
||||||
$ban_disabled_info = (!$ban) ? '' : (' A ban record already exists for ' . $post['ip']);
|
$ban_disabled_info = (!$ban) ? '' : (' A ban record already exists for ' . $post['ip']);
|
||||||
$post_html = buildPost($post, true);
|
$post_html = buildPost($post, true);
|
||||||
|
$post_or_thread = ($post['parent'] == 0) ? 'Thread' : 'Post';
|
||||||
return <<<EOF
|
return <<<EOF
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Moderating post No.${post['id']}</legend>
|
<legend>Moderating post No.${post['id']}</legend>
|
||||||
|
|
||||||
<div class="floatpost">
|
<div class="floatpost">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Post</legend>
|
<legend>$post_or_thread</legend>
|
||||||
$post_html
|
$post_html
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
@ -510,7 +515,7 @@ function manageModeratePost($post) {
|
|||||||
<form method="get" action="?">
|
<form method="get" action="?">
|
||||||
<input type="hidden" name="manage" value="">
|
<input type="hidden" name="manage" value="">
|
||||||
<input type="hidden" name="delete" value="${post['id']}">
|
<input type="hidden" name="delete" value="${post['id']}">
|
||||||
<input type="submit" value="Delete Post" class="managebutton">
|
<input type="submit" value="Delete $post_or_thread" class="managebutton">
|
||||||
</form>
|
</form>
|
||||||
<br>
|
<br>
|
||||||
<form method="get" action="?">
|
<form method="get" action="?">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user