xmlrpc daemon reliability, RT#40853
[freeside.git] / torrus / templates / tset-list.html
1 [% PROCESS 'html-incblocks.txt' %]
2 [% INCLUDE htmlstart
3      title="Non-empty tokensets"
4      contentClass="SingleColumnContent" %]
5
6 <H1>Non-empty tokensets</H1>
7
8 [% INCLUDE treename %]
9
10 <DIV CLASS="Listing">
11 [%   counter = 0;
12      evenRow = 0;
13
14      FOREACH tset = tsetList();
15        sz = tsetMembers(tset).size;
16
17        IF sz.length > 0 AND sz > 0;
18        
19          counter = counter + 1;
20
21          IF counter % 2 == 0;
22            evenRow = 1;
23          ELSE;
24            evenRow = 0;
25          END;
26 %]
27   <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
28     <SPAN CLASS="TokensetDescr">
29       <A HREF="[%url(tset)%]">[% xmlnorm(param(tset, 'comment')) %]</A>
30       ([% sz %])
31     </SPAN>
32   </DIV>
33        [% END %]
34      [% END %]
35 </DIV>
36
37 [% INCLUDE tsetbottomline %]
38 [% INCLUDE htmlend %]