aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates/subSilver
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-03-13 01:12:52 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-03-13 01:12:52 +0000
commit9d2989b9272e89904a0b9a6a3a3376dc793a3ed1 (patch)
treeba4f031ad1ab6139ae0e5ca2cc82ca8dd1bcd9ab /phpBB/templates/subSilver
parentc7440b766888a80fd958134373971e0685d17414 (diff)
downloadforums-9d2989b9272e89904a0b9a6a3a3376dc793a3ed1.tar
forums-9d2989b9272e89904a0b9a6a3a3376dc793a3ed1.tar.gz
forums-9d2989b9272e89904a0b9a6a3a3376dc793a3ed1.tar.bz2
forums-9d2989b9272e89904a0b9a6a3a3376dc793a3ed1.tar.xz
forums-9d2989b9272e89904a0b9a6a3a3376dc793a3ed1.zip
MCP updates. The resync function can now resync 'topic_reported' and 'topic_approved' flags
git-svn-id: file:///svn/phpbb/trunk@3645 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/templates/subSilver')
-rw-r--r--phpBB/templates/subSilver/mcp_forum.html5
-rw-r--r--phpBB/templates/subSilver/mcp_header.html21
-rw-r--r--phpBB/templates/subSilver/mcp_move.html19
-rw-r--r--phpBB/templates/subSilver/mcp_queue.html50
-rw-r--r--phpBB/templates/subSilver/mcp_topic.html35
5 files changed, 102 insertions, 28 deletions
diff --git a/phpBB/templates/subSilver/mcp_forum.html b/phpBB/templates/subSilver/mcp_forum.html
index b457427e8f..48e0396874 100644
--- a/phpBB/templates/subSilver/mcp_forum.html
+++ b/phpBB/templates/subSilver/mcp_forum.html
@@ -1,7 +1,6 @@
-<form method="post" action="{S_MCP_ACTION}">
-
<!-- INCLUDE mcp_header.html -->
+<form name="form" method="post" action="{S_MCP_ACTION}">
<table width="100%" class="tablebg" cellspacing="1" cellpadding="4" border="0">
<tr>
<th width="4%" nowrap="nowrap">&nbsp;</th>
@@ -49,7 +48,7 @@
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td class="nav" align="left" valign="middle">{PAGE_NUMBER}</td>
- <td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
+ <td align="right" valign="top" nowrap="nowrap"><b class="gensmall"><a href="javascript:marklist(true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist(false);">{L_UNMARK_ALL}</a></b><br /><span class="nav">{PAGINATION}</span></td>
</tr>
</table></form>
diff --git a/phpBB/templates/subSilver/mcp_header.html b/phpBB/templates/subSilver/mcp_header.html
index 915c9b86c4..81e92133d5 100644
--- a/phpBB/templates/subSilver/mcp_header.html
+++ b/phpBB/templates/subSilver/mcp_header.html
@@ -1,14 +1,25 @@
<!-- INCLUDE overall_header.html -->
+<script language="Javascript" type="text/javascript" defer="defer">
+<!--
+function marklist(status)
+{
+ for (i = 0; i < document.form.length; i++)
+ {
+ document.form.elements[i].checked = status;
+ }
+}
+//-->
+</script>
+
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
- <!-- IF FORUM_NAME -->
+ <!-- IF TOPIC_TITLE -->
<tr>
- <td class="titles" colspan="2" align="left" valign="bottom"><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
+ <td class="titles" colspan="2" align="left" valign="bottom"><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></td>
</tr>
- <!-- ENDIF -->
- <!-- IF TOPIC_TITLE -->
+ <!-- ELSEIF FORUM_NAME -->
<tr>
- <td align="left" valign="bottom"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></td>
+ <td class="titles" colspan="2" align="left" valign="bottom"><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
</tr>
<!-- ENDIF -->
<!-- IF PAGINATION -->
diff --git a/phpBB/templates/subSilver/mcp_move.html b/phpBB/templates/subSilver/mcp_move.html
index 252c5da549..92b0228db7 100644
--- a/phpBB/templates/subSilver/mcp_move.html
+++ b/phpBB/templates/subSilver/mcp_move.html
@@ -1,6 +1,6 @@
<!-- INCLUDE overall_header.html -->
-<form action="{S_MODCP_ACTION}" method="post"><input type="hidden" name="mode" value="move">
+<form action="{S_MCP_ACTION}" method="post"><input type="hidden" name="mode" value="move">
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
@@ -8,7 +8,7 @@
</table>
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline">
<tr>
- <th height="25" class="thHead"><b>{MESSAGE_TITLE}</b></th>
+ <th height="25" class="thHead"><b>{L_MOVE}</b></th>
</tr>
<tr>
<td class="row1">
@@ -18,22 +18,17 @@
</tr>
<tr>
<td align="center"><table border="0" cellspacing="0" cellpadding="0">
- <tr><td align="left">
- {L_SELECTED_TOPICS}<br /><br />
+ <tr class="gen"><td align="left">
+ {L_SELECTED_TOPICS}<br />
<ul><!-- BEGIN topiclist -->
- <li>{topiclist.TOPIC_TITLE}
+ <li><a href="{topiclist.U_TOPIC_LINK}" target="_new">{topiclist.TOPIC_TITLE}</a>
<!-- END topiclist --></ul>
</td></tr>
</table></td>
</tr>
<tr>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td align="center"><span class="gen">{L_MOVE_TO_FORUM} &nbsp; <select name="to_forum_id">{S_FORUM_SELECT}</select><br /><br />
- <input type="checkbox" name="move_leave_shadow" checked="checked" />{L_LEAVE_SHADOW}<br />
- <br />
- {MESSAGE_TEXT}</span><br />
+ <td align="center"><span class="gen">{L_SELECT_DESTINATION_FORUM}&nbsp;&nbsp;</span><select name="to_forum_id">{S_FORUM_SELECT}</select><br /><br />
+ <input type="checkbox" name="move_leave_shadow" checked="checked" /><span class="gen">{L_LEAVE_SHADOW}</span><br />
<br />
{S_HIDDEN_FIELDS}
<input class="mainoption" type="submit" name="confirm" value="{L_CONFIRM}" />
diff --git a/phpBB/templates/subSilver/mcp_queue.html b/phpBB/templates/subSilver/mcp_queue.html
new file mode 100644
index 0000000000..cc82e91440
--- /dev/null
+++ b/phpBB/templates/subSilver/mcp_queue.html
@@ -0,0 +1,50 @@
+<!-- INCLUDE mcp_header.html -->
+<form name="form" method="post" action="{S_MCP_ACTION}">
+<table width="100%" class="tablebg" cellspacing="1" cellpadding="4" border="0">
+ <tr>
+ <th>&nbsp;{L_FORUM}&nbsp;</th>
+ <th>&nbsp;{L_TOPIC}&nbsp;</th>
+ <th>&nbsp;{L_SUBJECT}&nbsp;</th>
+ <th>&nbsp;{L_AUTHOR}&nbsp;</th>
+ <th>&nbsp;{L_POST_TIME}&nbsp;</th>
+ <th>&nbsp;{L_SELECT}&nbsp;</th>
+ </tr>
+ <!-- BEGIN postrow -->
+ <!-- IF postrow.S_TOPICS_HEADER -->
+ <tr>
+ <td class="row3" colspan="6"><b class="gensmall">{L_TOPICS}</b></td>
+ </tr>
+ <!-- ELSEIF postrow.S_POSTS_HEADER -->
+ <tr>
+ <td class="row3" colspan="6"><b class="gensmall">{L_POSTS}</b></td>
+ </tr>
+ <!-- ENDIF -->
+ <tr>
+ <td class="row1" width="15%"><span class="gen">{postrow.FORUM}</span></td>
+ <td class="row2" width="18%"><span class="gen">{postrow.TOPIC}</span></td>
+ <td class="row1"><span class="gen">{postrow.SUBJECT}</span></td>
+ <td class="row2" align="center" width="15%"><span class="gen">{postrow.AUTHOR}</span></td>
+ <td class="row1" align="center" width="15%"><span class="gensmall">{postrow.POST_TIME}</span></td>
+ <td class="row2" align="center" width="5%">{postrow.S_CHECKBOX}</td>
+ </tr>
+ <!-- BEGINELSE -->
+ <tr>
+ <td class="row1" colspan="6" height="28" align="center"><!-- IF FORUM_NAME -->{L_FORUM_QUEUE_EMPTY}<!-- ELSE -->{L_QUEUE_EMPTY}<!-- ENDIF --></td>
+ </tr>
+ <!-- END postrow -->
+</table>
+
+<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
+ <tr>
+ <td class="nav" align="left" valign="middle">{PAGE_NUMBER}</td>
+ <td align="right" valign="top" nowrap="nowrap"><b class="gensmall"><a href="javascript:marklist(true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist(false);">{L_UNMARK_ALL}</a></b><br /><span class="nav">{PAGINATION}</span></td>
+ </tr>
+</table></form>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right"><!-- INCLUDE jumpbox.html --></td>
+ </tr>
+</table>
+
+<!-- INCLUDE overall_footer.html --> \ No newline at end of file
diff --git a/phpBB/templates/subSilver/mcp_topic.html b/phpBB/templates/subSilver/mcp_topic.html
index 1fe03defde..21cc9f93c4 100644
--- a/phpBB/templates/subSilver/mcp_topic.html
+++ b/phpBB/templates/subSilver/mcp_topic.html
@@ -1,6 +1,6 @@
<!-- INCLUDE mcp_header.html -->
-<form method="post" action="{S_FORM_ACTION}"><table class="tablebg" width="100%" cellspacing="1" cellpadding="2" border="0">
+<form name="form" method="post" action="{S_FORM_ACTION}"><table class="tablebg" width="100%" cellspacing="1" cellpadding="2" border="0">
<!-- IF S_CAN_SPLIT -->
<tr>
<th height="25" colspan="3" nowrap="nowrap">{L_SPLIT_TOPIC}</th>
@@ -35,8 +35,8 @@
<td class="row3" colspan="3"><span class="gensmall">{L_MERGE_TOPIC_EXPLAIN}</span></td>
</tr>
<tr>
- <td class="row1" nowrap="nowrap"><span class="gen">{L_MERGE_TOPIC_ID}</span><!-- IF TO_TOPIC_EXPLAIN --><br /><span class="gensmall">{TO_TOPIC_EXPLAIN}</span><!-- ENDIF --></td>
- <td class="row2" colspan="2"><input class="post" type="text" size="6" name="to_topic_id" value="{TO_TOPIC_ID}" /> <input class="liteoption" type="submit" name="select_topic" value="{L_SELECT_TOPIC}" /></td>
+ <td class="row1" nowrap="nowrap"><span class="gen">{L_MERGE_TOPIC_ID}</span></td>
+ <td class="row2" colspan="2"><input class="post" type="text" size="6" name="to_topic_id" value="{TO_TOPIC_ID}" /> <input class="liteoption" type="submit" name="select_topic" value="{L_SELECT_TOPIC}" /><!-- IF TO_TOPIC_INFO --><br /><span class="gensmall">{TO_TOPIC_INFO}</span><!-- ENDIF --></td>
</tr>
<!-- ENDIF -->
<tr>
@@ -47,6 +47,9 @@
<td class="row2" colspan="2"><input class="post" type="text" name="posts_per_page" size="6" value="{POSTS_PER_PAGE}"></td>
</tr>
<tr>
+ <td class="cat" colspan="3" height="28" align="center"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="liteoption" type="submit" name="sort" value="{L_GO}" /></span></td>
+ </tr>
+ <tr>
<th nowrap="nowrap">{L_AUTHOR}</th>
<th nowrap="nowrap">{L_MESSAGE}</th>
<th nowrap="nowrap">{L_SELECT}</th>
@@ -55,8 +58,9 @@
<!-- IF postrow.S_DISPLAY_MODES -->
<tr>
<td class="cat" colspan="3" height="28" align="center">
- <!-- IF S_CAN_MERGE -->&nbsp;<input class="liteoption" type="submit" name="merge_posts" value="{L_MERGE_POSTS}" />&nbsp;<!-- ENDIF -->
+ <!-- IF S_CAN_MERGE and TO_TOPIC_ID -->&nbsp;<input class="liteoption" type="submit" name="merge_posts" value="{L_MERGE_POSTS}" />&nbsp;<!-- ENDIF -->
<!-- IF S_CAN_DELETE -->&nbsp;<input class="liteoption" type="submit" name="delete_posts" value="{L_DELETE_POSTS}" />&nbsp;<!-- ENDIF -->
+ <!-- IF S_CAN_APPROVE -->&nbsp;<input class="liteoption" type="submit" name="approve" value="{L_APPROVE_POSTS}" />&nbsp;<!-- ENDIF -->
<!-- IF S_CAN_SPLIT -->&nbsp;<input class="liteoption" type="submit" name="split_all" value="{L_SPLIT_POSTS}" />&nbsp;&nbsp;<input class="liteoption" type="submit" name="split_beyond" value="{L_SPLIT_AFTER}" />&nbsp;<!-- ENDIF -->
</td>
</tr>
@@ -73,7 +77,21 @@
{postrow.POST_DATE}&nbsp;&nbsp;&nbsp;&nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
</tr>
<tr>
- <td class="postbody" valign="top"><hr size="1" />{postrow.MESSAGE}</td>
+ <td><hr /></td>
+ </tr>
+ <!-- IF postrow.S_POST_UNAPPROVED -->
+ <tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr align="left" valign="middle">
+ <td><a href="{postrow.U_APPROVE}">{UNAPPROVED_IMG}</a></td>
+ <td class="gensmall" width="100%">&nbsp;<a href="{postrow.U_APPROVE}">{L_POST_NOT_BEEN_APPROVED}</a></td>
+ </tr>
+ </table></td></tr>
+ <tr>
+ <td><hr /></td>
+ </tr>
+ <!-- ENDIF -->
+ <tr>
+ <td class="postbody" valign="top">{postrow.MESSAGE}</td>
</tr>
</table></td>
<td width="5%" align="center">{postrow.S_CHECKBOX}</td>
@@ -85,13 +103,14 @@
<tr>
<td class="cat" colspan="3" height="28" align="center"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="liteoption" type="submit" name="sort" value="{L_GO}" /></span></td>
</tr>
-</table></form>
+</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
- <tr>
+ <tr>
<td class="nav" align="left" valign="middle">{PAGE_NUMBER}</td>
- <td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
+ <td align="right" valign="top" nowrap="nowrap"><b class="gensmall"><a href="javascript:marklist(true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist(false);">{L_UNMARK_ALL}</a></b><br /><span class="nav">{PAGINATION}</span></td>
</tr>
</table>
+</form>
<!-- INCLUDE overall_footer.html --> \ No newline at end of file