summaryrefslogtreecommitdiff
path: root/templates/userversions.tpl
diff options
context:
space:
mode:
authorbitweaver.org <bitweaver@users.sourceforge.net>2005-06-19 05:12:24 +0000
committerbitweaver.org <bitweaver@users.sourceforge.net>2005-06-19 05:12:24 +0000
commit657b3b2cb4d1ecb68c78320bdc03151590a9e6cd (patch)
treec88e26bedb5f01d457e28d07d6b7aa08ed13cdd1 /templates/userversions.tpl
downloadusers-657b3b2cb4d1ecb68c78320bdc03151590a9e6cd.tar.gz
users-657b3b2cb4d1ecb68c78320bdc03151590a9e6cd.tar.bz2
users-657b3b2cb4d1ecb68c78320bdc03151590a9e6cd.zip
IMPORT TikiPro CLYDE FINAL
Diffstat (limited to 'templates/userversions.tpl')
-rw-r--r--templates/userversions.tpl34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/userversions.tpl b/templates/userversions.tpl
new file mode 100644
index 0000000..b2e0402
--- /dev/null
+++ b/templates/userversions.tpl
@@ -0,0 +1,34 @@
+<h2>{tr}User_versions_for{/tr}: {$ruser}</h2>
+{if $preview}
+<h2>{tr}Version{/tr}: {$version}</h2>
+<div class="wikibody">{$preview.data}</div>
+<br />
+{/if}
+<br />
+<div align="center">
+<table>
+<tr>
+<th>{tr}Date{/tr}</th>
+<th>{tr}Page{/tr}</th>
+<th>{tr}Version{/tr}</th>
+<th>{tr}Ip{/tr}</th>
+<th>{tr}Comment{/tr}</th>
+<th>{tr}Action{/tr}</th>
+</tr>
+{cycle values="even,odd" print=false}
+{section name=hist loop=$history}
+<tr class="{cycle}">
+<td>{$history[hist].last_modified|bit_long_datetime}</td>
+<td><a href="{$gBitLoc.WIKI_PKG_URL}index.php?page={$history[hist].page_name|escape:"url"}">{$history[hist].page_name}</a></td>
+<td>{$history[hist].version}</td>
+<td>{$history[hist].ip}</td>
+<td>{$history[hist].comment}</td>
+<td><a href="{$gBitLoc.USERS_PKG_URL}versions.php?ruser={$ruser}&amp;page={$history[hist].page_name|escape:"url"}&amp;preview=1&amp;version={$history[hist].version}">{tr}view{/tr}</a></td>
+</tr>
+{sectionelse}
+<tr class="norecords"><td colspan="6">
+{tr}No records found{/tr}
+</td></tr>
+{/section}
+</table>
+</div>