chiark / gitweb /
Tidy up login reporting.
[disorder] / templates / topbar.html
CommitLineData
460b9539 1<p class=menubar>
2 <a class=@if{@eq{@action@}{playing}@}{activemenu}{inactivemenu}@
3 href="@url@"
4 title="@label:sidebar.playingverbose@">@label:sidebar.playing@</a>
5 <a class=@if{@eq{@action@}{recent}@}{activemenu}{inactivemenu}@
6 href="@url@?action=recent&amp;nonce=@nonce@"
7 title="@label:sidebar.recentverbose@">@label:sidebar.recent@</a>
78efa64e
RK
8 <a class=@if{@eq{@action@}{new}@}{activemenu}{inactivemenu}@
9 href="@url@?action=new&amp;nonce=@nonce@"
10 title="@label:sidebar.newverbose@">@label:sidebar.new@</a>
d7ce365e 11@right{play}{
460b9539 12 <a class=@if{@or{@eq{@action@}{choose}@}
13 {@eq{@action@}{choosealpha}@}@}
14 {activemenu}
15 {inactivemenu}@
16 href="@url@?action=@label:sidebar.choosewhich@&amp;nonce=@nonce@"
d7ce365e 17 title="@label:sidebar.chooseverbose@">@label:sidebar.choose@</a>}{
18 <span class=invalidmenu
19 title="@label:sidebar.chooseverbose@">@label:sidebar.choose@</span>}@
20@right{play}{
460b9539 21 <a class=@if{@eq{@action@}{search}@}{activemenu}{inactivemenu}@
22 href="@url@?action=search&amp;nonce=@nonce@"
d7ce365e 23 title="@label:sidebar.searchverbose@">@label:sidebar.search@</a>}{
24 <span class=invalidmenu
25 title="@label:sidebar.searchverbose@">@label:sidebar.search@</span>}@
460b9539 26<!-- disabled by default since now available from 'manage'
27 <a class=@if{@eq{@action@}{volume}@}{activemenu}{inactivemenu}@
28 href="@url@?action=volume&amp;nonce=@nonce@"
29 title="@label:sidebar.volumeverbose@">@label:sidebar.volume@</a>
30-->
31 <a class=@if{@eq{@action@}{manage}@}{activemenu}{inactivemenu}@
32 href="@url@?mgmt=true"
33 title="@label:sidebar.manageverbose@">@label:sidebar.manage@</a>
fdf98378 34 <a class=@if{@eq{@action@}{login}@}{activemenu}{inactivemenu}@
35 href="@url@?action=login&amp;nonce=@nonce@"
36 title="@label:sidebar.loginverbose@">@label:sidebar.login@</a>
460b9539 37 <a class=@if{@eq{@action@}{help}@}{activemenu}{inactivemenu}@
38 href="@url@?action=help&amp;nonce=@nonce@"
39 title="@label:sidebar.helpverbose@">@label:sidebar.help@</a>
40 <a class=@if{@eq{@action@}{about}@}{activemenu}{inactivemenu}@
41 href="@url@?action=about&amp;nonce=@nonce@"
42 title="@label:sidebar.aboutverbose@">@label:sidebar.about@</a>
43</p>
44<hr>
45@@
46<!--
47This file is part of DisOrder.
78efa64e 48Copyright (C) 2005, 2007 Richard Kettlewell
460b9539 49
50This program is free software; you can redistribute it and/or modify
51it under the terms of the GNU General Public License as published by
52the Free Software Foundation; either version 2 of the License, or
53(at your option) any later version.
54
55This program is distributed in the hope that it will be useful, but
56WITHOUT ANY WARRANTY; without even the implied warranty of
57MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
58General Public License for more details.
59
60You should have received a copy of the GNU General Public License
61along with this program; if not, write to the Free Software
62Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
63USA
64-->