File: data%3Bsections%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 (52 lines) | stat: -rwxr-xr-x 1,063 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
__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__
sections
__lang__
en_US
__name__
data
__template__
[% SWITCH value %]

[% CASE 'head' %]
	Section Editor

[% CASE 'notadmin' %]
<PRE>
         I woke up in the Soho bar when a policeman knew my name. He said,
         "You can go sleep at home tonite if you can get up and walk away."
         I staggered back to the underground and a breeze threw back my
         head. I remember throwing punches around and preachin' from my chair.
                         From 'Who Are You' by God (aka Pete Townshend)<BR></PRE>

[% CASE 'insert' %]
	Inserted [% section %]<BR>

[% CASE 'update' %]
	Updated [% section %]<BR>

[% CASE 'addhead' %]
	Add Section

[% CASE 'listhead' %]
	Sections

[% CASE 'edithead' %]
	Editing [% form.section | strip_nohtml %] Section

[% CASE 'savehead' %]
	Saving [% form.section | strip_nohtml %] Section

[% END %]

__seclev__
10000