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