function baseCallStandardPage(&$session) { $session->trace(TC_Gui2, 'baseCallStandardPage: ' . $session->fPageURL); $found = true; switch ($session->fPageURL) { case P_Login: guiLogin($session, ''); break; case P_Logout: guiLogout($session); break; case P_Account: baseAccount($session, ''); break; case P_Home: baseHome($session); break; case P_NewPage: baseEditPage($session, C_New); break; case P_NewWiki: baseEditPage($session, C_New, null, null, M_Wiki); break; case P_ModifyPage: EditPage($session, C_Change); break; case '!test': baseTest($session); break; case '!form': baseFormTest($session); break; case P_Search: baseSearch($session, ''); break; case P_Start: baseCustomStart($session); break; case P_LastChanges: baseLastChanges($session); break; case P_Info: baseInfo($session); break; default: $session->trace(TC_Gui2, 'baseCallStandardPage-kein Std'); $found = false; break; } return $found; }
} include $basedir . 'pages/functions.php'; ?> <table class="panel" width="100%" cellspacing="0"> <tr style="height:435px;"> <td class="panel-none"> <?php ListPages(0); ?> </td> <td class="panel-box"> <?php if (isset($_GET['edit'])) { $page_id = $_GET['edit']; EditPage($page_id); } else { if (isset($_GET['delete'])) { $page_id = $_GET['delete']; DeletePage($page_id); } else { if (isset($_GET['create'])) { $create = $_GET['create']; if ($create) { NewPage(); } } } } ?> </td>