*** empty log message ***

This commit is contained in:
sebastian 2005-03-01 22:00:40 +00:00
parent 77d3d8a451
commit b1e464a1ef
17 changed files with 371 additions and 60 deletions

View file

@ -55,6 +55,7 @@ if ($uiBrowser->userid) {
$Smarty->assign('SCRATCHPAD', $uiBrowser->SCRATCHPAD->get());
$Smarty->assign('PLid', $uiBrowser->PLAYLIST->activeId);
$Smarty->register_object('PL', $uiBrowser->PLAYLIST);
$Smarty->register_object('BROWSE', $uiBrowser->BROWSE);
switch ($_REQUEST['act']){
case "fileBrowse":
@ -105,15 +106,27 @@ if ($uiBrowser->userid) {
case "SEARCH":
if (is_array($uiBrowser->SEARCH->criteria['form']) ){
$Smarty->assign('searchResults', $uiBrowser->SEARCH->results);
$Smarty->assign('showSearchResults', TRUE);
};
$Smarty->assign('searchForm', $uiBrowser->SEARCH->form($uiBrowser->id, $ui_fmask));
$Smarty->assign('showLibrary', TRUE);
break;
case "BROWSE":
/*
if (is_array($uiBrowser->SEARCH->criteria) ){
$Smarty->assign('searchres', $uiBrowser->SEARCH->results);
$Smarty->assign('showSearchRes', TRUE);
};
}; */
$Smarty->assign('searchform', $uiBrowser->SEARCH->form($uiBrowser->id, $ui_fmask));
$Smarty->assign('showSearchForm', TRUE);
$Smarty->assign('browseForm', $uiBrowser->BROWSE->browseForm($uiBrowser->id, $ui_fmask));
$Smarty->assign('showLibrary', TRUE);
break;
break;
case "subjects":
case "addUser":
@ -159,9 +172,10 @@ if ($uiBrowser->userid) {
break;
case "PL.simpleManagement":
if ($_REQUEST['createNew']) {
$uiBrowser->PLAYLIST->testNew();
#$Smarty->assign('PLAYLIST', $uiBrowser->PLAYLIST->get());
if ($uiBrowser->PLAYLIST->get() === FALSE) {
if (($ui_tmpid = $uiBrowser->PLAYLIST->create($_REQUEST['id'])) !== FALSE) {
$uiBrowser->SCRATCHPAD->addItem($ui_tmpid);
}
}
$Smarty->assign('PL_simpleManagement', TRUE);
break;