diff options
Diffstat (limited to 'data/tpl/tindex')
-rw-r--r-- | data/tpl/tindex | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/data/tpl/tindex b/data/tpl/tindex deleted file mode 100644 index cb9cd154..00000000 --- a/data/tpl/tindex +++ /dev/null @@ -1,49 +0,0 @@ -<h2>[[: $p{PageTitle} ]]</h2> - -[[ - my %desc = ( - an => 'Yorhel\'s place to make useless announcements...', - db => 'General discussions about VNDB.org. This is the place to be for feature requests and bug reports.', - v => 'Discussions about the visual novels in the database', - p => '...Producers', - r => '...Releases', - u => 'Messages to or discussions about other users on this site.' - ); -]] - - -[[ for my $tag (qw|an db v p u|) { ]]- - -<br /> -<h3>[[: $VNDB::DTAGS->{$tag} ]]</h3> -[[ if(@{$d{$tag}}) { ]]- -<table id="tin"> -[[ for (@{$d{$tag}}) { ]]- - <tr> - <td class="tc1"> - <a href="/t[[= $_->{id} ]]" title="[[= join ', ', sort map $$_[1]?$$_[0].$$_[1]:$$_[0], @{$_->{tags}} ]]">[[: $_->{title} ]]</a> - [[ if($_->{locked}) { ]]- <b>[locked]</b>[[ } ]] - </td> - <td class="tc2">[[= $_->{count}-1 ]]</td> - <td class="tc3">[[= userstr $_ ]]</td> - <td class="tc4">[[= userstr $_->{luid}, $_->{lusername} ]]- @ - <a href="/t[[= $_->{id}.($_->{count}>$d{ppp}?'/'.ceil($_->{count}/$d{ppp}):'').'#'.$_->{count} ]]"> - [[= age $_->{ldate} ]]</a></td> - </tr> -[[ } ]] -</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') { ]] - <a href="/t/[[= $tag ]]/new">Start a new thread.</a> - [[ } ]] - </p> -[[ } ]] -<br /> - -[[ } ]] |