public function ready_master() { $page = FCore::LoadMaster(); $page->apply_string("title", "Boyds Nest"); $page->apply_string("meta", ""); $page->apply_string("javascript", ""); return $page; }
public function ready_master() { $page = FCore::LoadMaster(); $page->apply_string("title", "Boyds Nest"); $page->apply_string("meta", ""); $page->apply_string("style", Html::CssInclude(BN_URL_CSS . "/index.css")); $page->apply_string("javascript", ""); return $page; }
public function ready_master($request) { $page = FCore::LoadMaster(); $page->apply_string("title", "Boyds Nest"); $page->apply_string("meta", ""); $page->apply_string("style", Html::CssInclude(BN_URL_CSS . "/sidemenu/sidemenu_1.php")."\n"); $page->apply_string("style", Html::CssInclude(BN_URL_CSS . "/usermanual.css")."\n"); $page->apply_string("javascript", ""); $page_list = $this->load_local_object("actions/GetUserManualPageList"); $params = array(); $params["sidemenu_0"] = FCore::LoadViewPHP( "sidemenu/layout_1", array( 'content' => $this->load_local_php_view( "views/sidemenu_pagelist", array('pagelist' => $page_list->get_data())), 'title' => 'Manuals' )); if (BoydsnestSession::GetInstance()->get(USERS_ISMASTER)) { $params["sidemenu_1"] = FCore::LoadViewPHP( "sidemenu/layout_1", array( 'content' => $this->load_local_php_view("views/mastermenu"), 'title' => 'Master\'s Menu' )); } $page->apply_param( "main_content", FCore::LoadViewPHP("content/mainAndSideMenus",$params) ); $page->commit_applies(); return $page; }
public function error_message($request, $message) { $page = FCore::LoadMaster(); $page->apply_string("title", "Boyds Nest"); $page->apply_string("meta", ""); $page->apply_string("javascript", ""); $page->apply_string("main_content", FCore::LoadViewPHP( "content/general_message", array('message' => $message))); $page->commit_applies(); return $page->get_page(); }