1 |
296 |
ahitrov |
<div style="width: 950px"> |
2 |
|
|
<div style="padding: 0px 20px 10px 70px;"> |
3 |
|
|
% if ( ref $img && exists $img->{filename} ) { |
4 |
|
|
<img src="<% $img->{filename} %>" border="0" align="left" class="img" width="<% $img->{width} %>" height="<% $img->{height} %>" alt="<% $document->name %>" title="<% $document->name %>"> |
5 |
|
|
% } |
6 |
|
|
<h2><% $document->name %></h2> |
7 |
|
|
<div class="txt"> |
8 |
|
|
<p><& /inc/text_format.msn, doc => $document &></p> |
9 |
|
|
</div> |
10 |
|
|
</div> |
11 |
|
|
</div> |
12 |
|
|
<%args> |
13 |
|
|
|
14 |
|
|
$document => undef |
15 |
|
|
|
16 |
|
|
</%args> |
17 |
|
|
<%init> |
18 |
|
|
|
19 |
|
|
return unless ref $document; |
20 |
|
|
my $img = $document->get_image('picture'); |
21 |
|
|
|
22 |
|
|
</%init> |