Beispiel #1
0
 public function execute()
 {
     if (is_a($this->language, "language")) {
         parent::execute();
     } else {
         $this->output->open_tag("tablemanager");
         $this->output->add_tag("name", "Language");
         $this->output->add_tag("result", "Multiple languages are not supported by this website.", array("url" => "admin", "seconds" => "5"));
         $this->output->close_tag();
     }
 }
Beispiel #2
0
 public function execute()
 {
     if ($this->page->ajax_request) {
         $this->send_flags();
     } else {
         if (count($this->model->module_flags) == 0) {
             $this->output->open_tag("tablemanager");
             $this->output->add_tag("result", "No flags are available.", array("url" => "cms"));
             $this->output->close_tag();
         } else {
             parent::execute();
         }
     }
 }