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