protected function build_content(rsContainer $Container)
 {
     $Content = parent::build_content($Container);
     if (!isset($_POST['nachricht'])) {
         $this->build_formular($Container);
     } else {
         $this->send_message($Container);
     }
 }
 protected function build_content(rsContainer $Container)
 {
     parent::build_content($Container);
     $this->Benutzer = new rsUser();
     if (isset($_GET['guestbook'])) {
         $this->process_validation($Container);
     }
     if (isset($_POST['text'])) {
         $post_saved = $this->process_postinput($Container);
     }
     if (isset($_GET['delete'])) {
         $this->remove_post(intval($_GET['delete']));
     }
     $this->clean_db();
     $this->build_postform($Container->subordinate('div', array('class' => 'panel'))->subordinate('div', array('class' => 'content')), $post_saved ? false : true);
     $this->build_postlist($Container);
 }
Exemplo n.º 3
0
 protected function build_content(rsContainer $Container)
 {
     $this->blogdir = $this->docid;
     parent::build_content($Container);
 }
 protected function build_content(rsContainer $Container)
 {
     $this->page = new rsPage($this->docid, $this->db);
     $this->build_submenu($this->mainContainer['submenu']->clear(), null, null, true);
     parent::build_content($Container);
 }