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