wiki-archive/twiki/templates/attachtables.classic.tmpl

44 lines
1.8 KiB
Cheetah

%{ These templates define the tables used to display attachments. }%
%{ Header definition for topic attachments and top table in attach screen }%
%TMPL:DEF{ATTACH:files:header(basic)}%<div class="twikiAttachments">
| *[[%TWIKIWEB%.FileAttachment][Attachment]]* | *Action* | *Size* | *Date* | *Who* | *Comment* |%TMPL:END%
%{ A basic row definition, for attachment table and attach screen }%
%TMPL:DEF{ATTACH:files:row(basic)}%| %A_ICON% <a href="%A_URL%">%A_FILE%</a> | <a href="%SCRIPTURLPATH{"attach"}%/%WEB%/%TOPIC%?filename=%ENCODE{"%A_FILE%"}%&revInfo=1" title="change, update, previous revisions, move, delete..." rel='nofollow'>manage</a> | %A_SIZE% | %A_DATE% | %A_USER% | %A_COMMENT% |%TMPL:END%
%{ Header for topic attachment table }%
%TMPL:DEF{ATTACH:files:header}%%TMPL:P{ATTACH:files:header(basic)}%
%TMPL:END%
%{ Row for topic attachment table }%
%TMPL:DEF{ATTACH:files:row}%%TMPL:P{ATTACH:files:row(basic)}%
%TMPL:END%
%{ Footer for topic attachment table }%
%TMPL:DEF{ATTACH:files:footer}%</div>%TMPL:END%
%{ Header for table at top of attach screen }%
%TMPL:DEF{ATTACH:files:header:A}%
%TMPL:P{ATTACH:files:header(basic)}% *[[%TWIKIWEB%.FileAttribute][Attribute]]* |
%TMPL:END%
%{ Row for table at top of attach screen }%
%TMPL:DEF{ATTACH:files:row:A}%%TMPL:P{ATTACH:files:row(basic)}% %A_ATTRS% |
%TMPL:END%
%{ Footer for table at top of attach screen }%
%TMPL:DEF{ATTACH:files:footer:A}%
</div>%TMPL:END%
%{ Header for versions table in attach screen }%
%TMPL:DEF{ATTACH:versions:header}%
| *Version* | *Action* | *Date* | *Who* | *Comment* |%TMPL:END%
%{ Row for versions table in attach screen }%
%TMPL:DEF{ATTACH:versions:row}%
| %A_REV% | <a href="%A_URL%">view</a> | %A_DATE% | %A_USER% | %A_COMMENT% |%TMPL:END%
%{ Footer for versions table in attach screen }%
%TMPL:DEF{ATTACH:versions:footer}%%TMPL:END%