displayPageNotFound(); return; } $oPage = BxDolPage::getObjectInstanceByModuleAndURI($oWiki->getObjectName(), $sUri); if ($oPage) { $oPage->displayPage(); } else { if ($oWiki->isAllowed('add')) { $oPage = BxDolPage::getObjectInstanceByURI($sUri); if ($oPage) { $oTemplate = BxDolTemplate::getInstance(); $oTemplate->displayErrorOccured(_t("_sys_wiki_error_page_exists", bx_process_output($sUri))); } else { echo "TODO: wiki - suggest to create page with specified URI. Display form where user can enter title(text input), text(plain textrea), languale (selectbox with currect site languages with current one pre-selected), revision comments (text input), title - will be page and first block title, text - will be content for first block. Default layout is page with one column and block without borders and title."; } } else { $oTemplate = BxDolTemplate::getInstance(); $oTemplate->displayPageNotFound(); } } } } /** @} */