[Openupload-svn-update] SF.net SVN: openupload:[237] trunk/templates/default/modules/files
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2009-02-06 19:20:30
|
Revision: 237
http://openupload.svn.sourceforge.net/openupload/?rev=237&view=rev
Author: tsdogs
Date: 2009-02-06 19:20:26 +0000 (Fri, 06 Feb 2009)
Log Message:
-----------
Add preliminary Personal file listing
Added Paths:
-----------
trunk/templates/default/modules/files/fileDetail.tpl
trunk/templates/default/modules/files/fileList.tpl
Added: trunk/templates/default/modules/files/fileDetail.tpl
===================================================================
--- trunk/templates/default/modules/files/fileDetail.tpl (rev 0)
+++ trunk/templates/default/modules/files/fileDetail.tpl 2009-02-06 19:20:26 UTC (rev 237)
@@ -0,0 +1,20 @@
+<center>
+<table border="0">
+ <tr><td>{tr}ID{/tr}:</td><td><b>{$finfo.id}</b></td></tr>
+ <tr><td>{tr}File description{/tr}:</td><td><b>{$finfo.description}</b></td></tr>
+ <tr><td>{tr}Date{/tr}:</td><td><b>{$finfo.upload_date}</b></td></tr>
+{foreach from=$files item=f key=k}
+ <tr><td>{tr}File name{/tr}:</td><td><b>{$f.name}</b></td></tr>
+ <tr><td>{tr}File size{/tr}:</td><td><b>{$f.size|fsize_format}</b></td></tr>
+{/foreach}
+{$plugins}
+</table>
+</center>
+<hr />
+<table border="0">
+<tr><td>{tr}Download link{/tr}:</td>
+<td><a href="{$finfo.downloadlink}">{$finfo.downloadlink}</a>
+ </td></tr>
+<tr><td>{tr}Remove link{/tr}:</td><td>
+<a href="{$finfo.removelink}">{$finfo.removelink}</a></td></tr>
+</table>
\ No newline at end of file
Added: trunk/templates/default/modules/files/fileList.tpl
===================================================================
--- trunk/templates/default/modules/files/fileList.tpl (rev 0)
+++ trunk/templates/default/modules/files/fileList.tpl 2009-02-06 19:20:26 UTC (rev 237)
@@ -0,0 +1,18 @@
+<table border="0" id="dbtable">
+<tr>
+ <th width="150">{tr}ID{/tr}</th>
+ <th width="150">{tr}File name{/tr}</th>
+ <th width="200">{tr}Description{/tr}</th>
+ <th width="140">{tr}Date{/tr}</th>
+ <th width="80">{tr}File size{/tr}</th>
+</tr>
+{foreach from=$files item=f}
+<tr>
+ <td><a href="{$script}?action=l&step={$nextstep}&id={$f.id}">{$f.id}</a></td>
+ <td>{$f.name}</td>
+ <td>{$f.description}</td>
+ <td>{$f.upload_date}</td>
+ <td align="right">{$f.size|fsize_format}</td>
+</tr>
+{/foreach}
+</table>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|