summary refs log tree commit diff stats
path: root/theme/admin
diff options
context:
space:
mode:
Diffstat (limited to 'theme/admin')
-rw-r--r--theme/admin/deleteDraft.tpl6
-rw-r--r--theme/admin/deletePending.tpl6
-rw-r--r--theme/admin/deletePost.tpl6
-rw-r--r--theme/admin/deletedDraft.tpl6
-rw-r--r--theme/admin/deletedPending.tpl6
-rw-r--r--theme/admin/deletedPost.tpl6
-rw-r--r--theme/admin/draftSuccess.tpl8
-rw-r--r--theme/admin/editDraft.tpl16
-rw-r--r--theme/admin/editPending.tpl10
-rw-r--r--theme/admin/editPost.tpl10
-rw-r--r--theme/admin/index.tpl31
-rw-r--r--theme/admin/manageDrafts.tpl24
-rw-r--r--theme/admin/managePages.tpl23
-rw-r--r--theme/admin/managePending.tpl24
-rw-r--r--theme/admin/managePendingQuotes.tpl21
-rw-r--r--theme/admin/managePosts.tpl24
-rw-r--r--theme/admin/moderateComments.tpl24
-rw-r--r--theme/admin/newPoll.tpl10
-rw-r--r--theme/admin/pageHistory.tpl23
-rw-r--r--theme/admin/pendingSuccess.tpl8
-rw-r--r--theme/admin/pollrss.tpl6
-rw-r--r--theme/admin/postSuccess.tpl8
-rw-r--r--theme/admin/viewComment.tpl12
-rw-r--r--theme/admin/viewRevision.tpl5
-rw-r--r--theme/admin/write.tpl16
25 files changed, 339 insertions, 0 deletions
diff --git a/theme/admin/deleteDraft.tpl b/theme/admin/deleteDraft.tpl new file mode 100644 index 0000000..346604e --- /dev/null +++ b/theme/admin/deleteDraft.tpl
@@ -0,0 +1,6 @@
1<H2>Delete a Draft</H2><P>
2
3Are you ABSOLUTELY SURE that you want to delete this draft?<P>
4
5<A HREF="/admin/deleteDraft.php?id=<!--ID-->&submit=">Yes</A><BR>
6<A HREF="javascript:history.back();window.refresh();">Ummm.... actually I'd rather not</A>
diff --git a/theme/admin/deletePending.tpl b/theme/admin/deletePending.tpl new file mode 100644 index 0000000..03541f2 --- /dev/null +++ b/theme/admin/deletePending.tpl
@@ -0,0 +1,6 @@
1<H2>Delete a Pending Post</H2><P>
2
3Are you ABSOLUTELY SURE that you want to delete this pending post?<P>
4
5<A HREF="/admin/deletePending.php?id=<!--ID-->&submit=">Yes</A><BR>
6<A HREF="javascript:history.back();window.refresh();">Ummm.... actually I'd rather not</A>
diff --git a/theme/admin/deletePost.tpl b/theme/admin/deletePost.tpl new file mode 100644 index 0000000..8c08112 --- /dev/null +++ b/theme/admin/deletePost.tpl
@@ -0,0 +1,6 @@
1<H2>Delete a Post</H2><P>
2
3Are you ABSOLUTELY SURE that you want to delete this post?<P>
4
5<A HREF="/admin/deletePost.php?id=<!--ID-->&submit=">Yes</A><BR>
6<A HREF="javascript:history.back();window.refresh();">Ummm.... actually I'd rather not</A>
diff --git a/theme/admin/deletedDraft.tpl b/theme/admin/deletedDraft.tpl new file mode 100644 index 0000000..dd449f6 --- /dev/null +++ b/theme/admin/deletedDraft.tpl
@@ -0,0 +1,6 @@
1You've just deleted a draft!
2
3<UL>
4 <LI><A HREF="/admin/manageDrafts.php">Manage Drafts</A></LI>
5 <LI><A HREF="/admin/">Return to the Admin Panel</A></LI>
6</UL>
diff --git a/theme/admin/deletedPending.tpl b/theme/admin/deletedPending.tpl new file mode 100644 index 0000000..220aa11 --- /dev/null +++ b/theme/admin/deletedPending.tpl
@@ -0,0 +1,6 @@
1You've just deleted a pending post!
2
3<UL>
4 <LI><A HREF="/admin/managePending.php">Manage Pending Posts</A></LI>
5 <LI><A HREF="/admin/">Return to the Admin Panel</A></LI>
6</UL>
diff --git a/theme/admin/deletedPost.tpl b/theme/admin/deletedPost.tpl new file mode 100644 index 0000000..12cc68a --- /dev/null +++ b/theme/admin/deletedPost.tpl
@@ -0,0 +1,6 @@
1You've just deleted a post!
2
3<UL>
4 <LI><A HREF="/admin/managePosts.php">Manage Posts</A></LI>
5 <LI><A HREF="/admin/">Return to the Admin Panel</A></LI>
6</UL>
diff --git a/theme/admin/draftSuccess.tpl b/theme/admin/draftSuccess.tpl new file mode 100644 index 0000000..7d76d2a --- /dev/null +++ b/theme/admin/draftSuccess.tpl
@@ -0,0 +1,8 @@
1Congradulations, you've just made/edited a draft!
2
3<UL>
4 <LI><A HREF="/admin/editDraft.php?id=<!--ID-->">Edit this draft</A></LI>
5 <LI><A HREF="/admin/viewDraft.php?id=<!--ID-->">View this draft</A></LI>
6 <LI><A HREF="/admin/manageDrafts.php">Manage Drafts</A></LI>
7 <LI><A HREF="/admin/">Return to the Admin Panel</A></LI>
8</UL>
diff --git a/theme/admin/editDraft.tpl b/theme/admin/editDraft.tpl new file mode 100644 index 0000000..b3197c4 --- /dev/null +++ b/theme/admin/editDraft.tpl
@@ -0,0 +1,16 @@
1<H2>Edit a draft</H2><P>
2
3<FORM ACTION="/admin/editDraft.php?id=<!--ID-->&submit=" METHOD="POST">
4 Draft Title: <INPUT TYPE="text" NAME="title" VALUE="<!--TITLE-->"><BR>
5 <TEXTAREA NAME="text" COLS="80" ROWS="20"><!--TEXT--></TEXTAREA><P>
6 Tag 1: <INPUT TYPE="text" NAME="tag1" VALUE="<!--TAG1-->"><BR>
7 Tag 2: <INPUT TYPE="text" NAME="tag2" VALUE="<!--TAG2-->"> (Optional)<BR>
8 Tag 3: <INPUT TYPE="text" NAME="tag3" VALUE="<!--TAG3-->"> (Optional)<BR>
9 Post Type: <SELECT NAME="type" SIZE="4">
10 <OPTION VALUE="draft" SELECTED>Draft</OPTION>
11 <OPTION VALUE="normal">Normal (Article-style) Post</OPTION>
12 <OPTION VALUE="priority">High-Priority Post</OPTION>
13 <OPTION VALUE="instant">Instant Post</OPTION>
14 </SELECT><BR>
15 <INPUT TYPE="submit" VALUE="Edit draft">
16</FORM>
diff --git a/theme/admin/editPending.tpl b/theme/admin/editPending.tpl new file mode 100644 index 0000000..ccded76 --- /dev/null +++ b/theme/admin/editPending.tpl
@@ -0,0 +1,10 @@
1<H2>Edit a pending post</H2><P>
2
3<FORM ACTION="/admin/editPending.php?id=<!--ID-->&submit=" METHOD="POST">
4 Post Title: <INPUT TYPE="text" NAME="title" VALUE="<!--TITLE-->"><BR>
5 <TEXTAREA NAME="text" COLS="80" ROWS="20"><!--TEXT--></TEXTAREA><P>
6 Tag 1: <INPUT TYPE="text" NAME="tag1" VALUE="<!--TAG1-->"><BR>
7 Tag 2: <INPUT TYPE="text" NAME="tag2" VALUE="<!--TAG2-->"> (Optional)<BR>
8 Tag 3: <INPUT TYPE="text" NAME="tag3" VALUE="<!--TAG3-->"> (Optional)<BR>
9 <INPUT TYPE="submit" VALUE="Edit post">
10</FORM>
diff --git a/theme/admin/editPost.tpl b/theme/admin/editPost.tpl new file mode 100644 index 0000000..544fe5f --- /dev/null +++ b/theme/admin/editPost.tpl
@@ -0,0 +1,10 @@
1<H2>Edit a post</H2><P>
2
3<FORM ACTION="/admin/editPost.php?id=<!--ID-->&submit=" METHOD="POST">
4 Post Title: <INPUT TYPE="text" NAME="title" VALUE="<!--TITLE-->"><BR>
5 <TEXTAREA NAME="text" COLS="80" ROWS="20"><!--TEXT--></TEXTAREA><P>
6 Tag 1: <INPUT TYPE="text" NAME="tag1" VALUE="<!--TAG1-->"><BR>
7 Tag 2: <INPUT TYPE="text" NAME="tag2" VALUE="<!--TAG2-->"> (Optional)<BR>
8 Tag 3: <INPUT TYPE="text" NAME="tag3" VALUE="<!--TAG3-->"> (Optional)<BR>
9 <INPUT TYPE="submit" VALUE="Edit post">
10</FORM>
diff --git a/theme/admin/index.tpl b/theme/admin/index.tpl new file mode 100644 index 0000000..f886f2d --- /dev/null +++ b/theme/admin/index.tpl
@@ -0,0 +1,31 @@
1<H2>Admin Panel</H2><P>
2
3Welcome to the ubiquitous administration panel!<P>
4
5<H3>Blog</H3>
6
7<UL>
8 <LI><A HREF="/admin/writePost.php">Write a post</A></LI>
9 <LI><A HREF="/admin/manageDrafts.php">Manage Drafts</A></LI>
10 <LI><A HREF="/admin/managePending.php">Manage Pending Posts</A></LI>
11 <LI><A HREF="/admin/managePosts.php">Manage Published Posts</A></LI>
12 <LI><A HREF="/admin/moderateComments.php">Moderate Comments</A></LI>
13</UL>
14
15<H3>Wiki</H3>
16
17<UL>
18 <LI><A HREF="/admin/managePages.php">Manage Pages</A></LI>
19</UL>
20
21<H3>Poll</H3>
22
23<UL>
24 <LI><A HREF="/admin/pollProcess.php">Weekly Poll Process</A></LI>
25</UL>
26
27<H3>Quotes</H3>
28
29<UL>
30 <LI><A HREF="/admin/managePendingQuotes.php">Manage Pending Quotes</A></LI>
31</UL>
diff --git a/theme/admin/manageDrafts.tpl b/theme/admin/manageDrafts.tpl new file mode 100644 index 0000000..8a498ac --- /dev/null +++ b/theme/admin/manageDrafts.tpl
@@ -0,0 +1,24 @@
1<H2>Manage Drafts</H2>
2
3<TABLE WIDTH="100%" CLASS="webmail">
4 <TR>
5 <TH>Draft Title</TH>
6 <TH>Draft Author</TH>
7 <TH>Actions</TH>
8 </TR>
9
10 <!--BEGIN DRAFT-->
11 <TR>
12 <TD><!--DRAFT.TITLE--></TD>
13 <TD><!--DRAFT.AUTHOR--></TD>
14
15 <TD>
16 <A HREF="/admin/editDraft.php?id=<!--DRAFT.ID-->"><IMG SRC="/theme/images/icons/page_edit.png" ALT="Edit"></A>
17 <A HREF="/admin/deleteDraft.php?id=<!--DRAFT.ID-->"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Delete"></A>
18 <A HREF="/admin/viewDraft.php?id=<!--DRAFT.ID-->"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A>
19 </TD>
20 </TR>
21 <!--END DRAFT-->
22</TABLE>
23
24<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/managePages.tpl b/theme/admin/managePages.tpl new file mode 100644 index 0000000..eef8c75 --- /dev/null +++ b/theme/admin/managePages.tpl
@@ -0,0 +1,23 @@
1<H2>Manage Pages</H2>
2
3<TABLE WIDTH="100%" CLASS="webmail">
4 <TR>
5 <TH>Page Title</TH>
6 <TH>Revision Author</TH>
7 <TH>Actions</TH>
8 </TR>
9
10 <!--BEGIN PAGE-->
11 <TR>
12 <TD><!--PAGE.TITLE--></TD>
13 <TD><!--PAGE.AUTHOR--></TD>
14
15 <TD>
16 <A HREF="/admin/pageHistory.php?id=<!--PAGE.ID-->"><IMG SRC="/theme/images/icons/page_edit.png" ALT="View History"></A>
17 <A HREF="/wiki/<!--PAGE.CODED-->/"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A>
18 </TD>
19 </TR>
20 <!--END PAGE-->
21</TABLE>
22
23<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/managePending.tpl b/theme/admin/managePending.tpl new file mode 100644 index 0000000..d119b92 --- /dev/null +++ b/theme/admin/managePending.tpl
@@ -0,0 +1,24 @@
1<H2>Manage Pending</H2>
2
3<TABLE WIDTH="100%" CLASS="webmail">
4 <TR>
5 <TH>Pending Post Title</TH>
6 <TH>Pending Post Author</TH>
7 <TH>Actions</TH>
8 </TR>
9
10 <!--BEGIN PENDING-->
11 <TR>
12 <TD><!--PENDING.TITLE--></TD>
13 <TD><!--PENDING.AUTHOR--></TD>
14
15 <TD>
16 <A HREF="/admin/editPending.php?id=<!--PENDING.ID-->"><IMG SRC="/theme/images/icons/page_edit.png" ALT="Edit"></A>
17 <A HREF="/admin/deletePending.php?id=<!--PENDING.ID-->"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Delete"></A>
18 <A HREF="/admin/viewPending.php?id=<!--PENDING.ID-->"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A>
19 </TD>
20 </TR>
21 <!--END PENDING-->
22</TABLE>
23
24<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/managePendingQuotes.tpl b/theme/admin/managePendingQuotes.tpl new file mode 100644 index 0000000..660e126 --- /dev/null +++ b/theme/admin/managePendingQuotes.tpl
@@ -0,0 +1,21 @@
1<H2>Manage Pending Quotes</H2>
2
3<TABLE WIDTH="100%" CLASS="webmail">
4 <TR>
5 <TH>Quote</TH>
6 <TH>Actions</TH>
7 </TR>
8
9 <!--BEGIN QUOTE-->
10 <TR>
11 <TD><!--QUOTE.TEXT--></TD>
12
13 <TD>
14 <A HREF="/admin/actionPendingQuotes.php?id=<!--QUOTE.ID-->&approve"><IMG SRC="/theme/images/icons/page_attach.png" ALT="Approve"></A>
15 <A HREF="/admin/actionPendingQuotes.php?id=<!--QUOTE.ID-->&deny"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Deny"></A>
16 </TD>
17 </TR>
18 <!--END QUOTE-->
19</TABLE>
20
21<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/managePosts.tpl b/theme/admin/managePosts.tpl new file mode 100644 index 0000000..7e37b1f --- /dev/null +++ b/theme/admin/managePosts.tpl
@@ -0,0 +1,24 @@
1<H2>Manage Posts</H2>
2
3<TABLE WIDTH="100%" CLASS="webmail">
4 <TR>
5 <TH>Post Title</TH>
6 <TH>Post Author</TH>
7 <TH>Actions</TH>
8 </TR>
9
10 <!--BEGIN POST-->
11 <TR>
12 <TD><!--POST.TITLE--></TD>
13 <TD><!--POST.AUTHOR--></TD>
14
15 <TD>
16 <A HREF="/admin/editPost.php?id=<!--POST.ID-->"><IMG SRC="/theme/images/icons/page_edit.png" ALT="Edit"></A>
17 <A HREF="/admin/deletePost.php?id=<!--POST.ID-->"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Delete"></A>
18 <A HREF="/blog/<!--POST.CODED-->/"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A>
19 </TD>
20 </TR>
21 <!--END POST-->
22</TABLE>
23
24<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/moderateComments.tpl b/theme/admin/moderateComments.tpl new file mode 100644 index 0000000..f3da51c --- /dev/null +++ b/theme/admin/moderateComments.tpl
@@ -0,0 +1,24 @@
1<H2>Moderate Comments</H2>
2
3<TABLE WIDTH="100%" CLASS="webmail">
4 <TR>
5 <TH>Title of Article Commented Upon</TH>
6 <TH>Comment Author</TH>
7 <TH>Actions</TH>
8 </TR>
9
10 <!--BEGIN COMMENT-->
11 <TR>
12 <TD><!--COMMENT.TITLE--></TD>
13 <TD><!--COMMENT.AUTHOR--></TD>
14
15 <TD>
16 <A HREF="/admin/viewComment.php?id=<!--COMMENT.ID-->"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A>
17 <A HREF="/admin/actionComment.php?id=<!--COMMENT.ID-->&approve"><IMG SRC="/theme/images/icons/page_attach.png" ALT="Approve"></A>
18 <A HREF="/admin/actionComment.php?id=<!--COMMENT.ID-->&deny"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Deny"></A>
19 </TD>
20 </TR>
21 <!--END COMMENT-->
22</TABLE>
23
24<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/newPoll.tpl b/theme/admin/newPoll.tpl new file mode 100644 index 0000000..5f1d2a4 --- /dev/null +++ b/theme/admin/newPoll.tpl
@@ -0,0 +1,10 @@
1Congradulations! You've successfully added a Poll RSS. Now it's time to add the new Poll Of The Week:<P>
2
3<FORM ACTION="/admin/pollProcess.php?step=3" METHOD="POST">
4 Question: <INPUT TYPE="text" NAME="question"><BR>
5 Option 1: <INPUT TYPE="text" NAME="option1"><BR>
6 Option 2: <INPUT TYPE="text" NAME="option2"><BR>
7 Option 3: <INPUT TYPE="text" NAME="option3"><BR>
8 Option 4: <INPUT TYPE="text" NAME="option4"><BR>
9 <INPUT TYPE="submit" VALUE="Create poll">
10</FORM>
diff --git a/theme/admin/pageHistory.tpl b/theme/admin/pageHistory.tpl new file mode 100644 index 0000000..b5fd326 --- /dev/null +++ b/theme/admin/pageHistory.tpl
@@ -0,0 +1,23 @@
1<H2>Page History</H2>
2
3<TABLE WIDTH="100%" CLASS="webmail">
4 <TR>
5 <TH>Revision Author</TH>
6 <TH>Revision Date</TH>
7 <TH>Actions</TH>
8 </TR>
9
10 <!--BEGIN REV-->
11 <TR>
12 <TD><!--REV.AUTHOR--></TD>
13 <TD><!--REV.DATE--></TD>
14
15 <TD>
16 <A HREF="/admin/viewRevision.php?id=<!--REV.ID-->"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A>
17 </TD>
18 </TR>
19 <!--END REV-->
20</TABLE>
21
22<A HREF="/admin/managePages.php">Back to Manage Pages</A><BR>
23<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/pendingSuccess.tpl b/theme/admin/pendingSuccess.tpl new file mode 100644 index 0000000..64adbe6 --- /dev/null +++ b/theme/admin/pendingSuccess.tpl
@@ -0,0 +1,8 @@
1Congradulations, you've just made/edited a pending post!
2
3<UL>
4 <LI><A HREF="/admin/editPending.php?id=<!--ID-->">Edit this pending post</A></LI>
5 <LI><A HREF="/admin/viewPending.php?id=<!--ID-->">View this pending post</A></LI>
6 <LI><A HREF="/admin/managePending.php">Manage Pending Posts</A></LI>
7 <LI><A HREF="/admin/">Return to the Admin Panel</A></LI>
8</UL>
diff --git a/theme/admin/pollrss.tpl b/theme/admin/pollrss.tpl new file mode 100644 index 0000000..5ea628f --- /dev/null +++ b/theme/admin/pollrss.tpl
@@ -0,0 +1,6 @@
1<H2>Write a Poll RSS</H2><P>
2
3<FORM ACTION="/admin/pollProcess.php?step=2" METHOD="POST">
4 <TEXTAREA NAME="text" COLS="80" ROWS="20"></TEXTAREA><P>
5 <INPUT TYPE="submit" VALUE="Write RSS">
6</FORM>
diff --git a/theme/admin/postSuccess.tpl b/theme/admin/postSuccess.tpl new file mode 100644 index 0000000..12920fe --- /dev/null +++ b/theme/admin/postSuccess.tpl
@@ -0,0 +1,8 @@
1Congradulations, you've just made/edited a post!
2
3<UL>
4 <LI><A HREF="/admin/editPost.php?id=<!--ID-->">Edit this post</A></LI>
5 <LI><A HREF="/blog/<!--CODED-->/">View this post</A></LI>
6 <LI><A HREF="/admin/managePosts.php">Manage Posts</A></LI>
7 <LI><A HREF="/admin/">Return to the Admin Panel</A></LI>
8</UL>
diff --git a/theme/admin/viewComment.tpl b/theme/admin/viewComment.tpl new file mode 100644 index 0000000..9254f1d --- /dev/null +++ b/theme/admin/viewComment.tpl
@@ -0,0 +1,12 @@
1<DIV CLASS="bubble">
2 <BLOCKQUOTE>
3 <DIV>
4 <IMG SRC="http://www.gravatar.com/avatar.php?gravatar_id=<!--CODEDEMAIL-->&amp;rating=G&amp;size=40&amp;default=<!--CODEDDEF-->">
5 <!--TEXT-->
6 </DIV>
7 </BLOCKQUOTE>
8 <CITE><STRONG><!--USERNAME--></STRONG> on <!--DATE--></CITE>
9</DIV><P>
10
11<A HREF="/admin/moderateComments.php">Back to Comment Moderation</A><BR>
12<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/viewRevision.tpl b/theme/admin/viewRevision.tpl new file mode 100644 index 0000000..fc6fc83 --- /dev/null +++ b/theme/admin/viewRevision.tpl
@@ -0,0 +1,5 @@
1<!--TEXT-->
2<P>
3<A HREF="javascript:history.back()">Back to Page History</A>
4<A HREF="/admin/managePages.php">Back to Manage Pages</A><BR>
5<A HREF="/admin/">Back to Admin Panel</A>
diff --git a/theme/admin/write.tpl b/theme/admin/write.tpl new file mode 100644 index 0000000..30e870c --- /dev/null +++ b/theme/admin/write.tpl
@@ -0,0 +1,16 @@
1<H2>Write a post</H2><P>
2
3<FORM ACTION="/admin/writePost.php?submit=" METHOD="POST">
4 Post Title: <INPUT TYPE="text" NAME="title"><BR>
5 <TEXTAREA NAME="text" COLS="80" ROWS="20"></TEXTAREA><P>
6 Tag 1: <INPUT TYPE="text" NAME="tag1" VALUE="update"><BR>
7 Tag 2: <INPUT TYPE="text" NAME="tag2"> (Optional)<BR>
8 Tag 3: <INPUT TYPE="text" NAME="tag3"> (Optional)<BR>
9 Post Type: <SELECT NAME="type" SIZE="4">
10 <OPTION VALUE="draft">Draft</OPTION>
11 <OPTION VALUE="normal" SELECTED>Normal (Article-style) Post</OPTION>
12 <OPTION VALUE="priority">High-Priority Post</OPTION>
13 <OPTION VALUE="instant">Instant Post</OPTION>
14 </SELECT><BR>
15 <INPUT TYPE="submit" VALUE="Write post">
16</FORM>