Beispiel #1
0
 /**
  * Define template and template variables
  */
 public function setTemplate()
 {
     $path = Manager::getThemePath();
     $this->template = new MTemplate($path);
     $this->template->context('manager', Manager::getInstance());
     $this->template->context('page', $this);
     $this->template->context('charset', Manager::getOptions('charset'));
     $this->template->context('template', $this->template);
 }