From: rjk@greenend.org.uk <> Date: Sat, 12 Jan 2008 12:38:55 +0000 (+0000) Subject: Remove nonces from URLs, since we now use HTTP Cache-Control headers X-Git-Tag: 3.0~61 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/da68af535a46d2e22c62632c5ac7d637e0f0b0ea Remove nonces from URLs, since we now use HTTP Cache-Control headers to keep our clients honest. --- diff --git a/templates/choose.html b/templates/choose.html index e466975..2df2e2d 100644 --- a/templates/choose.html +++ b/templates/choose.html @@ -118,7 +118,7 @@ USA @if{@ne{@arg:directory@}{}@}{

@navigate{@arg:directory@}{/@basename@}@:

+ href="@url@?action=choose&directory=@urlquote{@fullname@}@">@basename@}@:

}@ @if{@isdirectories@}{ @@ -129,7 +129,7 @@ USA @choose{directories}{

@right{prefs}{@label:choose.prefs@}@ @transform{@file@}{track}{display}@ @if{@eq{@trackstate{@file@}@}{playing}@}{[playing]}@ @if{@eq{@trackstate{@file@}@}{queued}@}{[queued]}@ @@ -162,12 +162,12 @@ USA }@

@right{prefs}{@label:choose.allprefs@}@ - + @label:choose.playall@

diff --git a/templates/help.html b/templates/help.html index 135c037..1302926 100644 --- a/templates/help.html +++ b/templates/help.html @@ -192,9 +192,9 @@ USA

This screen has two forms: choose, which give + href="@url@?action=choose">choose, which give you all the top-level directories at once, and choosealpha, + href="@url@?action=choosealpha">choosealpha, which breaks them down by initial letter.

This screen will may not be available if you are not logged in diff --git a/templates/login.html b/templates/login.html index 11474e2..e586132 100644 --- a/templates/login.html +++ b/templates/login.html @@ -73,7 +73,6 @@ USA - @@ -101,7 +100,6 @@ USA - @right{register}{ @@ -156,7 +154,6 @@ USA - }@ }{ @#{not the guest user, allow change of details and logout}@ @@ -171,7 +168,6 @@ USA -

Use this form to change your email address and/or password.

@@ -212,7 +208,6 @@ USA - }@ diff --git a/templates/new.html b/templates/new.html index 52bac0e..9c43b0b 100644 --- a/templates/new.html +++ b/templates/new.html @@ -54,14 +54,14 @@ USA >@part{short}{album}@}@ @right{play}{@part{short}{title}@}{@part{short}{title}@}@ @length@ @right{prefs}{ @label:choose.prefs@ diff --git a/templates/playing.html b/templates/playing.html index c75a7d6..4242740 100644 --- a/templates/playing.html +++ b/templates/playing.html @@ -35,7 +35,7 @@ USA @label:playing.pause@ @@ -44,7 +44,7 @@ USA @label:playing.pause@ @@ -54,7 +54,7 @@ USA @label:playing.random@ @@ -63,7 +63,7 @@ USA @label:playing.random@ @@ -73,7 +73,7 @@ USA @label:playing.playing@ @@ -82,7 +82,7 @@ USA @label:playing.playing@ @@ -99,7 +99,6 @@ USA }{}@ @label:volume.left@ @label:volume.right@ - @right{volume}{ -

@@ -52,7 +51,7 @@ USA @search{title}{

Title: - @part:title@ + @part:title@ @if{@eq{@trackstate{@file@}@}{playing}@}{[playing]}@ @if{@eq{@trackstate{@file@}@}{queued}@}{[queued]}@

diff --git a/templates/topbar.html b/templates/topbar.html index f7019b1..be9beb8 100644 --- a/templates/topbar.html +++ b/templates/topbar.html @@ -3,29 +3,29 @@ href="@url@" title="@label:sidebar.playingverbose@">@label:sidebar.playing@ @label:sidebar.recent@ @label:sidebar.new@ @right{play}{ @label:sidebar.choose@}{ @label:sidebar.choose@}@ @right{play}{ @label:sidebar.search@}{ @label:sidebar.search@}@ @label:sidebar.login@ @label:sidebar.help@ @label:sidebar.about@


diff --git a/templates/volume.html b/templates/volume.html index 63a7630..e614c91 100644 --- a/templates/volume.html +++ b/templates/volume.html @@ -36,7 +36,6 @@ USA @label:volume.left@ @label:volume.right@ -