X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/547553359fed90562714987654ce06feb9480cc8..0cf685f6a9ce58259b542dc4102261205a53a6f4:/templates/choose.tmpl diff --git a/templates/choose.tmpl b/templates/choose.tmpl index fcba496..10fc031 100644 --- a/templates/choose.tmpl +++ b/templates/choose.tmpl @@ -3,20 +3,18 @@ This file is part of DisOrder. Copyright (C) 2004-2008 Richard Kettlewell -This program is free software; you can redistribute it and/or modify +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or +the Free Software Foundation, either version 3 of the License, or (at your option) any later version. -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -USA +along with this program. If not, see . --> @@ -87,23 +85,20 @@ USA } @# Always have a search form - + @if{@ne{@arg{query}}{}} {@# There's a search query @@ -125,7 +120,7 @@ USA @right{prefs}{ + href="@url?action=prefs&track=@urlquote{@track}"> @label{choose.prefs} @@ -152,7 +147,11 @@ USA @# NB we don't really bother distinguishing between re being empty or absent, @# and the server deliberately cooperates in this. -@# TODO navigation... + @if{@ne{@arg{dir}}{}}{ +

@# +@breadcrumbs{@arg{dir}} + {/@# +@basename{@dir}}:

} @#

dir=[@arg{dir}]
re=[@arg{re}]
which=@label{choose.which}

@@ -166,7 +165,7 @@ USA

- @display + @quote{@display}

} @@ -181,16 +180,16 @@ USA @define{sometracks}{template}{@template}@# @right{prefs}{ + href="@url?action=prefs&track=@urlquote{@resolve{@track}}"> @label{choose.prefs} }@# - - @display + @quote{@display} @if{@eq{@trackstate{@track}}{playing}} {[playing]} @@ -198,7 +197,7 @@ USA {[queued]}

} @sometracks{ -

+

@right{prefs}{ @@ -207,10 +206,12 @@ USA title="@label{choose.allprefsverbose}" alt="@label{choose.allprefs}"> } - - @label{choose.playall} - +
+ + + + +

}