diff options
author | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-08-15 12:46:58 +0000 |
---|---|---|
committer | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-08-15 12:46:58 +0000 |
commit | 69925240734c9e7d0a562e695b3690c2960b96d6 (patch) | |
tree | 89d04447b15434e8a4bded8d61c1b615dd22fef1 | |
parent | 9b04223e3b238ca17bc8a62ee860128fb4279e24 (diff) |
Small code cleanup in /tpl/tindex, and added link to start a new thread on the db tag
git-svn-id: svn://vndb.org/vndb@89 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
-rw-r--r-- | data/tpl/tindex | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/data/tpl/tindex b/data/tpl/tindex index 89608b11..cb9cd154 100644 --- a/data/tpl/tindex +++ b/data/tpl/tindex @@ -16,17 +16,8 @@ <br /> <h3>[[: $VNDB::DTAGS->{$tag} ]]</h3> -<!--<p class="desc"> - <i>[[: $desc{$tag} ]]</i> -</p>--> [[ if(@{$d{$tag}}) { ]]- <table id="tin"> - <!--<thead><tr> - <td class="tc1">Topic</td> - <td class="tc2">Replies</td> - <td class="tc3">Starter</td> - <td class="tc4">Last post</td> - </tr></thead>--> [[ for (@{$d{$tag}}) { ]]- <tr> <td class="tc1"> @@ -42,6 +33,10 @@ [[ } ]] </table> <a class="right" href="/t/[[= $tag ]]">more...</a> +[[ if($tag eq 'db') { ]]- + <a class="right" href="/t/[[= $tag ]]/new" style="padding-right: 10px">start new thread</a> +[[ } ]] + [[ } else { ]]- <p>No threads yet. -[[ if($tag eq 'db') { ]] |