XTHML strict File Folder template including Colin's fix for bug 1454694
This commit is contained in:
parent
8dc1a74e5a
commit
f375a5d4b7
1 changed files with 47 additions and 0 deletions
47
docs/upgrades/templates-6.99.0/wgtemplate_file_folder.tmpl
Normal file
47
docs/upgrades/templates-6.99.0/wgtemplate_file_folder.tmpl
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue