File: adminfo.html

package info (click to toggle)
torrus 3.00-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 4,548 kB
  • sloc: perl: 34,614; xml: 20,934; sh: 3,650; makefile: 713
file content (38 lines) | stat: -rw-r--r-- 788 bytes parent folder | download | duplicates (10)
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
[% PROCESS 'html-incblocks.txt' %]
[% INCLUDE htmlstart
     title='Administrative information: ' _ path(token)
     contentClass="SingleColumnContent"
     noTopMenu=1 %]

<H1>Administrative information</H1>
[% INCLUDE treename %]
<P>Path: [% path(token) %]</P>

[%
FOREACH category = adminfo.keys.sort;
%]
<H2>[% category %]</H2>
<DIV CLASS="Listing">
[%
  counter = 0;
  evenRow = 0;

  FOREACH pname = adminfo.$category.keys.sort;
    counter = counter + 1;
    IF counter % 2 == 0;
      evenRow = 1;
    ELSE;
      evenRow = 0;
    END;
%]
  <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
    <SPAN CLASS="NodeName">[% pname %]</SPAN>
    <SPAN CLASS="NodeDescr">[% adminfo.$category.$pname %]</SPAN>
    </SPAN>
  </DIV>
[% END %]
</DIV>
[%
END %]

[% INCLUDE htmlend %]