diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-05-13 00:39:40 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-05-13 00:39:40 +0000 |
commit | a4be3297d541560e1bc4291d366808fca517d49e (patch) | |
tree | f2dd6cc96d2e28042845d7b532d19cc3c1295e9e /templates/show_localplay_switch.inc.php | |
parent | 7049a9976a25e95cb1ee68a84a853211ccc3db8a (diff) | |
download | ampache-a4be3297d541560e1bc4291d366808fca517d49e.tar.gz ampache-a4be3297d541560e1bc4291d366808fca517d49e.tar.bz2 ampache-a4be3297d541560e1bc4291d366808fca517d49e.zip |
fixed localplay buttons with use_auth disabled and tweaked access control mojo to prevent login in addition to the normal prevention of streaming
Diffstat (limited to 'templates/show_localplay_switch.inc.php')
-rw-r--r-- | templates/show_localplay_switch.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show_localplay_switch.inc.php b/templates/show_localplay_switch.inc.php new file mode 100644 index 00000000..18129ba1 --- /dev/null +++ b/templates/show_localplay_switch.inc.php @@ -0,0 +1,6 @@ +<span <?php echo $stream; ?> onclick="ajaxPut('<?php echo $ajax_url; ?>','action=change_play_type&type=stream<?php echo $required_info; ?>','play_type');return true;"> + <?php echo _('Stream') ?> +</span><br /><br /> +<span <?php echo $localplay; ?> onclick="ajaxPut('<?php echo $ajax_url; ?>','action=change_play_type&type=localplay<?php echo $required_info; ?>','play_type');return true;"> + <?php echo _('Localplay'); ?> +</span> |