| 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" |
| 7 | title="@label:sidebar.recentverbose@">@label:sidebar.recent@</a> |
| 8 | <a class=@if{@eq{@action@}{new}@}{activemenu}{inactivemenu}@ |
| 9 | href="@url@?action=new" |
| 10 | title="@label:sidebar.newverbose@">@label:sidebar.new@</a> |
| 11 | @right{play}{ |
| 12 | <a class=@if{@or{@eq{@action@}{choose}@} |
| 13 | {@eq{@action@}{choosealpha}@}@} |
| 14 | {activemenu} |
| 15 | {inactivemenu}@ |
| 16 | href="@url@?action=@label:sidebar.choosewhich@" |
| 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}{ |
| 21 | <a class=@if{@eq{@action@}{search}@}{activemenu}{inactivemenu}@ |
| 22 | href="@url@?action=search" |
| 23 | title="@label:sidebar.searchverbose@">@label:sidebar.search@</a>}{ |
| 24 | <span class=invalidmenu |
| 25 | title="@label:sidebar.searchverbose@">@label:sidebar.search@</span>}@ |
| 26 | <!-- disabled by default since now available from 'manage' |
| 27 | <a class=@if{@eq{@action@}{volume}@}{activemenu}{inactivemenu}@ |
| 28 | href="@url@?action=volume" |
| 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> |
| 34 | <a class=@if{@or{@eq{@action@}{login}@} |
| 35 | {@eq{@action@}{logout}@} |
| 36 | {@eq{@action@}{register}@} |
| 37 | {@eq{@action@}{reminder}@} |
| 38 | {@eq{@action@}{edituser}@}@}{activemenu}{inactivemenu}@ |
| 39 | href="@url@?action=login" |
| 40 | title="@label:sidebar.loginverbose@">@label:sidebar.login@</a> |
| 41 | <a class=@if{@eq{@action@}{help}@}{activemenu}{inactivemenu}@ |
| 42 | href="@url@?action=help" |
| 43 | title="@label:sidebar.helpverbose@">@label:sidebar.help@</a> |
| 44 | <a class=@if{@eq{@action@}{about}@}{activemenu}{inactivemenu}@ |
| 45 | href="@url@?action=about" |
| 46 | title="@label:sidebar.aboutverbose@">@label:sidebar.about@</a> |
| 47 | </p> |
| 48 | <hr> |
| 49 | @@ |
| 50 | <!-- |
| 51 | This file is part of DisOrder. |
| 52 | Copyright (C) 2005, 2007, 2008 Richard Kettlewell |
| 53 | |
| 54 | This program is free software; you can redistribute it and/or modify |
| 55 | it under the terms of the GNU General Public License as published by |
| 56 | the Free Software Foundation; either version 2 of the License, or |
| 57 | (at your option) any later version. |
| 58 | |
| 59 | This program is distributed in the hope that it will be useful, but |
| 60 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 61 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 62 | General Public License for more details. |
| 63 | |
| 64 | You should have received a copy of the GNU General Public License |
| 65 | along with this program; if not, write to the Free Software |
| 66 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| 67 | USA |
| 68 | --> |