Ejemplo n.º 1
0
 protected function OnOutput()
 {
     $vars = array('title' => $this->articles['title'], 'content' => $this->articles['content'], 'isback' => $this->back, 'canUseSecretFunctions' => $this->m_users->Can('USE_SECRET_FUNCTIONS'));
     $this->content = $this->Template('views/v_new.php', $vars);
     parent::onOutput();
 }
Ejemplo n.º 2
0
 protected function OnOutput()
 {
     $vars_content = array('title' => $this->form_art['title'], 'content' => $this->form_art['content'], 'canUseSecretFunctions' => $this->m_users->Can('USE_SECRET_FUNCTIONS'));
     $this->content = $this->Template('views/v_edit.php', $vars_content);
     parent::onOutput();
 }