chiark / gitweb /
Use -isystem for extra system includes on FreeBSD.
[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>
328248ba 34 <a class=@if{@or{@eq{@action@}{login}@}
35 {@eq{@action@}{logout}@}
36 {@eq{@action@}{register}@}
37 {@eq{@action@}{edituser}@}@}{activemenu}{inactivemenu}@
fdf98378 38 href="@url@?action=login&amp;nonce=@nonce@"
39 title="@label:sidebar.loginverbose@">@label:sidebar.login@</a>
460b9539 40 <a class=@if{@eq{@action@}{help}@}{activemenu}{inactivemenu}@
41 href="@url@?action=help&amp;nonce=@nonce@"
42 title="@label:sidebar.helpverbose@">@label:sidebar.help@</a>
43 <a class=@if{@eq{@action@}{about}@}{activemenu}{inactivemenu}@
44 href="@url@?action=about&amp;nonce=@nonce@"
45 title="@label:sidebar.aboutverbose@">@label:sidebar.about@</a>
46</p>
47<hr>
48@@
49<!--
50This file is part of DisOrder.
78efa64e 51Copyright (C) 2005, 2007 Richard Kettlewell
460b9539 52
53This program is free software; you can redistribute it and/or modify
54it under the terms of the GNU General Public License as published by
55the Free Software Foundation; either version 2 of the License, or
56(at your option) any later version.
57
58This program is distributed in the hope that it will be useful, but
59WITHOUT ANY WARRANTY; without even the implied warranty of
60MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
61General Public License for more details.
62
63You should have received a copy of the GNU General Public License
64along with this program; if not, write to the Free Software
65Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
66USA
67-->