File: data%3BpollBooth%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 (50 lines) | stat: -rwxr-xr-x 948 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
__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__
pollBooth
__lang__
en_US
__name__
data
__template__
[% SWITCH value %]

[% CASE 'title' %]
	[% constants.sitename %] Poll

[% CASE 'edit_poll_title' %]
	[% IF qid %]Editing Poll #[% qid %][% ELSE %]New Poll[% END %]

[% CASE 'invalid' %]
	Invalid poll!<BR>

[% CASE 'display' %]
	Displaying poll results.

[% CASE 'anon' %]
	You may not vote anonymously.  Please <A HREF="[% constants.rootdir %]/users.pl">log in</A>.

[% CASE 'uid_voted' %]
	[% user.nickname %] at [% env.remote_addr %] has already voted.
	[% IF env.http_x_forwarded_for %]
	(proxy for env.http_x_forwarded_for)
	[% END %]

[% CASE 'success' %]
	Your vote ([% aid %]) has been registered.

[% CASE 'reject' %]
	Your vote ([% aid %]) was rejected.

[% END %]

__seclev__
10000