• sections.html

    606 607  
    15 15
    16 16 <table width="100%" cellspacing="0" cellpadding="0" border="0">
    17 17 <tr valign="top">
    18 <td width="35%">
    18 <td id="column-side">
    19 19
    20 20 <& "/contenido/components/subsection.msn", section => $owner &>
    21 21 <& "/contenido/components/class_filter.msn", class=> $class, section => $owner &>
     
    54 54 </fieldset>
    55 55
    56 56 </td>
    57 <td width="2%">&nbsp;</td>
    58 <td width="65%">
    59
    57 <td width="2%"><a href="javascript:void()" class="width-toggler"><img src="/contenido/i/icons/left-right.png" width="30"></a></td>
    58 <td id="column-content">
    60 59 % if($owner->id) {
    61 60
    62 61 <fieldset>
     
    160 159
    161 160 </body>
    162 161 </html>
    162 <%once>
    163
    164 my $cookie_name = 'content_fullwidth';
    165
    166 </%once>
    163 167 <%args>
    164 168
    165 169 $id => undef
     
    177 181 <%init>
    178 182
    179 183 $id = 0 if $id =~ /\D/;
    184 my $content_fullwidth = $m->comp('/contenido/components/cookies.msn', name => $cookie_name);
    185
    180 186 my $owner;
    181 187
    182 188 # Операции...
     
    481 487 if ($class && !$use_section) {
    482 488 @documents = $keeper->get_documents(%filter, %order, limit=>$n, offset=>$first);
    483 489 } elsif ($sorted) {
    484 @documents = $keeper->get_sorted_documents(%filter, limit=>$n, offset=>$first);
    490 @documents = $keeper->get_sorted_documents(%filter);
    485 491 } else {
    486 492 @documents = $keeper->get_documents(%filter, %order, limit=>$n, offset=>$first);
    487 493 }