Example #1
0
 /**
  *draw the chosen viewer theme and output content for the framework
  */
 function draw_theme($content, $content_meta, $plugins)
 {
     //set required default css and js files for framework
     $css = array(FRAME_CSS, GRID_CSS);
     $js = array(JQUERY_JS, FRAME_JS);
     //draw the template and theme
     View::draw_head($css, $js);
     View::draw_top();
     View::draw_header();
     View::draw_middle($content, $content_meta, $plugins);
     View::draw_footer();
     View::draw_bottom();
 }
Example #2
0
 /**
  *draw the chosen viewer theme and output content for the framework
  */
 function draw_theme($content, $content_meta, $plugins)
 {
     //set required default css and js files for framework
     $css = array(FRAME_CSS, GRID_CSS, JQUERY_UI_CSS);
     $js = array(JQUERY_JS, JQUERY_UI_JS, FRAME_JS);
     //load main site menu
     $main_menu = self::load_menu(DB_MAIN_MENU);
     $content_menu = self::load_menu(DB_CONTENT_MENU);
     //draw the template and theme
     View::draw_head($css, $js);
     View::draw_top();
     View::draw_header($main_menu);
     View::draw_middle($content, $content_meta, $plugins, $content_menu);
     View::draw_footer();
     View::draw_bottom();
 }