Revision 850

Date:
2023/05/30 20:29:28
Author:
ahitrov
Revision Log:
Project component for additional actions

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/core/comps/contenido/sections.html

     
    92 92 </tr>
    93 93 </table>
    94 94 <div style="font-size:12px; font-family:Arial;">
    95 <table border="0" cellspacing="0" cellpadding="2" width="100%" style="margin:4px 0 0; border:1px solid gray;">
    95 <table border="0" cellspacing="0" cellpadding="2" width="100%" style="margin:5px 0; border:1px solid gray;">
    96 96 <tr bgcolor="#e0e0e0"><th colspan="4">Поиск по букве:&nbsp;&nbsp;[<a href="?id=<% $id %>" style="font-weight:normal;">сброс фильтра</a>]</th></tr>
    97 97 <tr><td style="font-size:12px; font-family:Arial; padding:2px 4px;">
    98 98 <& /inc/alpha.msn, alpha=>$alpha, params=>\%ARGS, &>
     
    106 106 % if ( @fields ) {
    107 107 % my @props = $document->required_properties;
    108 108 <form action="sections.html">
    109 <table border="0" cellspacing="0" cellpadding="2" width="100%" style="margin:4px 0; border:1px solid gray;">
    109 <table border="0" cellspacing="0" cellpadding="2" width="100%" style="margin:5px 0; border:1px solid gray;">
    110 110 <tr bgcolor="#e0e0e0"><th colspan="4">Поиск по полю:&nbsp;&nbsp;[<a href="?id=<% $id %>" style="font-weight:normal;">сброс фильтра</a>]</th></tr><tr>
    111 111 <td width="1%" nowrap style="padding:2px 0 2px 4px;"><select name="search_by">
    112 112 % foreach my $field ( @fields ) {
     
    114 114 % my $selected = $field eq $search_by ? ' selected' : '';
    115 115 <option value="<% $field %>"<% $selected %>><% ref $prop ? $prop->{'shortname'} || $prop->{'rusname'} : $field %>
    116 116 % }
    117 </td><td width="0">:</td>
    117 </select></td><td width="0">:</td>
    118 118 <td width="98%"><input type="text" name="search" value="<% $search %>" style="width:100%"></td>
    119 119 <td width="1%" style="padding:2px 4px 2px 0;"><input type="submit" value=" &raquo; " style="border:1px solid gray;"></td>
    120 120 </tr></table>
     
    131 131 % }
    132 132 % }
    133 133
    134 % if ( $m->comp_exists ("/contenido/components/sections_actions.msn") ) {
    135 <& "/contenido/components/sections_actions.msn", section => $owner, documents => \@documents, columns => \@columns, filter => \%filter_params, %ARGS &>\
    136 % }
    137
    134 138 <div style="height:5px"><spacer type="block" height="5"></div>
    135 139 % if ( $owner->no_count ) {
    136 140 <& /inc/pages_nocount.msn, p=>$p, n=>$n, found=> scalar @documents, href=>'sections.html', params=>\%ARGS, size => 15 &>