summaryrefslogtreecommitdiffstats
path: root/localplay.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-28 05:39:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-28 05:39:50 +0000
commitebdb7573bf4176b81264d2c66dd567fa3c3ee0bd (patch)
treef16da64cdfec967a34bc71d5902ca59c64d7b9ac /localplay.php
parent6232e0f8d78c2555e64672341c54916cc0e8b3ed (diff)
downloadampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.tar.gz
ampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.tar.bz2
ampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.zip
fixed up localplay a little more, to the point of it basicly working... added check for mysql on installer langue page, tweaked some css as well
Diffstat (limited to 'localplay.php')
-rw-r--r--localplay.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/localplay.php b/localplay.php
index adf2c2c9..0f593946 100644
--- a/localplay.php
+++ b/localplay.php
@@ -60,6 +60,16 @@ switch ($action) {
$body = '';
show_confirmation($title,$body,$url);
break;
+ case 'repeat':
+ $localplay = init_localplay();
+ $localplay->repeat(make_bool($_REQUEST['value']));
+ require_once (conf('prefix') . '/templates/show_localplay.inc.php');
+ break;
+ case 'random':
+ $localplay = init_localplay();
+ $localplay->random(make_bool($_REQUEST['value']));
+ require_once (conf('prefix') . '/templates/show_localplay.inc.php');
+ break;
default:
require_once (conf('prefix') . '/templates/show_localplay.inc.php');
break;