diff options
author | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-07-29 11:15:07 +0000 |
---|---|---|
committer | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-07-29 11:15:07 +0000 |
commit | 7aea19c2f8e71a7d630b613a57325c4dce1b1363 (patch) | |
tree | b4c2e35d40afc7b3a0a22eb8f509c49b37f5f7db /data/tpl/main | |
parent | a0f440de277653b3c79fd117d026855ec6b78373 (diff) |
- Added release list feature
- Added noindex tag to iid-ttag browser
- Replaced last poster with age of last post on home page
- Merged user vote lists into new vnlist
- Removed 'hide votes' feature
- Fixed users+1 stats bug
- Fixed FF3 JS hack
- Old VNList code is still present, need to decide what to do with that
git-svn-id: svn://vndb.org/vndb@74 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'data/tpl/main')
-rw-r--r-- | data/tpl/main | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/data/tpl/main b/data/tpl/main index 799a1ee8..d0739537 100644 --- a/data/tpl/main +++ b/data/tpl/main @@ -14,12 +14,15 @@ <script src="[[: $p{st} ]]/files/dyna.js?[[= $VNDB::VERSION ]]" type="text/javascript"></script> [[ } ]]- <script src="[[: $p{st} ]]/files/def.js?[[= $VNDB::VERSION ]]" type="text/javascript"></script> -[[ if($p{devshit}) { ]]- +[[ if(0 && $p{devshit}) { ]]- <link rel="icon" href="/favicon.gif" type="image/gif" /> <meta name="robots" content="noindex, nofollow" /> -[[ } elsif($p{userlist} || $p{userpage} || $p{userlogin} || $p{userreg} || $p{userpass} || $p{myvotes} - || $p{vnlist} || $p{hist} || ($p{vnpage} && $p{vnpage}{page} eq 'stats') - || grep { $p{$_} && $p{$_}{change} } qw|vnpage ppage rpage|) { ]]- +[[ } elsif( + grep($p{$_}, qw| userlist userpage userlogin userreg userpass vnlist rlist hist |) + || ($p{ttag} && $p{ttag}{iid}) + || ($p{vnpage} && $p{vnpage}{page} eq 'stats') + || grep { $p{$_} && $p{$_}{change} } qw|vnpage ppage rpage| + ) { ]]- <meta name="robots" content="noindex, follow" /> [[ }]]- @@ -61,13 +64,13 @@ [[ if($p{pbrowse}) { %d = %{$p{pbrowse}}; ]] [[+ pbrowse ]][[ } ]] [[ if($p{pedit}) { %d = %{$p{pedit}}; ]] [[+ pedit ]][[ } ]] [[ if($p{ppage}) { %d = %{$p{ppage}}; ]] [[+ ppage ]][[ } ]] -[[ if($p{myvotes}) { %d = %{$p{myvotes}}; ]] [[+ myvotes ]][[ }# ]] [[ if($p{vnlist}) { %d = %{$p{vnlist}}; ]] [[+ vnlist ]][[ }# ]] +[[ if($p{rlist}) { %d = %{$p{rlist}}; ]] [[+ rlist ]][[ }# ]] [[ if($p{hist}) { %d = %{$p{hist}}; ]] [[+ hist ]][[ }# ]] [[ if($p{rpage}) { %d = %{$p{rpage}}; ]] [[+ rpage ]][[ } ]] [[ if($p{docs}) { %d = %{$p{docs}}; ]] [[+ docs ]][[ } ]] [[ if($p{tindex}) { %d = %{$p{tindex}}; ]] [[+ tindex ]][[ } ]] -[[ if($p{ttag}) { %d = %{$p{ttag}}; ]] [[+ ttag ]][[ } ]] +[[ if($p{ttag}) { %d = %{$p{ttag}}; ]] [[+ ttag ]][[ }# ]] [[ if($p{tthread}) { %d = %{$p{tthread}}; ]] [[+ tthread ]][[ } ]] [[ if($p{tedit}) { %d = %{$p{tedit}}; ]] [[+ tedit ]][[ } ]] [[ if($p{error}) { %d = %{$p{error}}; ]] [[+ error ]][[ } ]] @@ -103,12 +106,11 @@ [[ } else { ]]- <h2>User menu</h2> <ul> - <li>[[: $p{AuthUsername} ]]- ([[: $p{AuthRankname} ]])</li> - <li><a href="/u[[= $p{AuthId} ]]/edit">My profile</a></li> - <li><a href="/u[[= $p{AuthId} ]]/votes">My votes</a></li> + <li><a href="/u[[= $p{AuthId} ]]">[[: $p{AuthUsername} ]]</a> ([[: $p{AuthRankname} ]])</li> + <!--<li><a href="/u[[= $p{AuthId} ]]/edit">My profile</a></li>--> <li><a href="/u[[= $p{AuthId} ]]/list">My visual novel list</a></li> - <li><a href="/u[[= $p{AuthId} ]]/hist">My recent changes</a></li> <li><a href="/t/u[[= $p{AuthId} ]]">My messages</a></li> + <li><a href="/u[[= $p{AuthId} ]]/hist">My recent changes</a></li> [[ if($p{Authedit}) { ]]- <li> </li> <li><a href="/v/new">Add visual novel</a></li> |