color: red
}
+span.invalidmenu {
+ text-decoration: none;
+ color: grey;
+ font-family: sans-serif;
+ font-weight: bold;
+ font-size: 14pt
+}
+
/* prefs **********************************************************************/
p.prefs_new,p.prefs_head {
</tr>
<tr>
<td>@label:login.password@</td>
- <td><input class=password name=password type=password value=""
+ <td><input class=password name=changepassword type=password value=""
size=32></td>
<td>
<button class=register name=action type=submit value=register>
<th class=album>@label:heading.album@</th>
<th class=title>@label:heading.title@</th>
<th class=length>@label:heading.length@</th>
- <th class=button> </th>
+@right{prefs}{
+ <th class=button> </th>}@
</tr>
@new{
<tr class=@parity@>
class=file
href="@url@?action=play&file=@urlquote{@file@}@&back=@urlquote{@thisurl@}@&nonce=@nonce@">@part{short}{title}@</a></td>
<td class=length>@length@</td>
+@right{prefs}{
<td class=imgbutton><a class=imgbutton
href="@url@?action=prefs&nonce=@nonce@&0_file=@urlquote{@file@}@"><img
class=button src="@label:images.edit@"
title="@label:choose.prefsverbose@"
alt="@label:choose.prefs@"></a></td>
- </tr>
+ </tr>}@
}@
</table>
}@
class=button src="@label:images.noscratch@"
title="@label:playing.removeverbose@"
alt="@label:playing.remove@">}@</td>
+
@if{@arg:mgmt@}{
- @if{@isfirst@}
- {<td class=imgbutton>
+ @if{@or{@isfirst@}
+ {@not{@movable@}@}@}{
+ <!-- cannot move up -->
+ <td class=imgbutton>
<img
class=button src="@label:images.noupall@"
title="@label:playing.upallverbose@" alt="">
<td class=imgbutton>
<img
class=button src="@label:images.noup@"
- title="@label:playing.upverbose@" alt="">}
- {<td class=imgbutton>
+ title="@label:playing.upverbose@" alt="">
+ }{
+ <!-- can move up -->
+ <td class=imgbutton>
<a class=imgbutton
href="@url@?action=move&nonce=@nonce@&id=@id@&delta=2147483647&mgmt=true"><img
class=button src="@label:images.upall@"
<a class=imgbutton
href="@url@?action=move&nonce=@nonce@&id=@id@&delta=1&mgmt=true"><img
class=button src="@label:images.up@"
- title="@label:playing.upverbose@" alt="@label:playing.up@"></a>}@
- @if{@islast@}
- {<td class=imgbutton>
+ title="@label:playing.upverbose@" alt="@label:playing.up@"></a>
+ }@
+
+ @if{@or{@islast@}
+ {@not{@movable@}@}@}{
+ <!-- cannot move down -->
+ <td class=imgbutton>
+ <img
+ class=button src="@label:images.nodownall@"
+ title="@label:playing.downallverbose@" alt="">
+ <td class=imgbutton>
<img
class=button src="@label:images.nodown@"
title="@label:playing.downverbose@" alt="">
+ }{
+ <!-- can move down -->
<td class=imgbutton>
- <img
- class=button src="@label:images.nodownall@"
- title="@label:playing.downallverbose@" alt="">}
- {<td class=imgbutton>
- <a class=imgbutton href="@url@?action=move&nonce=@nonce@&id=@id@&delta=-1&mgmt=true"><img
- class=button src="@label:images.down@"
- title="@label:playing.downverbose@"
- alt="@label:playing.down@">
- <td class=imgbutton>
- <a class=imgbutton href="@url@?action=move&nonce=@nonce@&id=@id@&delta=-2147483647&mgmt=true"><img
+ <a class=imgbutton
+ href="@url@?action=move&nonce=@nonce@&id=@id@&delta=-2147483647&mgmt=true"><img
class=button src="@label:images.downall@"
title="@label:playing.downallverbose@"
- alt="@label:playing.downall@">}@</a>
+ alt="@label:playing.downall@"></a>
+ <td class=imgbutton>
+ <a class=imgbutton
+ href="@url@?action=move&nonce=@nonce@&id=@id@&delta=-1&mgmt=true"><img
+ class=button src="@label:images.down@"
+ title="@label:playing.downverbose@" alt="@label:playing.down@"></a>
+ }@
+
}@
</tr>
}@}@
<th class=album>@label:heading.album@</th>
<th class=title>@label:heading.title@</th>
<th class=length>@label:heading.length@</th>
- <th class=button> </th>
+@right{prefs}{
+ <th class=button> </th>}@
</tr>
@recent{
<tr class=@parity@>
<td class=title><span
title="@part{title}@">@part{short}{title}@</span></td>
<td class=length>@length@</td>
+@right{prefs}{
<td class=imgbutton><a class=imgbutton
href="@url@?action=prefs&nonce=@nonce@&0_file=@urlquote{@file@}@"><img
class=button src="@label:images.edit@"
title="@label:choose.prefsverbose@"
alt="@label:choose.prefs@"></a></td>
- </tr>
+ </tr>}@
}@
</table>
}@
<a class=@if{@eq{@action@}{new}@}{activemenu}{inactivemenu}@
href="@url@?action=new&nonce=@nonce@"
title="@label:sidebar.newverbose@">@label:sidebar.new@</a>
+@right{play}{
<a class=@if{@or{@eq{@action@}{choose}@}
{@eq{@action@}{choosealpha}@}@}
{activemenu}
{inactivemenu}@
href="@url@?action=@label:sidebar.choosewhich@&nonce=@nonce@"
- title="@label:sidebar.chooseverbose@">@label:sidebar.choose@</a>
+ title="@label:sidebar.chooseverbose@">@label:sidebar.choose@</a>}{
+ <span class=invalidmenu
+ title="@label:sidebar.chooseverbose@">@label:sidebar.choose@</span>}@
+@right{play}{
<a class=@if{@eq{@action@}{search}@}{activemenu}{inactivemenu}@
href="@url@?action=search&nonce=@nonce@"
- title="@label:sidebar.searchverbose@">@label:sidebar.search@</a>
+ title="@label:sidebar.searchverbose@">@label:sidebar.search@</a>}{
+ <span class=invalidmenu
+ title="@label:sidebar.searchverbose@">@label:sidebar.search@</span>}@
<!-- disabled by default since now available from 'manage'
<a class=@if{@eq{@action@}{volume}@}{activemenu}{inactivemenu}@
href="@url@?action=volume&nonce=@nonce@"