- }
- function display()
- {
- $this->init();
- $this->renderer->wa_header();
- $this->renderer->menu_header($this->menu);
- $this->renderer->display_applications($this);
- $this->renderer->menu_footer($this->menu);
- $this->renderer->wa_footer();
- }
- function init()
+ }
+ function display()
+ {
+ global $path_to_root;
+ include($path_to_root . "/themes/".user_theme()."/renderer.php");
+ $this->init();
+ $rend = new renderer();
+ $rend->wa_header();
+ //$rend->menu_header($this->menu);
+ $rend->display_applications($this);
+ //$rend->menu_footer($this->menu);
+ $rend->wa_footer();
+ }
+ function init()