-
order_browse.msn
255 256 18 18 <table width="100%" border="0" cellpadding="4" cellspacing="0" class="tlistdocs"> 19 19 <tr bgcolor="#efefef"> 20 20 <th><a href="javascript:delete_check()" onclick="delete_check(); return false;"><img src="/contenido/i/actions/delete.gif" width="14" height="17" alt="Удаление документов" align="absmiddle" border="0" hspace="1"></a></th> 21 <th>#</th> 21 22 % 22 23 % foreach (@$columns) { 23 24 <th><% $_->{shortname} || $_->{rusname} %></th> … … 32 33 % 33 34 % next unless ref($document); 34 35 % my $document_access = $user->section_accesses($user, $document->section); 36 % my $style = $document->contenido_status_style ? ' style="'.$document->contenido_status_style.'"' : ''; 37 % my ($a1, $a2) = $href ? ('<a href="./'.$href.'?id='.$document->id.($params_unclassed ? '&'.$params_unclassed : '').'"'.$style.'>','</a>') : ('',''); 35 38 % 36 39 <tr valign="top"> 37 40 <td nowrap>\ … … 42 45 43 46 % } 44 47 </td> 48 <td><span<% $style %> class="<% $document->status ? '':'hiddensect' %>"><% $a1.$document->id.$a2 %></span></td> 45 49 % 46 50 % for my $col (@$columns) { 47 51 % if ($col->{attr} eq 'dtime') { … … 53 57 % } 54 58 % 55 59 % } elsif ($col->{attr} eq 'name') { 56 % my $style = $document->contenido_status_style ? ' style="'.$document->contenido_status_style.'"' : ''; 57 % my ($a1, $a2) = $href ? ('<a href="./'.$href.'?id='.$document->id.($params_unclassed ? '&'.$params_unclassed : '').'"'.$style.'>','</a>') : ('',''); 58 60 <td><span<% $style %> class="<% $document->status ? '':'hiddensect' %>">\ 59 61 % 60 62 % my $name=$document->name ? $document->name : 'Безымянный документ N'.$document->id;