Line # Revision Author
1 8 ahitrov@rambler.ru <fieldset>
2 <legend>Подразделы</legend>
3
4 <table width="100%" border="0" cellpadding="3" cellspacing="0" class="tlistdocs">
5 <tr bgcolor="#efefef">
6 <th align="center" width="1%">N</th>
7 <th>Название</th>
8 510 ahitrov <th align="center" width="1%">...</th>
9 8 ahitrov@rambler.ru
10 510 ahitrov <& "/contenido/components/__section_tree__.msn", root=>$section->id, level=>3, mode=>0, width_limit => 40 &>
11 8 ahitrov@rambler.ru
12 </table>
13 % if ($section_access == 2)
14 % {
15 117 ahitrov <div style="font-size:11px;font-family:Tahoma;margin:5px 4px 10px 4px;"><b><a href="section.html?sect_id=<% $section->id %>">Создать подраздел &raquo;</a></b></div>
16 8 ahitrov@rambler.ru % }
17 117 ahitrov <div style="font-size:11px;font-family:Tahoma;margin:5px 4px 10px 4px;"><b><a href="/contenido/?set_context=filter-<% $section->id %>">Установить в качестве фильтра &raquo;</a></b></div>
18 8 ahitrov@rambler.ru </fieldset>
19
20
21 <%ARGS>
22
23 $section => undef
24
25 </%ARGS>
26 <%INIT>
27 return undef if (! ref($section));
28 my $section_access = $user->section_accesses($user, $section->id);
29 </%INIT>