XTHML strict File Folder template including Colin's fix for bug 1454694

This commit is contained in:
Steve Swanson 2006-03-22 21:57:35 +00:00
parent 8dc1a74e5a
commit f375a5d4b7

View file

@ -0,0 +1,47 @@
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
<tmpl_if session.var.adminOn> <p><tmpl_var controls></p> </tmpl_if>
<tmpl_if displayTitle> <h2><tmpl_var title></h2> </tmpl_if>
<tmpl_if description> <tmpl_var description> </tmpl_if>
<tmpl_if session.var.adminOn> <p><a href="<tmpl_var url>?func=add&class=WebGUI::Asset::FilePile">Add files.</a></p> </tmpl_if>
<table width="100%" cellpadding="3" cellspacing="0" class="content">
<tmpl_loop subfolder_loop>
<tr>
<td class="tableData" valign="top">
<tmpl_if canView>
<a href="<tmpl_var url>"><img src="<tmpl_var icon.small>" border="0" alt="<tmpl_var title>" /></a>
<a href="<tmpl_var url>"><tmpl_var title></a>
<tmpl_else>
<img src="<tmpl_var icon.small>" border="0" alt="<tmpl_var title>" /><tmpl_var title>
</tmpl_if>
</td>
<td class="tableData" valign="top" colspan="3">
<tmpl_var synopsis>
</td>
</tr>
</tmpl_loop>
<tmpl_loop file_loop>
<tr>
<td valign="top" class="tableData">
<tmpl_if session.var.adminOn>
<tmpl_if canEdit>
<tmpl_var controls>
</tmpl_if>
</tmpl_if>
<tmpl_if canView>
<a href="<tmpl_if isFile><tmpl_var file.url><tmpl_else><tmpl_var url></tmpl_if>"><img src="<tmpl_var icon.small>" border="0" alt="<tmpl_var title>" /></a>
<a href="<tmpl_if isFile><tmpl_var file.url><tmpl_else><tmpl_var url></tmpl_if>"><tmpl_var title></a>
<tmpl_else>
<img src="<tmpl_var icon.small>" border="0" alt="<tmpl_var title>" /><tmpl_var title>
</tmpl_if>
</td> <td class="tableData" valign="top">
<tmpl_var synopsis></td><td class="tableData" valign="top">^D("%z %Z",<tmpl_var date.epoch>);</td>
<td class="tableData" valign="top"><tmpl_var size></td></tr>
</tmpl_loop>
</table>