Skip to content

Commit

Permalink
Renamed a bunch of templates
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianAker committed Feb 8, 2001
1 parent 40b6f59 commit e7204f7
Show file tree
Hide file tree
Showing 24 changed files with 607 additions and 367 deletions.
@@ -1,8 +1,7 @@
__section__
default
__description__
Cancel delete of a section

Cancel delete of a section
* section = section name
__title__

Expand All @@ -11,7 +10,7 @@ sections
__lang__
eng
__name__
delSectionCancel
delSectCancel
__template__
<B>Canceled deletion of [% section %].</B><BR>
__seclev__
Expand Down
@@ -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__

Expand All @@ -13,7 +13,7 @@ sections
__lang__
eng
__name__
delSectionConfirm
delSectConfirm
__template__
[% INCLUDE titlebar %]
__seclev__
Expand Down
@@ -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__

Expand All @@ -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
@@ -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__

Expand All @@ -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
@@ -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__

Expand All @@ -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
Expand Up @@ -14,7 +14,7 @@ submit
__lang__
eng
__name__
yourPendingSubmissions
yourPendingSubs
__template__
[% INCLUDE titlebar %]

Expand Down
@@ -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__

Expand All @@ -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
17 changes: 17 additions & 0 deletions 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
20 changes: 20 additions & 0 deletions 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

0 comments on commit e7204f7

Please sign in to comment.