Revision 186
- Date:
- 2012/02/14 19:17:08
- Files:
Legend:
- Added
- Removed
- Modified
-
koi8/core/comps/contenido/components/document_links_list.msn
16 16 % my $doc = ref $destination ? $docs->{$link->source_id} : $docs->{$link->dest_id}; 17 17 <tr bgcolor="<% $i++ % 2 ? 'white' : '#f0f0f0' %>"> 18 18 % if ( ref $doc ) { 19 % my $style = $link->status ? '' : ' color:#606060;'; 19 % my $style = $link->contenido_status_style ? $link->contenido_status_style : $link->status ? '' : ' color:#606060;'; 20 20 <td style="width:40px; text-align:center;"><input type="checkbox" name="links" value="link_<% $link->id %>_<% $doc->id %>_<% $link->class %>"></td> 21 21 <td><a href="document.html?class=<% $doc->class %>&id=<% $doc->id %>" target="_blank" style="<% $style %>"><% $doc->name %></a></td> 22 22 % } else { -
koi8/core/comps/contenido/document_filter_list.html
17 17 % foreach my $doc (@$docs) { 18 18 % my $document_access = $user->section_accesses($user, $doc->section); 19 19 % my $color = $doc->contenido_status_style ? $doc->contenido_status_style : 20 % $doc->status == 1 ? 'blue' : 21 % $doc->status == 0 ? 'gray' : 'blue'; 20 % $doc->status == 1 ? 'color:blue;' : 21 % $doc->status == 0 ? 'color:gray;' : 'color:blue;'; 22 22 % my ($a1, $a2) = $document_access == 2 ? ('<a href="document.html?id='.$doc->id.'&class='.$doc->class.'" style="'.$color.'" target="_blank">', '</a>') : ('',''); 23 23 %# my ($stat) = grep { $_->{attr} eq 'status' } @props; 24 24 %# my ($case) = grep { $_->[0] == $banner->status } @{ $stat->{cases} } if ref $stat eq 'HASH' && exists $stat->{cases};