Revision 516
- Date:
- 2015/09/22 12:30:52
- Files:
Legend:
- Added
- Removed
- Modified
-
utf8/core/comps/contenido/components/pbase_links.msn
54 54 % $auto .= '&from='.$from.'&to='.$document->$to; 55 55 % } 56 56 % } 57 % my $class_param; 58 % if ( ref $link->{class} eq 'ARRAY' ) { 59 % $class_param = join '&', map { 'class='.$_ } @{$link->{class}}; 60 % } else { 61 % $class_param = 'class='.$link->{class}; 62 % } 57 63 <span id="tab_<% $i %>" class="tab<% $i ? 'i' : '' %>"><a onclick="SetActive('tab_<% $i %>')" 58 href="/contenido/document_filter_list.html?class=<% $link->{class} %>&filter=<% $link->{filter} %>&field=<% $link->{field} %><% $auto %>&id=<% $document->$id %><% exists $link->{order_by} ? '&order_by='.$link->{order_by} : '' %>" 64 href="/contenido/document_filter_list.html?<% $class_param %>&filter=<% $link->{filter} %>&field=<% $link->{field} %><% $auto %>&id=<% $document->$id %><% exists $link->{order_by} ? '&order_by='.$link->{order_by} : '' %>" 59 65 target="filtered"><% $link->{name} %></a></span>\ 60 66 % $i++; 61 67 % } -
utf8/core/comps/contenido/document_filter_list.html
1 1 <& "/contenido/components/title.msn" &> 2 % if ( ref $class eq 'ARRAY' ) { 3 <div style="font:bold 13px Verdana; margin:4px;">Классы: 4 % foreach my $cls ( @$class ) { 5 <span style="color:teal;"><% $cls %></span> <span style="font:11px Verdana;">(<a href="document.html?class=<% $cls %>&<% $field %>=<% $id %><% $defaults %>" target="_blank">создать</a>)</span> | 6 % } 7 </div> 8 % } else { 2 9 <div style="font:bold 13px Verdana; margin:4px;">Класс: <span style="color:teal;"><% $class %></span> 3 10 <span style="font:11px Verdana;">(<a href="document.html?class=<% $class %>&<% $field %>=<% $id %><% $defaults %>" target="_blank">создать новый</a>)</span></div> 11 % } 4 12 % if ( ref $docs eq 'ARRAY' && @$docs ) { 5 13 % if ($total > $size) { 6 14 <div style="font-size:12px; font-family:Arial; text-align:center;">