File: subEdAdmin%3Bsubmit%3Bdefault

package info (click to toggle)
slash 2.2.6-8etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,672 kB
  • ctags: 1,915
  • sloc: perl: 23,113; sql: 1,878; sh: 433; makefile: 233
file content (60 lines) | stat: -rwxr-xr-x 1,618 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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__
en_US
__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 %]
		([% sub.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