$session->trace(TC_Error, "index.php: unbek. Aktion: {$action}"); baseFormTest($session); break; } } elseif (isset($_REQUEST['std_answer']) || !baseCallStandardPage($session)) { $session->trace(TC_Init, 'index.php: keine Standardseite' . (isset($_REQUEST['edit_save']) ? " (" . $_REQUEST['edit_save'] . ")" : ' []')); if (isset($test)) { baseTest($session); } else { if (substr($session->fPageURL, 0, 1) == '.') { baseNewPageReference($session); } else { if (isset($_POST['last_refresh'])) { baseLastChanges($session); } elseif (isset($_POST['account_new']) || isset($_POST['account_change']) || isset($_POST['account_other'])) { baseAccountAnswer($session, $_POST['account_user']); } elseif (isset($_POST['search_title']) || isset($_POST['search_body'])) { baseSearch($session, null); } elseif (isset($_POST['edit_save']) || isset($_POST['edit_previewandsave'])) { baseEditPageAnswerSave($session); } elseif (isset($_POST['edit_cancel']) || isset($_POST['edit_preview']) || isset($_POST['edit_appendtemplate']) || isset($_POST['edit_upload'])) { baseEditPageAnswerNosave($session); } elseif (isset($_POST['posting_preview']) || isset($_POST['posting_insert']) || isset($_POST['posting_change'])) { basePostingAnswer($session); } elseif (($page_id = dbPageId($session, $session->fPageURL)) > 0) { guiShowPageById($session, $page_id, null); } else { guiLogin($session, null); } } }
if (substr($session->fPageName, 0, 1) == '.') { baseNewPageReference($session); } else { if (isset($last_refresh)) { baseLastChanges($session); } else { if (isset($alterpage_insert)) { baseAlterPageAnswer($session, C_New); } elseif (isset($alterpage_changecontent)) { baseAlterPageAnswer($session, C_Change); } elseif (isset($alterpage_preview)) { baseAlterPageAnswer($session, C_LastMode); } elseif (isset($alterpage_changepage)) { baseAlterPageAnswerChangePage($session); } elseif (isset($account_new) || isset($account_change) || isset($account_other)) { baseAccountAnswer($session, $account_user); } elseif (isset($search_title) || isset($search_body)) { baseSearch($session, null); } elseif (isset($edit_preview)) { baseEditPage($session, null); } elseif (isset($edit_save) || isset($edit_previewandsave)) { baseEditPageAnswerSave($session); } elseif (isset($edit_cancel)) { guiShowPageById($session, $edit_pageid, null); } elseif (isset($posting_preview) || isset($posting_insert) || isset($posting_change)) { basePostingAnswer($session); } elseif (($page_id = dbPageId($session, $session->fPageName)) > 0) { guiShowPageById($session, $page_id, null); } else { $session->trace(TC_Warning, PREFIX_Warning . 'index.php: Nichts gefunden'); $session->SetLocation(P_Home);