summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-09 20:07:03 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-09 20:07:03 +0000
commitacb5ba66fb23983dc78acc90bcc98cc9603e38bc (patch)
tree3555ec21d0bbb40156faea202730beae1f8c1d97 /modules
parent030d4d52801904703de5aa776c463b003b4ee080 (diff)
downloadfisheye-acb5ba66fb23983dc78acc90bcc98cc9603e38bc.tar.gz
fisheye-acb5ba66fb23983dc78acc90bcc98cc9603e38bc.tar.bz2
fisheye-acb5ba66fb23983dc78acc90bcc98cc9603e38bc.zip
one help file for each module (that takes parameters), html code change from <table> to <dl>
Diffstat (limited to 'modules')
-rw-r--r--modules/help_mod_images.tpl55
1 files changed, 22 insertions, 33 deletions
diff --git a/modules/help_mod_images.tpl b/modules/help_mod_images.tpl
index a47675c..a5bc7f7 100644
--- a/modules/help_mod_images.tpl
+++ b/modules/help_mod_images.tpl
@@ -1,33 +1,22 @@
-{tr}<strong>Summary</strong>: Display images from the fisheye gallery.{/tr}<br />
-<table class="data">
- <tr>
- <th style="width:20%;">{tr}Parameter{/tr}</th>
- <th style="width:20%;">{tr}Value{/tr}</th>
- <th style="width:60%;">{tr}Description{/tr}</th>
- </tr>
- <tr class="odd">
- <td>sort_mode</td>
- <td>created<br />hits<br />random</td>
- <td>{tr}Here you can modify what the sort criteria is (default is random).{/tr}</td>
- </tr>
- <tr class="even">
- <td>maxlen</td>
- <td>( {tr}numeric{/tr} )</td>
- <td>{tr}Truncate the title to the specified number of letters.{/tr}</td>
- </tr>
- <tr class="odd">
- <td>description</td>
- <td>( {tr}boolean{/tr} )</td>
- <td>{tr}If set, image description is shown as well.{/tr}</td>
- </tr>
- <tr class="even">
- <td>maxlendesc</td>
- <td>( {tr}numeric{/tr} )</td>
- <td>{tr}Truncate the description to the specified number of letters.{/tr}</td>
- </tr>
- <tr class="odd">
- <td>recent_users</td>
- <td>( {tr}boolean{/tr} )</td>
- <td>{tr}This will display the most recent image from the most recent users.{/tr}</td>
- </tr>
-</table>
+<p class="note">
+ {tr}Display images from the fisheye gallery. If <kbd>maxlen</kbd> is set, the image's title is shown, and truncated to the specified number of letters. If <kbd class="param">description</kbd> is set, the image's description is shown and can be truncated by setting <kbd>maxlendesc</kbd>. <kbd>recent_users</kbd> will display the most recent image from the most recent users.{/tr}
+ <br />
+ <span class="example">{tr}Example:{/tr} <kbd>sort_mode=hits&maxlen=111&description=yes&maxlendesc=222</kbd></span>
+</p>
+
+<dl>
+ <dt class="param"><kbd>sort_mode</kbd></dt>
+ <dd><abbr title="default" class="default">{tr}random{/tr}</abbr>, created, hits</dd>
+
+ <dt class="param"><kbd>maxlen</kbd></dt>
+ <dd><em>{tr}Boolean{/tr}</em></dd>
+
+ <dt class="param"><kbd>description</kbd></dt>
+ <dd><em>{tr}Boolean{/tr}</em></dd>
+
+ <dt class="param"><kbd>maxlendesc</kbd></dt>
+ <dd><em>{tr}Numeric{/tr}</em></dd>
+
+ <dt class="param"><kbd>recent_users</kbd></dt>
+ <dd><em>{tr}Boolean{/tr}</em></dd>
+</dl> \ No newline at end of file