Skip to content
Browse files

Renamed a bunch of templates

  • Loading branch information...
1 parent 40b6f59 commit e7204f766e96b91c63a4117b4a771a0aabeb1796 @BrianAker BrianAker committed Feb 8, 2001
Showing with 607 additions and 367 deletions.
  1. +2 −3 ...tes/delSectionCancel;sections;default → plugins/Sections/templates/delSectCancel;sections;default
  2. +5 −5 ...s/delSectionConfirm;sections;default → plugins/Sections/templates/delSectConfirm;sections;default
  3. +45 −45 ...e/templates/submissionEdAdmin;submit;default → plugins/Submit/templates/subEdAdmin;submit;default
  4. +49 −49 ...e/templates/submissionEdTable;submit;default → plugins/Submit/templates/subEdTable;submit;default
  5. +23 −23 ...ode/templates/submissionEdUser;submit;default → plugins/Submit/templates/subEdUser;submit;default
  6. +1 −1 ...s/yourPendingSubmissions;submit;default → plugins/Submit/templates/yourPendingSubs;submit;default
  7. +5 −5 themes/slashcode/templates/{comment_submitted;comments;default → comment_submit;comments;default}
  8. +17 −0 themes/slashcode/templates/delSectCancel;sections;default
  9. +20 −0 themes/slashcode/templates/delSectConfirm;sections;default
  10. +5 −5 themes/slashcode/templates/{deleted_message;comments;default → del_message;comments;default}
  11. +13 −13 themes/slashcode/templates/{discussion_list;comments;default → discuss_list;comments;default}
  12. +68 −68 themes/slashcode/templates/{displayTheComments;metamod;default → dispTheComments;metamod;default}
  13. +35 −35 themes/slashcode/templates/{moderatorCommentLog;misc;default → modCommentLog;misc;default}
  14. +5 −5 themes/slashcode/templates/{moderation_footer;comments;default → mod_footer;comments;default}
  15. +5 −5 themes/slashcode/templates/{moderation_header;comments;default → mod_header;comments;default}
  16. +8 −8 themes/slashcode/templates/{preview_comment;comments;default → preview_comm;comments;default}
  17. +77 −77 themes/slashcode/templates/{printCommentsComments;misc;default → printCommComments;misc;default}
  18. +9 −9 themes/slashcode/templates/{printCommentsNoArchive;misc;default → printCommNoArchive;misc;default}
  19. +5 −5 themes/slashcode/templates/{selectThresholdLabel;misc;default → selectThreshLabel;misc;default}
  20. +60 −0 themes/slashcode/templates/subEdAdmin;submit;default
  21. +64 −0 themes/slashcode/templates/subEdTable;submit;default
  22. +38 −0 themes/slashcode/templates/subEdUser;submit;default
  23. +6 −6 themes/slashcode/templates/{undo_moderation;comments;default → undo_mod;comments;default}
  24. +42 −0 themes/slashcode/templates/yourPendingSubs;submit;default
View
5 ...mplates/delSectionCancel;sections;default → .../templates/delSectCancel;sections;default
@@ -1,8 +1,7 @@
__section__
default
__description__
-Cancel delete of a section
-
+Cancel delete of a section
* section = section name
__title__
@@ -11,7 +10,7 @@ sections
__lang__
eng
__name__
-delSectionCancel
+delSectCancel
__template__
<B>Canceled deletion of [% section %].</B><BR>
__seclev__
View
10 ...plates/delSectionConfirm;sections;default → ...templates/delSectConfirm;sections;default
@@ -1,10 +1,10 @@
__section__
default
__description__
-Confirm section delete
-
-* width = passed to titlebar
-* title = passed to titlebar
+Confirm section delete
+
+* width = passed to titlebar
+* title = passed to titlebar
* section = section name
__title__
@@ -13,7 +13,7 @@ sections
__lang__
eng
__name__
-delSectionConfirm
+delSectConfirm
__template__
[% INCLUDE titlebar %]
__seclev__
View
90 ...emplates/submissionEdAdmin;submit;default → ...ubmit/templates/subEdAdmin;submit;default
@@ -1,9 +1,9 @@
__section__
default
__description__
-Main page for submissions list
-
-* submissions = arrayref of hashrefs of submissions (subid, subj, time, tid, note, email, name, section, comment, uid, karma)
+Main page for submissions list
+
+* submissions = arrayref of hashrefs of submissions (subid, subj, time, tid, note, email, name, section, comment, uid, karma)
* selection = hashref for note selection popup
__title__
@@ -12,49 +12,49 @@ submit
__lang__
eng
__name__
-submissionEdAdmin
+subEdAdmin
__template__
-[% USE Slash %]
-
-<META HTTP-EQUIV="Refresh" CONTENT="900; URL=[% env.script_name %]?op=list">
-<FORM ACTION="[% env.script_name %]" METHOD="POST">
-<INPUT TYPE="HIDDEN" NAME="note" VALUE="[% form.note %]">
-<INPUT TYPE="HIDDEN" NAME="section" VALUE="[% form.section %]">
-
-<TABLE WIDTH="95%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
-
-[% FOREACH sub = submissions %]
- [% this_note = sub.note || '' %]
- <TR><TD><NOBR>
- <FONT SIZE="1"><INPUT TYPE="text" NAME="comment_[% sub.subid %]" VALUE="[% sub.comment %]" SIZE="15">
- [% Slash.createSelect("note_${sub.subid}", selection, this_note, 1) %]
- [% Slash.selectSection("section_$sub.subid", sub.section, 0, 1) %]
-
- </FONT><INPUT TYPE="CHECKBOX" NAME="del_[% sub.subid %]">
- </NOBR></TD><TD>
- [% IF constants.submiss_ts %]
- [% sub.time %]&nbsp;
- [% END %]
- </TD><TD>
- <A HREF="[% env.script_name %]?op=viewsub&subid=[% sub.subid %]&note=[% form.note %][% sub.stitle%][% sub.ssection %]"
- >[% sub.strs.0 %]&nbsp;</A>
- </TD><TD><FONT SIZE="2">[% sub.strs.1 %]
- [% UNLESS sub.is_anon %]
- ([% karma or 0 %])
- [% END %]
- <BR>[% sub.strs.2 %]</FONT></TD></TR>
-[% END %]
-
-</TABLE>
-
-<P>
-
-<INPUT TYPE="SUBMIT" NAME="op" VALUE="Update">
-[% IF form.note == 'Quik' %]
-<INPUT TYPE="SUBMIT" NAME="op" VALUE="GenQuickies">
-[% END %]
-
-</FORM>
+[% USE Slash %]
+
+<META HTTP-EQUIV="Refresh" CONTENT="900; URL=[% env.script_name %]?op=list">
+<FORM ACTION="[% env.script_name %]" METHOD="POST">
+<INPUT TYPE="HIDDEN" NAME="note" VALUE="[% form.note %]">
+<INPUT TYPE="HIDDEN" NAME="section" VALUE="[% form.section %]">
+
+<TABLE WIDTH="95%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
+
+[% FOREACH sub = submissions %]
+ [% this_note = sub.note || '' %]
+ <TR><TD><NOBR>
+ <FONT SIZE="1"><INPUT TYPE="text" NAME="comment_[% sub.subid %]" VALUE="[% sub.comment %]" SIZE="15">
+ [% Slash.createSelect("note_${sub.subid}", selection, this_note, 1) %]
+ [% Slash.selectSection("section_$sub.subid", sub.section, 0, 1) %]
+
+ </FONT><INPUT TYPE="CHECKBOX" NAME="del_[% sub.subid %]">
+ </NOBR></TD><TD>
+ [% IF constants.submiss_ts %]
+ [% sub.time %]&nbsp;
+ [% END %]
+ </TD><TD>
+ <A HREF="[% env.script_name %]?op=viewsub&subid=[% sub.subid %]&note=[% form.note %][% sub.stitle%][% sub.ssection %]"
+ >[% sub.strs.0 %]&nbsp;</A>
+ </TD><TD><FONT SIZE="2">[% sub.strs.1 %]
+ [% UNLESS sub.is_anon %]
+ ([% karma or 0 %])
+ [% END %]
+ <BR>[% sub.strs.2 %]</FONT></TD></TR>
+[% END %]
+
+</TABLE>
+
+<P>
+
+<INPUT TYPE="SUBMIT" NAME="op" VALUE="Update">
+[% IF form.note == 'Quik' %]
+<INPUT TYPE="SUBMIT" NAME="op" VALUE="GenQuickies">
+[% END %]
+
+</FORM>
__seclev__
10000
View
98 ...emplates/submissionEdTable;submit;default → ...ubmit/templates/subEdTable;submit;default
@@ -1,16 +1,16 @@
__section__
default
__description__
-Display selection table for all the submissions
-
-* cur_section = current section
-* cur_note = current note
-* def_section = default section
-* def_note = default note
-* sections = arrayref of active sections
-* notes = arrayref of active notes
-* sn = hashref of counts of submissions (sn.$section.$note)
-* title = passed to titlebar
+Display selection table for all the submissions
+
+* cur_section = current section
+* cur_note = current note
+* def_section = default section
+* def_note = default note
+* sections = arrayref of active sections
+* notes = arrayref of active notes
+* sn = hashref of counts of submissions (sn.$section.$note)
+* title = passed to titlebar
* width = passed to titlebar
__title__
@@ -19,46 +19,46 @@ submit
__lang__
eng
__name__
-submissionEdTable
+subEdTable
__template__
-[% INCLUDE titlebar %]
-
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" BGCOLOR="[% user.bg.2 %]">
-<TR ALIGN="RIGHT"><TD></TD>
-
-[% # print section headers %]
-[% FOREACH section = sections %]
- <TD>&nbsp;<B><A HREF="[% env.script_name %]?section=[% section.1 %]&op=list">[% section.0 %]</A></B>&nbsp;</TD>
- [% IF section.0 == def_section %]
- <TD></TD>
- [% END %]
-[% END %]
-
-
-</TR>
-
-
-[% # print individual rows and counts %]
-[% FOREACH note = notes %]
-
-<TR ALIGN="RIGHT">
- <TD>&nbsp;<B><A HREF="[% env.script_name %]?note=[% note.1 %]&op=list">[% note.0 %]</A></B>&nbsp;</TD>
- [% FOREACH section = sections %]
- [% s = section.0;
- n = note.0;
- count = sn.$s.$n || 0;
- bgcolor = " BGCOLOR=\"$user.bg.1\"" IF n == cur_note && s == cur_section;
- %]
- <TD[% bgcolor %]><A HREF="[% env.script_name %]?section=[% section.1 %]&op=list&note=[% note.1 %]">[% count %]</A>&nbsp;</TD>
- [% IF section.0 == def_section %]
- <TD></TD>
- [% END %]
- [% END %]
-</TR>
-
-[% END %]
-
-</TABLE>
+[% INCLUDE titlebar %]
+
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" BGCOLOR="[% user.bg.2 %]">
+<TR ALIGN="RIGHT"><TD></TD>
+
+[% # print section headers %]
+[% FOREACH section = sections %]
+ <TD>&nbsp;<B><A HREF="[% env.script_name %]?section=[% section.1 %]&op=list">[% section.0 %]</A></B>&nbsp;</TD>
+ [% IF section.0 == def_section %]
+ <TD></TD>
+ [% END %]
+[% END %]
+
+
+</TR>
+
+
+[% # print individual rows and counts %]
+[% FOREACH note = notes %]
+
+<TR ALIGN="RIGHT">
+ <TD>&nbsp;<B><A HREF="[% env.script_name %]?note=[% note.1 %]&op=list">[% note.0 %]</A></B>&nbsp;</TD>
+ [% FOREACH section = sections %]
+ [% s = section.0;
+ n = note.0;
+ count = sn.$s.$n || 0;
+ bgcolor = " BGCOLOR=\"$user.bg.1\"" IF n == cur_note && s == cur_section;
+ %]
+ <TD[% bgcolor %]><A HREF="[% env.script_name %]?section=[% section.1 %]&op=list&note=[% note.1 %]">[% count %]</A>&nbsp;</TD>
+ [% IF section.0 == def_section %]
+ <TD></TD>
+ [% END %]
+ [% END %]
+</TR>
+
+[% END %]
+
+</TABLE>
__seclev__
10000
View
46 ...templates/submissionEdUser;submit;default → ...Submit/templates/subEdUser;submit;default
@@ -1,9 +1,9 @@
__section__
default
__description__
-Main page for submissions list
-
-* submissions = arrayref of hashrefs of submissions (subid, subj, time, tid, note, email, name, section, comment, uid, karma)
+Main page for submissions list
+
+* submissions = arrayref of hashrefs of submissions (subid, subj, time, tid, note, email, name, section, comment, uid, karma)
* selection = hashref for note selection popup
__title__
@@ -12,27 +12,27 @@ submit
__lang__
eng
__name__
-submissionEdUser
+subEdUser
__template__
-<TABLE WIDTH="95%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
-
-[% FOREACH sub = submissions %]
- <TR><TD>[% sub.note %]</TD>
-
- <TD>[% sub.section %]</TD><TD>
- [% IF constants.submiss_ts %]
- [% sub.time %]&nbsp;
- [% END %]
- </TD><TD>
- <A HREF="[% env.script_name %]?op=viewsub&subid=[% sub.subid %]&note=[% form.note %][% sub.stitle %]"
- >[% sub.strs.0 %]&nbsp;</A>
- </TD><TD><FONT SIZE="-1">[% sub.strs.1 %]<BR>[% sub.strs.2 %]</FONT></TD></TR>
- <TR><TD COLSPAN="6"><IMG SRC="[% constants.imagedir %]/pix.gif" ALT="" HEIGHT="3"></TD></TR>
-[% END %]
-
-</TABLE>
-
-<P>
+<TABLE WIDTH="95%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
+
+[% FOREACH sub = submissions %]
+ <TR><TD>[% sub.note %]</TD>
+
+ <TD>[% sub.section %]</TD><TD>
+ [% IF constants.submiss_ts %]
+ [% sub.time %]&nbsp;
+ [% END %]
+ </TD><TD>
+ <A HREF="[% env.script_name %]?op=viewsub&subid=[% sub.subid %]&note=[% form.note %][% sub.stitle %]"
+ >[% sub.strs.0 %]&nbsp;</A>
+ </TD><TD><FONT SIZE="-1">[% sub.strs.1 %]<BR>[% sub.strs.2 %]</FONT></TD></TR>
+ <TR><TD COLSPAN="6"><IMG SRC="[% constants.imagedir %]/pix.gif" ALT="" HEIGHT="3"></TD></TR>
+[% END %]
+
+</TABLE>
+
+<P>
__seclev__
10000
View
2 ...tes/yourPendingSubmissions;submit;default → .../templates/yourPendingSubs;submit;default
@@ -14,7 +14,7 @@ submit
__lang__
eng
__name__
-yourPendingSubmissions
+yourPendingSubs
__template__
[% INCLUDE titlebar %]
View
10 ...plates/comment_submitted;comments;default → ...templates/comment_submit;comments;default
@@ -1,8 +1,8 @@
__section__
default
__description__
-Message displayed when a user submits a comment.
-
+Message displayed when a user submits a comment.
+
No specially passed variables.
__title__
@@ -11,10 +11,10 @@ comments
__lang__
eng
__name__
-comment_submitted
+comment_submit
__template__
-Comment Submitted. There will be a delay before the comment becomes part of the static page.
-What you submitted appears below. If there is a mistake...well, you should have used the
+Comment Submitted. There will be a delay before the comment becomes part of the static page.
+What you submitted appears below. If there is a mistake...well, you should have used the
'Preview' button!<P>
__seclev__
1000
View
17 themes/slashcode/templates/delSectCancel;sections;default
@@ -0,0 +1,17 @@
+__section__
+default
+__description__
+Cancel delete of a section
+* section = section name
+__title__
+
+__page__
+sections
+__lang__
+eng
+__name__
+delSectCancel
+__template__
+<B>Canceled deletion of [% section %].</B><BR>
+__seclev__
+10000
View
20 themes/slashcode/templates/delSectConfirm;sections;default
@@ -0,0 +1,20 @@
+__section__
+default
+__description__
+Confirm section delete
+
+* width = passed to titlebar
+* title = passed to titlebar
+* section = section name
+__title__
+
+__page__
+sections
+__lang__
+eng
+__name__
+delSectConfirm
+__template__
+[% INCLUDE titlebar %]
+__seclev__
+10000
View
10 ...emplates/deleted_message;comments;default → ...de/templates/del_message;comments;default
@@ -1,9 +1,9 @@
__section__
default
__description__
-Message printed when comments have been deleted from a discussion.
-
-* total_deleted = number of deleted comments
+Message printed when comments have been deleted from a discussion.
+
+* total_deleted = number of deleted comments
* comment_count = current number of comments
__title__
@@ -12,9 +12,9 @@ comments
__lang__
eng
__name__
-deleted_message
+del_message
__template__
-[% total_deleted %] comments deleted. Comment count set to [% comment_count %]<BR>
+[% total_deleted %] comments deleted. Comment count set to [% comment_count %]<BR>
__seclev__
1000
View
26 ...emplates/discussion_list;comments;default → ...e/templates/discuss_list;comments;default
@@ -1,10 +1,10 @@
__section__
default
__description__
-This template controls how the Discussion List is printed. For default
-Slashcode, this list is printed when comments.pl executed with no
-arguments.
-
+This template controls how the Discussion List is printed. For default
+Slashcode, this list is printed when comments.pl executed with no
+arguments.
+
* discussions = arrayref of arrayrefs of discussions (sid = 0, title=1, url=2)
__title__
@@ -13,16 +13,16 @@ comments
__lang__
eng
__name__
-discussion_list
+discuss_list
__template__
-<MULTICOLS COLS=2>
-[% FOR d = discussions %]
- <LI><A HREF="[% constants.rootdir %]/comments.pl?sid=[% d.0 %]">
-[% IF d.1.defined && d.1.length %][% d.1 %][% ELSE %]untitled[% END %]</A>
- (<A HREF="[% d.2 %]">referer</A>)
-[% END %]
-</MULTICOL>
-
+<MULTICOLS COLS=2>
+[% FOR d = discussions %]
+ <LI><A HREF="[% constants.rootdir %]/comments.pl?sid=[% d.0 %]">
+[% IF d.1.defined && d.1.length %][% d.1 %][% ELSE %]untitled[% END %]</A>
+ (<A HREF="[% d.2 %]">referer</A>)
+[% END %]
+</MULTICOL>
+
__seclev__
100
View
136 ...plates/displayTheComments;metamod;default → ...templates/dispTheComments;metamod;default
@@ -1,10 +1,10 @@
__section__
default
__description__
-Template that describes the meta moderation screen, which shows the
-comments and the metamoderation options, to the user.
-
-* comments = arrayref of hashrefs of comments to display
+Template that describes the meta moderation screen, which shows the
+comments and the metamoderation options, to the user.
+
+* comments = arrayref of hashrefs of comments to display
__title__
@@ -13,71 +13,71 @@ metamod
__lang__
eng
__name__
-displayTheComments
+dispTheComments
__template__
-
-[% USE Slash %]
-[% INCLUDE titlebar width="99%" title="Meta Moderation" %]
-[% IF !comments.size %]
-<BIG><CENTER>No comments available for meta moderation!</CENTER></BIG>
-[% STOP %]
-[% END %]
-[% user.noscores = 1; # Do not show scores in comment display. %]
-<B>PLEASE READ THE DIRECTIONS CAREFULLY BEFORE EMAILING
-[% constants.siteadmin_name.uc %]!</B> <P>What follows is [% constants.m2_comments %] random
-moderations performed on comments in the last few weeks on [% constants.sitename %].
-You are asked to <B>honestly</B> evaluate the actions of the moderator of each
-comment. Moderators who are ranked poorly will cease to be eligible for
-moderator access in the future.
-
-<UL>
-
-<LI>If you are confused about the context of a particular comment, just
-link back to the comment page through the parent link, or the #XXX cid
-link.</LI>
-
-<LI><B><FONT SIZE="5">Duplicates are fine</FONT></B> (Big because over
-<B>100</B> people have emailed me to tell me about this even though it is
-explained <B>right here</B>.) You are not moderating a "Comment" you
-are moderating a "Moderation". Therefore, if a comment is moderated
-more than once, it can appear multiple times below. Don't worry about it.</LI>
-
-<LI>If you are unsure, feel free to leave it unchanged.</LI>
-
-<LI>Please read the <A HREF="[% constants.rootdir %]/moderation.shtml">Moderator Guidelines</A>
-and try to be impartial and fair. You are not moderating to make your
-opinions heard, you are trying to help promote a rational discussion.
-Play fairly and help make [% constants.sitename %] a little better for everyone.</LI>
-
-<LI>Scores and information identifying the posters of these comments have been
-removed to help prevent bias in meta moderation. If you really need to know,
-you can click through and see the original message, but we encourage you not
-to do this unless you need more context to fairly meta moderate.</LI>
-
-</UL>
-
-<FORM ACTION="[% constants.rootdir %]/metamod.pl" METHOD="POST">
-<TABLE>
-[% FOR C = comments %]
-[%
- Slash.dispComment(C);
- S.link = C.title; S.sid = C.sid;
-%]
- <TR><TD>
- Story: <B>[% Slash.linkStory(S) %]</B><BR>
- Rating: <B>[% constants.reasons.${C.modreason} %]</B>.<BR>
- This rating is <B>Unfair
- <INPUT TYPE="RADIO" NAME="mm[% C.id %]" VALUE="-">
- <INPUT TYPE="RADIO" NAME="mm[% C.id %]" VALUE="0" CHECKED>
- <INPUT TYPE="RADIO" NAME="mm[% C.id %]" VALUE="+">
- Fair</B><HR>
- </TD></TR>
-[% END %]
-</TABLE>
-
-<INPUT TYPE="SUBMIT" NAME="op" VALUE="MetaModerate">
-
-</FORM>
+
+[% USE Slash %]
+[% INCLUDE titlebar width="99%" title="Meta Moderation" %]
+[% IF !comments.size %]
+<BIG><CENTER>No comments available for meta moderation!</CENTER></BIG>
+[% STOP %]
+[% END %]
+[% user.noscores = 1; # Do not show scores in comment display. %]
+<B>PLEASE READ THE DIRECTIONS CAREFULLY BEFORE EMAILING
+[% constants.siteadmin_name.uc %]!</B> <P>What follows is [% constants.m2_comments %] random
+moderations performed on comments in the last few weeks on [% constants.sitename %].
+You are asked to <B>honestly</B> evaluate the actions of the moderator of each
+comment. Moderators who are ranked poorly will cease to be eligible for
+moderator access in the future.
+
+<UL>
+
+<LI>If you are confused about the context of a particular comment, just
+link back to the comment page through the parent link, or the #XXX cid
+link.</LI>
+
+<LI><B><FONT SIZE="5">Duplicates are fine</FONT></B> (Big because over
+<B>100</B> people have emailed me to tell me about this even though it is
+explained <B>right here</B>.) You are not moderating a "Comment" you
+are moderating a "Moderation". Therefore, if a comment is moderated
+more than once, it can appear multiple times below. Don't worry about it.</LI>
+
+<LI>If you are unsure, feel free to leave it unchanged.</LI>
+
+<LI>Please read the <A HREF="[% constants.rootdir %]/moderation.shtml">Moderator Guidelines</A>
+and try to be impartial and fair. You are not moderating to make your
+opinions heard, you are trying to help promote a rational discussion.
+Play fairly and help make [% constants.sitename %] a little better for everyone.</LI>
+
+<LI>Scores and information identifying the posters of these comments have been
+removed to help prevent bias in meta moderation. If you really need to know,
+you can click through and see the original message, but we encourage you not
+to do this unless you need more context to fairly meta moderate.</LI>
+
+</UL>
+
+<FORM ACTION="[% constants.rootdir %]/metamod.pl" METHOD="POST">
+<TABLE>
+[% FOR C = comments %]
+[%
+ Slash.dispComment(C);
+ S.link = C.title; S.sid = C.sid;
+%]
+ <TR><TD>
+ Story: <B>[% Slash.linkStory(S) %]</B><BR>
+ Rating: <B>[% constants.reasons.${C.modreason} %]</B>.<BR>
+ This rating is <B>Unfair
+ <INPUT TYPE="RADIO" NAME="mm[% C.id %]" VALUE="-">
+ <INPUT TYPE="RADIO" NAME="mm[% C.id %]" VALUE="0" CHECKED>
+ <INPUT TYPE="RADIO" NAME="mm[% C.id %]" VALUE="+">
+ Fair</B><HR>
+ </TD></TR>
+[% END %]
+</TABLE>
+
+<INPUT TYPE="SUBMIT" NAME="op" VALUE="MetaModerate">
+
+</FORM>
__seclev__
1000
View
70 ...emplates/moderatorCommentLog;misc;default → ...code/templates/modCommentLog;misc;default
@@ -1,12 +1,12 @@
__section__
default
__description__
-Prints table detailing history of moderation of a comment (SOMETHING ABOUT THIS IS BROKEN)
-
-* mod_admin = boolean for if current user is an admin
-* comments = arrayref of hashref of moderated comments (val, reason, uid, nickname)
-* reasonTotal = total moderations
-* reasonHist = arrayref of number of moderations at each reason
+Prints table detailing history of moderation of a comment (SOMETHING ABOUT THIS IS BROKEN)
+
+* mod_admin = boolean for if current user is an admin
+* comments = arrayref of hashref of moderated comments (val, reason, uid, nickname)
+* reasonTotal = total moderations
+* reasonHist = arrayref of number of moderations at each reason
__title__
@@ -15,36 +15,36 @@ misc
__lang__
eng
__name__
-moderatorCommentLog
+modCommentLog
__template__
-[% IF mod_admin %]
-<TABLE BGCOLOR="[% user.bg.2 %]" ALIGN="CENTER" BORDER="0" CELLPADDING="2" CELLSPACING="0">
- <TR BGCOLOR="[% user.bg.3 %]">
- <TH><FONT COLOR="[% user.fg.3 %]"> val </FONT></TH>
- <TH><FONT COLOR="[% user.fg.3 %]"> reason </FONT></TH>
- <TH><FONT COLOR="[% user.fg.3 %]"> moderator </FONT></TH>
- </TR>
-
- [% FOREACH comment = comments %]
- <TR>
- <TD> <B>[% comment.val %]</B> </TD>
- <TD> [% constants.reasons.${comment.reason} %] </TD>
- <TD> [% comment.nickname %] ([% comment.uid %]) </TD>
- </TR>
- [% END %]
-
- </TABLE>
-[% END %]
-
-[% IF reasonTotal %]
- <FONT COLOR="[% user.bg.3 %]"><B>Moderation Totals</B></FONT>:
- [% FOREACH i = [0 .. reasonHist.size] %]
- [% IF reasonHist.$i %]
- [% constants.reasons.$i %]=[% reasonHist.$i %],
- [% END %]
- [% END %]
- <B>Total=[% reasonTotal %]</B>.
-[% END %]
+[% IF mod_admin %]
+<TABLE BGCOLOR="[% user.bg.2 %]" ALIGN="CENTER" BORDER="0" CELLPADDING="2" CELLSPACING="0">
+ <TR BGCOLOR="[% user.bg.3 %]">
+ <TH><FONT COLOR="[% user.fg.3 %]"> val </FONT></TH>
+ <TH><FONT COLOR="[% user.fg.3 %]"> reason </FONT></TH>
+ <TH><FONT COLOR="[% user.fg.3 %]"> moderator </FONT></TH>
+ </TR>
+
+ [% FOREACH comment = comments %]
+ <TR>
+ <TD> <B>[% comment.val %]</B> </TD>
+ <TD> [% constants.reasons.${comment.reason} %] </TD>
+ <TD> [% comment.nickname %] ([% comment.uid %]) </TD>
+ </TR>
+ [% END %]
+
+ </TABLE>
+[% END %]
+
+[% IF reasonTotal %]
+ <FONT COLOR="[% user.bg.3 %]"><B>Moderation Totals</B></FONT>:
+ [% FOREACH i = [0 .. reasonHist.size] %]
+ [% IF reasonHist.$i %]
+ [% constants.reasons.$i %]=[% reasonHist.$i %],
+ [% END %]
+ [% END %]
+ <B>Total=[% reasonTotal %]</B>.
+[% END %]
__seclev__
10000
View
10 ...plates/moderation_footer;comments;default → ...ode/templates/mod_footer;comments;default
@@ -1,8 +1,8 @@
__section__
default
__description__
-This block is displayed right after moderation occurs.
-
+This block is displayed right after moderation occurs.
+
No specially passed variables.
__title__
@@ -11,10 +11,10 @@ comments
__lang__
eng
__name__
-moderation_footer
+mod_footer
__template__
-</UL>
-
+</UL>
+
__seclev__
1000
View
10 ...plates/moderation_header;comments;default → ...ode/templates/mod_header;comments;default
@@ -1,8 +1,8 @@
__section__
default
__description__
-This block is displayed right before moderation occurs.
-
+This block is displayed right before moderation occurs.
+
No specially passed variables.
__title__
@@ -11,10 +11,10 @@ comments
__lang__
eng
__name__
-moderation_header
+mod_header
__template__
-<UL>
-
+<UL>
+
__seclev__
1000
View
16 ...emplates/preview_comment;comments;default → ...e/templates/preview_comm;comments;default
@@ -1,8 +1,8 @@
__section__
default
__description__
-Template which describes how the comment preview form is displayed.
-
+Template which describes how the comment preview form is displayed.
+
* preview = comment to preview
__title__
@@ -11,13 +11,13 @@ comments
__lang__
eng
__name__
-preview_comment
+preview_comm
__template__
-[% USE Slash %]
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="95%" ALIGN="CENTER">
-[% Slash.dispComment(preview) %]
-</TABLE>
-
+[% USE Slash %]
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="95%" ALIGN="CENTER">
+[% Slash.dispComment(preview) %]
+</TABLE>
+
__seclev__
1000
View
154 ...plates/printCommentsComments;misc;default → .../templates/printCommComments;misc;default
@@ -1,18 +1,18 @@
__section__
default
__description__
-The printing of the comments
-
-* can_moderate = boolean for whether current user is eligible to comment
-* comment = hashref of main comment to display (if cid is specified)
-* comments = big ol' arrayref of comments
-* next = hashref of next comment for "next" link
-* previous = hashref of previous comment for "previous" link
-* sid = story ID
-* cid = comment ID
-* pid = base parent ID
-* cc = number of siblings of this comment
-* lvl = what nesting level we're at
+The printing of the comments
+
+* can_moderate = boolean for whether current user is eligible to comment
+* comment = hashref of main comment to display (if cid is specified)
+* comments = big ol' arrayref of comments
+* next = hashref of next comment for "next" link
+* previous = hashref of previous comment for "previous" link
+* sid = story ID
+* cid = comment ID
+* pid = base parent ID
+* cc = number of siblings of this comment
+* lvl = what nesting level we're at
* lcp = linkCommentPages value
__title__
@@ -21,72 +21,72 @@ misc
__lang__
eng
__name__
-printCommentsComments
+printCommComments
__template__
-[% USE Slash %]
-
-[% IF can_moderate %]
- <FORM ACTION="[% constants.rootdir %]/comments.pl" METHOD="POST">
- <INPUT TYPE="HIDDEN" NAME="sid" VALUE="[% sid %]">
- <INPUT TYPE="HIDDEN" NAME="cid" VALUE="[% cid %]">
- <INPUT TYPE="HIDDEN" NAME="pid" VALUE="[% pid %]">
-[% END %]
-
-
-[% IF cid %]
- [% Slash.dispComment(comment) %]
- </TD></TR>
- <TR><TD BGCOLOR="[% user.bg.2 %]" ALIGN="CENTER">
-
- [% IF previous %]
- &lt;&lt;[% Slash.linkComment(previous, 1) %]
- [% END %]
-
- [% IF previous && (comment.pid || next) %]
- |
- [% END %]
-
- [% IF comment.pid %]
- [% Slash.linkComment(comment, 1) %]
- [% END %]
-
- [% IF next && (comment.pid || previous) %]
- |
- [% END %]
-
- [% IF next %]
- [% Slash.linkComment(next, 1) %]&gt;&gt;
- [% END %]
-
- </TD></TR>
- <TR><TD ALIGN="CENTER">
- [% Slash.moderatorCommentLog(sid, cid) %]
- </TD></TR>
-[% END %]
-
- [% lcp %]
- [% IF lvl %]
- <TR><TD>
- [% END %]
- [% Slash.displayThread(sid, pid, lvl, comments) %]
- [% IF lvl %]
- </TD></TR>
- [% END %]
- [% lcp %]
-
-[% IF can_moderate %]
- <TR><TD>
- <P>Have you read the
- <A HREF="[% constants.rootdir %]/moderation.shtml">Moderator Guidelines</A>
- yet? (<B>Updated 9.9</B>)
- <INPUT TYPE="SUBMIT" NAME="op" VALUE="moderate">
- [% IF user.is_admin && constants.authors_unlimited %]
- <BR><B>NOTE: Checked comments will be deleted.</B>
- [% END %]
- </TD></TR></FORM>
-[% END %]
-
-</TABLE>
+[% USE Slash %]
+
+[% IF can_moderate %]
+ <FORM ACTION="[% constants.rootdir %]/comments.pl" METHOD="POST">
+ <INPUT TYPE="HIDDEN" NAME="sid" VALUE="[% sid %]">
+ <INPUT TYPE="HIDDEN" NAME="cid" VALUE="[% cid %]">
+ <INPUT TYPE="HIDDEN" NAME="pid" VALUE="[% pid %]">
+[% END %]
+
+
+[% IF cid %]
+ [% Slash.dispComment(comment) %]
+ </TD></TR>
+ <TR><TD BGCOLOR="[% user.bg.2 %]" ALIGN="CENTER">
+
+ [% IF previous %]
+ &lt;&lt;[% Slash.linkComment(previous, 1) %]
+ [% END %]
+
+ [% IF previous && (comment.pid || next) %]
+ |
+ [% END %]
+
+ [% IF comment.pid %]
+ [% Slash.linkComment(comment, 1) %]
+ [% END %]
+
+ [% IF next && (comment.pid || previous) %]
+ |
+ [% END %]
+
+ [% IF next %]
+ [% Slash.linkComment(next, 1) %]&gt;&gt;
+ [% END %]
+
+ </TD></TR>
+ <TR><TD ALIGN="CENTER">
+ [% Slash.moderatorCommentLog(sid, cid) %]
+ </TD></TR>
+[% END %]
+
+ [% lcp %]
+ [% IF lvl %]
+ <TR><TD>
+ [% END %]
+ [% Slash.displayThread(sid, pid, lvl, comments) %]
+ [% IF lvl %]
+ </TD></TR>
+ [% END %]
+ [% lcp %]
+
+[% IF can_moderate %]
+ <TR><TD>
+ <P>Have you read the
+ <A HREF="[% constants.rootdir %]/moderation.shtml">Moderator Guidelines</A>
+ yet? (<B>Updated 9.9</B>)
+ <INPUT TYPE="SUBMIT" NAME="op" VALUE="moderate">
+ [% IF user.is_admin && constants.authors_unlimited %]
+ <BR><B>NOTE: Checked comments will be deleted.</B>
+ [% END %]
+ </TD></TR></FORM>
+[% END %]
+
+</TABLE>
__seclev__
10000
View
18 ...lates/printCommentsNoArchive;misc;default → ...templates/printCommNoArchive;misc;default
@@ -1,8 +1,8 @@
__section__
default
__description__
-Text for telling users no more comments are being accepted, as the discussion has been archived.
-
+Text for telling users no more comments are being accepted, as the discussion has been archived.
+
No specially passed variables.
__title__
@@ -11,14 +11,14 @@ misc
__lang__
eng
__name__
-printCommentsNoArchive
+printCommNoArchive
__template__
-<TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="2">
-
-<TR><TD BGCOLOR="[% user.bg.3 %]"><FONT COLOR="[% user.fg.3 %]" SIZE="2">
- This discussion has been archived.
- No new comments can be posted.
-</TD></TR>
+<TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="2">
+
+<TR><TD BGCOLOR="[% user.bg.3 %]"><FONT COLOR="[% user.fg.3 %]" SIZE="2">
+ This discussion has been archived.
+ No new comments can be posted.
+</TD></TR>
__seclev__
10000
View
10 ...mplates/selectThresholdLabel;misc;default → .../templates/selectThreshLabel;misc;default
@@ -1,10 +1,10 @@
__section__
default
__description__
-A label for each item in the Threshold drop-down list
-
-* points = points for this threshold
-* count = number of comments at this threshold
+A label for each item in the Threshold drop-down list
+
+* points = points for this threshold
+* count = number of comments at this threshold
__title__
@@ -13,7 +13,7 @@ misc
__lang__
eng
__name__
-selectThresholdLabel
+selectThreshLabel
__template__
[% points %]: [% count %] comments
__seclev__
View
60 themes/slashcode/templates/subEdAdmin;submit;default
@@ -0,0 +1,60 @@
+__section__
+default
+__description__
+Main page for submissions list
+
+* submissions = arrayref of hashrefs of submissions (subid, subj, time, tid, note, email, name, section, comment, uid, karma)
+* selection = hashref for note selection popup
+__title__
+
+__page__
+submit
+__lang__
+eng
+__name__
+subEdAdmin
+__template__
+[% USE Slash %]
+
+<META HTTP-EQUIV="Refresh" CONTENT="900; URL=[% env.script_name %]?op=list">
+<FORM ACTION="[% env.script_name %]" METHOD="POST">
+<INPUT TYPE="HIDDEN" NAME="note" VALUE="[% form.note %]">
+<INPUT TYPE="HIDDEN" NAME="section" VALUE="[% form.section %]">
+
+<TABLE WIDTH="95%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
+
+[% FOREACH sub = submissions %]
+ [% this_note = sub.note || '' %]
+ <TR><TD><NOBR>
+ <FONT SIZE="1"><INPUT TYPE="text" NAME="comment_[% sub.subid %]" VALUE="[% sub.comment %]" SIZE="15">
+ [% Slash.createSelect("note_${sub.subid}", selection, this_note, 1) %]
+ [% Slash.selectSection("section_$sub.subid", sub.section, 0, 1) %]
+
+ </FONT><INPUT TYPE="CHECKBOX" NAME="del_[% sub.subid %]">
+ </NOBR></TD><TD>
+ [% IF constants.submiss_ts %]
+ [% sub.time %]&nbsp;
+ [% END %]
+ </TD><TD>
+ <A HREF="[% env.script_name %]?op=viewsub&subid=[% sub.subid %]&note=[% form.note %][% sub.stitle%][% sub.ssection %]"
+ >[% sub.strs.0 %]&nbsp;</A>
+ </TD><TD><FONT SIZE="2">[% sub.strs.1 %]
+ [% UNLESS sub.is_anon %]
+ ([% karma or 0 %])
+ [% END %]
+ <BR>[% sub.strs.2 %]</FONT></TD></TR>
+[% END %]
+
+</TABLE>
+
+<P>
+
+<INPUT TYPE="SUBMIT" NAME="op" VALUE="Update">
+[% IF form.note == 'Quik' %]
+<INPUT TYPE="SUBMIT" NAME="op" VALUE="GenQuickies">
+[% END %]
+
+</FORM>
+
+__seclev__
+10000
View
64 themes/slashcode/templates/subEdTable;submit;default
@@ -0,0 +1,64 @@
+__section__
+default
+__description__
+Display selection table for all the submissions
+
+* cur_section = current section
+* cur_note = current note
+* def_section = default section
+* def_note = default note
+* sections = arrayref of active sections
+* notes = arrayref of active notes
+* sn = hashref of counts of submissions (sn.$section.$note)
+* title = passed to titlebar
+* width = passed to titlebar
+__title__
+
+__page__
+submit
+__lang__
+eng
+__name__
+subEdTable
+__template__
+[% INCLUDE titlebar %]
+
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" BGCOLOR="[% user.bg.2 %]">
+<TR ALIGN="RIGHT"><TD></TD>
+
+[% # print section headers %]
+[% FOREACH section = sections %]
+ <TD>&nbsp;<B><A HREF="[% env.script_name %]?section=[% section.1 %]&op=list">[% section.0 %]</A></B>&nbsp;</TD>
+ [% IF section.0 == def_section %]
+ <TD></TD>
+ [% END %]
+[% END %]
+
+
+</TR>
+
+
+[% # print individual rows and counts %]
+[% FOREACH note = notes %]
+
+<TR ALIGN="RIGHT">
+ <TD>&nbsp;<B><A HREF="[% env.script_name %]?note=[% note.1 %]&op=list">[% note.0 %]</A></B>&nbsp;</TD>
+ [% FOREACH section = sections %]
+ [% s = section.0;
+ n = note.0;
+ count = sn.$s.$n || 0;
+ bgcolor = " BGCOLOR=\"$user.bg.1\"" IF n == cur_note && s == cur_section;
+ %]
+ <TD[% bgcolor %]><A HREF="[% env.script_name %]?section=[% section.1 %]&op=list&note=[% note.1 %]">[% count %]</A>&nbsp;</TD>
+ [% IF section.0 == def_section %]
+ <TD></TD>
+ [% END %]
+ [% END %]
+</TR>
+
+[% END %]
+
+</TABLE>
+
+__seclev__
+10000
View
38 themes/slashcode/templates/subEdUser;submit;default
@@ -0,0 +1,38 @@
+__section__
+default
+__description__
+Main page for submissions list
+
+* submissions = arrayref of hashrefs of submissions (subid, subj, time, tid, note, email, name, section, comment, uid, karma)
+* selection = hashref for note selection popup
+__title__
+
+__page__
+submit
+__lang__
+eng
+__name__
+subEdUser
+__template__
+<TABLE WIDTH="95%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
+
+[% FOREACH sub = submissions %]
+ <TR><TD>[% sub.note %]</TD>
+
+ <TD>[% sub.section %]</TD><TD>
+ [% IF constants.submiss_ts %]
+ [% sub.time %]&nbsp;
+ [% END %]
+ </TD><TD>
+ <A HREF="[% env.script_name %]?op=viewsub&subid=[% sub.subid %]&note=[% form.note %][% sub.stitle %]"
+ >[% sub.strs.0 %]&nbsp;</A>
+ </TD><TD><FONT SIZE="-1">[% sub.strs.1 %]<BR>[% sub.strs.2 %]</FONT></TD></TR>
+ <TR><TD COLSPAN="6"><IMG SRC="[% constants.imagedir %]/pix.gif" ALT="" HEIGHT="3"></TD></TR>
+[% END %]
+
+</TABLE>
+
+<P>
+
+__seclev__
+10000
View
12 ...emplates/undo_moderation;comments;default → ...hcode/templates/undo_mod;comments;default
@@ -1,9 +1,9 @@
__section__
default
__description__
-Template which displays a message indicating moderation undone for
-every item in the template variable 'removed'.
-
+Template which displays a message indicating moderation undone for
+every item in the template variable 'removed'.
+
* removed = array ref of CIDs that moderation has been undone to
__title__
@@ -12,10 +12,10 @@ comments
__lang__
eng
__name__
-undo_moderation
+undo_mod
__template__
-[% FOR r = removed %]
-Undoing moderation to Comment #[% r %]<BR>
+[% FOR r = removed %]
+Undoing moderation to Comment #[% r %]<BR>
[% END %]
__seclev__
1000
View
42 themes/slashcode/templates/yourPendingSubs;submit;default
@@ -0,0 +1,42 @@
+__section__
+default
+__description__
+Display user's pending submissions
+
+* title = passed to titlebar
+* width = passed to titlebar
+* submissions = arrayref of submissions
+* totalcount = total submissions pending
+__title__
+
+__page__
+submit
+__lang__
+eng
+__name__
+yourPendingSubs
+__template__
+[% INCLUDE titlebar %]
+
+<P>Here are your recent submissions to [% constants.sitename %],
+and their staus within the system:</P>
+
+<UL>
+[% FOREACH submission = submissions %]
+ [% time = submission.0
+ subj = submission.1
+ section = submission.2
+ tid = submission.3
+ del = submission.4
+ %]
+
+ <LI>[% time %] [% subj %] ([% section %],[% tid %])
+ [% # this is a multiple ?: operator thingy ... i hope it makes sense ...
+ # if del == 1 it is rejected, if del == 2 it is accepted, else it is pending %]
+ [% del == 1 ? '(rejected)' : del == 2 ? '(accepted)' : '' %]
+ </LI>
+[% END %]
+</UL>
+
+__seclev__
+10000

0 comments on commit e7204f7

Please sign in to comment.
Something went wrong with that request. Please try again.