forked from GithubBackups/tinyib
Minor changes to management panel
This commit is contained in:
parent
81e4cd8c45
commit
671bfe68a5
17
inc/html.php
17
inc/html.php
@ -23,6 +23,7 @@ EOF;
|
|||||||
}
|
}
|
||||||
|
|
||||||
function pageFooter() {
|
function pageFooter() {
|
||||||
|
/* If the footer is removed from the page, please link to TinyIB somewhere on the site. */
|
||||||
return <<<EOF
|
return <<<EOF
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
- <a href="http://www.2chan.net" target="_top">futaba</a> + <a href="http://www.1chan.net" target="_top">futallaby</a> + <a href="https://github.com/tslocum/TinyIB" target="_top">tinyib</a> -
|
- <a href="http://www.2chan.net" target="_top">futaba</a> + <a href="http://www.1chan.net" target="_top">futallaby</a> + <a href="https://github.com/tslocum/TinyIB" target="_top">tinyib</a> -
|
||||||
@ -405,8 +406,8 @@ function manageModeratePostForm() {
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Moderate a post</legend>
|
<legend>Moderate a post</legend>
|
||||||
<div valign="top"><label for="moderate">Post ID:</label> <input type="text" name="moderate" id="moderate"> <input type="submit" value="Submit" class="managebutton"></div><br>
|
<div valign="top"><label for="moderate">Post ID:</label> <input type="text" name="moderate" id="moderate"> <input type="submit" value="Submit" class="managebutton"></div><br>
|
||||||
While browsing the image board, you may moderate a post at any time, provided you are logged in.<br>
|
<small><b>Tip:</b> While browsing the image board, you can easily moderate a post if you are logged in:<br>
|
||||||
Tick the box next to the post, and click "Delete" at the bottom of the page without entering a password.<br>
|
Tick the box next to a post and click "Delete" at the bottom of the page with a blank password.</small><br>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form><br>
|
</form><br>
|
||||||
EOF;
|
EOF;
|
||||||
@ -422,10 +423,10 @@ function manageRawPostForm() {
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="postblock">
|
<td class="postblock">
|
||||||
Thread No.
|
Reply to
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="parent" size="28" maxlength="75" value="0" accesskey="t"> 0 for new thread
|
<input type="text" name="parent" size="28" maxlength="75" value="0" accesskey="t"> 0 to start a new thread
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -480,8 +481,8 @@ function manageRawPostForm() {
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="rules">
|
<td colspan="2" class="rules">
|
||||||
<ul>
|
<ul>
|
||||||
<li>All text entered in the "Message" field will be posted AS-IS with absolutely no formatting applied.</li>
|
<li>Text entered in the Message field will be posted as is with no formatting applied.</li>
|
||||||
<li>This means for all line-breaks you must enter the text "<br>".</li>
|
<li>Line-breaks must be specified with "<br>".</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -561,7 +562,7 @@ function manageStatus() {
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
foreach ($posts as $post) {
|
foreach ($posts as $post) {
|
||||||
if ($post_html != '') { $post_html .= '<tr><td colspan="2"><hr></td></tr>'; }
|
if ($post_html != '') { $post_html .= '<tr><td colspan="2"><hr></td></tr>'; }
|
||||||
$post_html .= '<tr><td>' . buildPost($post, TINYIB_INDEXPAGE) . '</td><td valign="top"><form method="get" action="?"><input type="hidden" name="manage" value=""><input type="hidden" name="moderate" value="' . $post['id'] . '"><input type="submit" value="Moderate No.' . $post['id'] . '" class="managebutton"></form></td></tr>';
|
$post_html .= '<tr><td>' . buildPost($post, TINYIB_INDEXPAGE) . '</td><td valign="top"><form method="get" action="?"><input type="hidden" name="manage" value=""><input type="hidden" name="moderate" value="' . $post['id'] . '"><input type="submit" value="Moderate" class="managebutton"></form></td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return <<<EOF
|
return <<<EOF
|
||||||
@ -574,7 +575,7 @@ function manageStatus() {
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Latest posts</legend>
|
<legend>Recent posts</legend>
|
||||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||||
$post_html
|
$post_html
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user