diff --git a/livesupport/modules/htmlUI/var/html/ui_browser.php b/livesupport/modules/htmlUI/var/html/ui_browser.php index 1405cdc5c..6d766b1e1 100644 --- a/livesupport/modules/htmlUI/var/html/ui_browser.php +++ b/livesupport/modules/htmlUI/var/html/ui_browser.php @@ -148,7 +148,7 @@ if ($uiBrowser->userid) { $Smarty->assign('changeStationPrefs', TRUE); break; - case "PL.simpleManagement": + case "PL.simpleManagement": if ($_REQUEST['createNew']) { $uiBrowser->PLAYLIST->testNew(); #$Smarty->assign('PLAYLIST', $uiBrowser->PLAYLIST->get()); diff --git a/livesupport/modules/htmlUI/var/html/ui_handler.php b/livesupport/modules/htmlUI/var/html/ui_handler.php index 9e57babb2..b8bb321d6 100644 --- a/livesupport/modules/htmlUI/var/html/ui_handler.php +++ b/livesupport/modules/htmlUI/var/html/ui_handler.php @@ -178,6 +178,11 @@ switch($_REQUEST['act']){ $uiHandler->PLAYLIST->setReload(); break; + case "PL.revert": + $uiHandler->PLAYLIST->revert(); + $uiHandler->PLAYLIST->setReload(); + break; + default: $_SESSION["alertMsg"] = tra("Unknown method: $1", $_REQUEST["act"]); header("Location: ".UI_BROWSER.'?popup[]=_reload_parent&popup[]=_close'); diff --git a/livesupport/modules/htmlUI/var/templates/playlist/editor.tpl b/livesupport/modules/htmlUI/var/templates/playlist/editor.tpl new file mode 100755 index 000000000..f930108c4 --- /dev/null +++ b/livesupport/modules/htmlUI/var/templates/playlist/editor.tpl @@ -0,0 +1,23 @@ +