File: data%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 (72 lines) | stat: -rwxr-xr-x 1,588 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
61
62
63
64
65
66
67
68
69
70
71
72
__section__
default
__description__
Repository for random data elements.

* value = the name of the data element to retrieve

Each data element may have any number of other variables.
__title__

__page__
submit
__lang__
en_US
__name__
data
__template__
[% SWITCH value %]

[% CASE 'header' %]
	[% constants.sitename %] Submissions[% tbtitle %]

[% CASE 'updatehead' %]
	[% IF subids.size > 0 %]
		Deleting [% subids.size %]
		[% IF subids.size == 1 %] submission [% ELSE %] submissions [% END %]
		[% IF subids.size <= 3 %] ( [% subids.join(', ') %] ) [% END %]
	[% END %]

[% CASE 'quickieshead' %]
	Quickies Generated

[% CASE 'previewhead' %]
	[% constants.sitename %] Submission Preview

[% CASE 'defaulthead' %]
	[% constants.sitename %] Submissions

[% CASE 'maxallowed' %]
	<P><B>Warning! you've exceeded max allowed submissions for the day : 
	[% constants.max_submissions_allowed %]</B></P>

[% CASE 'max_submissionsize_title' %]
	<B>Submission too large!</B>

[% CASE 'max_submissionsize_err' %]
	<P><B>Warning! You submission has exceeded the max allowable size 
	that can be inserted into the system: [% size %] bytes.</B></P>
	<P>If you try to save your submission as it is, it could be truncated</P>

[% CASE 'error' %]
	Error

[% CASE 'filtererror' %]
	<P>Lameness filter: <B>[% err_message %]</B></P>

[% CASE 'compresserror' %]
	<B>compression has detected something wrong with your submission</B>

[% CASE 'badsubject' %]
	Please enter a reasonable subject.

[% CASE 'defaultsection' %]
	All Sections

[% CASE 'defaultnote' %]
	Unclassified

[% END %]

__seclev__
10000