diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2007-10-31 14:41:26 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2007-10-31 14:41:26 +0000 |
| commit | 0cd9e07fc7ba492179a08f0c5411578bf65111fa (patch) | |
| tree | aa91f5d50f68cdc185b5c710f3df00e5c2ee69af /html/mlist.tmpl | |
| parent | 1521694d5fa47a1c22a44a40ac0e1d01ce7ff534 (diff) | |
| download | xxv-0cd9e07fc7ba492179a08f0c5411578bf65111fa.tar.gz xxv-0cd9e07fc7ba492179a08f0c5411578bf65111fa.tar.bz2 | |
* Fix some problems at user rights with guest account
Diffstat (limited to 'html/mlist.tmpl')
| -rw-r--r-- | html/mlist.tmpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/html/mlist.tmpl b/html/mlist.tmpl index 5b7847d..cf6b389 100644 --- a/html/mlist.tmpl +++ b/html/mlist.tmpl @@ -36,17 +36,24 @@ <b> +<?% IF allow('mplay') %?> <a href="#" onClick="Play('<?% gettext("Nothing selected!") %?>',document.musicform,'<?% param.proxy %?>')"> [<?% gettext("Play selected songs") %?>] </a> +<?% END %?> +<?% IF allow('mrefresh') %?> <a href="?cmd=mrefresh">[<?% gettext("Update Music Database") %?>]</a> +<?% END %?> +<?% IF allow('mcovers') %?> <a href="?cmd=mcovers&data=force">[<?% gettext("Get new Covers") %?>]</a> +<?% END %?> </b> +<?% IF allow('mplay') %?> <br> <a href="#" onClick="selAll(document.musicform, 1)">[<?% gettext("Select all") %?>]</a> <a href="#" onClick="selAll(document.musicform, 0)">[<?% gettext("Unselect all") %?>]</a> <a href="#" onClick="reverse(document.musicform)">[<?% gettext("Reverse select") %?>]</a> - +<?% END %?> <p> <table border="0" width="95%"> <?% IF data.size %?> @@ -85,7 +92,9 @@ <?% NEXT IF fields.$c.match('^__') %?> <?% IF c == 0; # Id Field %?> <td> +<?% IF allow('mplay') %?> <input name='<?% albummark %?>' type="checkbox" value="<?% url(field) %?>"> +<?% END %?> </td> <?% ELSIF c == 1 || c == 2; # Artist/Album Field %?> <?% typ = (c == 1 ? 'artist' : 'album') %?> |
