really close to 0.9
This commit is contained in:
parent
0a0de2ed42
commit
b529217621
30 changed files with 2978 additions and 11 deletions
|
@ -184,12 +184,14 @@ switch($_REQUEST['act']){
|
|||
|
||||
case "PL.create":
|
||||
if (($ui_tmpid = $uiHandler->PLAYLIST->create($_REQUEST['id'])) !== FALSE)
|
||||
$uiHandler->SCRATCHPAD->addItem($_REQUEST['id']);
|
||||
$uiHandler->SCRATCHPAD->addItem($ui_tmpid);
|
||||
$uiHandler->PLAYLIST->setRedirect();
|
||||
break;
|
||||
|
||||
case "PL.addItem":
|
||||
$uiHandler->PLAYLIST->addItem($_REQUEST['id']);
|
||||
if ($uiHandler->PLAYLIST->addItem($_REQUEST['id']) !== FALSE)
|
||||
$uiHandler->SCRATCHPAD->addItem($_REQUEST['id']);
|
||||
$uiHandler->PLAYLIST->setReload();
|
||||
break;
|
||||
|
||||
|
@ -266,7 +268,7 @@ if ($uiHandler->alertMsg) $_SESSION['alertMsg'] = $uiHandler->alertMsg;
|
|||
#header('Location: '.$uiHandler->redirUrl);
|
||||
if (ob_get_contents()) {
|
||||
$ui_wait = 5;
|
||||
}
|
||||
}
|
||||
ob_end_clean;
|
||||
?>
|
||||
<meta http-equiv="refresh" content="<?php echo $ui_wait ? $ui_wait : 0; ?>; URL=<?php echo $uiHandler->redirUrl; ?>">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue