Revision 120

Date:
2011/08/22 15:52:02
Author:
ahitrov
Revision Log:
Letter size balance
Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/core/comps/contenido/components/__section_tree__.msn

     
    45 45 my ($statcase) = grep { $_->[0] == $sect->status } @{$statprop->{cases}} if exists $statprop->{cases} && ref $statprop->{cases} eq 'ARRAY';
    46 46 my $statname = $statcase->[1] if ref $statcase;
    47 47 my $html_sect = '<span'.($statstyle).(!$sect->status ? ' class="hiddensect"' : '').'>'.($section_access ? '<a href="'.$href.'"'.$statstyle.'>' : '').$sname.($section_access ? '</a>' : '') . '&nbsp;'.($sect->status != 1 && $statname ? '&nbsp;<span style="font-size:11px;">('.$statname.')</span>' : '').'</span>';
    48 my $style = ($offset == 1) ? ($viewmode ? ' style="font-size:110%;"':' style="font-size:95%;"') : '';
    48 my $style = ($offset == 1) ? ($viewmode ? ' style="font-size:16px;font-weight:bold;"':' style="font-size:14px;"') : ' style="font-size:12px;"';
    49 49
    50 50 $m->out(<<EOT);
    51 51 <tr>
     
    64 64 {
    65 65 my $fhref = '/contenido/?set_context=filter-'.$sect->id();
    66 66 my $new_doc_class = $sect->default_document_class;
    67 $m->out(qq^\n<td align="center" nowrap><a href="$fhref">уст.фильтр</a>^);
    67 $m->out(qq^\n<td align="center" nowrap>^);
    68 $m->out(qq^<a href="section.html?id=$sect->{id}" title="Редактировать параметры секции"><img src="/contenido/i/actions/edit.gif" width="15" height="17" align="absmiddle" border="0"></a>&nbsp;&nbsp;&nbsp;^);
    69 $m->out(qq^<a href="$fhref">фильтр</a>^);
    68 70 $m->out(qq^&nbsp;&nbsp;&nbsp;<a href="document.html?sect_id=$sect->{id}&class=$new_doc_class">доб.докум</a>^) if $section_access == 2 and $new_doc_class;
    69 71 $m->out("</td>");
    70 72 }