per-agent configuration of batch processors, #71837
[freeside.git] / torrus / templates / default-chooser.html
1 [% PROCESS 'html-incblocks.txt' %]
2 [% INCLUDE htmlstart
3      title="Torrus Top: " _ companyName
4      contentClass="SingleColumnContent"
5      noTopMenu=1 %]
6
7 <P>Choose the datasource tree</P>
8
9 <DIV CLASS="Listing">
10 [%   counter = 0;
11      evenRow = 0;
12
13      FOREACH tree = treeNames();
14
15      IF not userAuth or mayDisplayTree(tree);
16          counter = counter + 1;
17
18          IF counter % 2 == 0;
19            evenRow = 1;
20          ELSE;
21            evenRow = 0;
22          END;
23 %]
24
25   <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
26     <SPAN CLASS="NodeName"><A HREF="[%url(tree)%]">[% tree %]</A></SPAN>
27     <SPAN CLASS="NodeDescr">[% xmlnorm(treeDescr(tree)) %]</SPAN>
28   </DIV>
29   [% END %]
30 [% END %]
31 </DIV>
32
33 </DIV><!-- Content -->[% global.contentFinished = 1 %]
34 <DIV CLASS="BottomMenu">
35 [% INCLUDE globalsearchdialog %]
36 </DIV>
37 [% INCLUDE htmlend %]