Exemple #1
0
 function html()
 {
     unset($this->image_1->css_style['display']);
     unset($this->image_0->css_style['display']);
     if ($this->args[$this->context[$this->long_name]['var']] == 1) {
         $this->image_1->css_style['display'] = 'none';
     } else {
         $this->image_0->css_style['display'] = 'none';
     }
     parent::html();
 }
Exemple #2
0
 function html()
 {
     global $workingtable, $workingtable_old;
     global $sql;
     $active = $this->rootnode->setting_val($this->oid, 'tree_active', '');
     if ($active != '') {
         $this->args = $sql->fetcha($sql->query("SELECT * FROM `" . $sql->esc($workingtable) . "` WHERE id='" . $sql->esc($active) . "'"));
         $this->keys['id'] = $this->args['id'];
         foreach ($this->editors as $e) {
             $e->args =& $this->args;
             $e->keys =& $this->keys;
             $e->bootstrap();
         }
     }
     dom_any::html();
 }
Exemple #3
0
 function html()
 {
     //print $this->args[$this->context[$this->long_name]['var']];
     if (is_array($this->args)) {
         $this->txt->text = htmlspecialchars($this->args[$this->context[$this->long_name]['var']]);
     }
     if ($this->txt->text == '') {
         $this->txt->text = ' ';
     }
     parent::html();
 }
Exemple #4
0
 function html()
 {
     $this->innerHTML->text =& $this->args[$this->context[$this->long_name]['var']];
     parent::html();
 }
Exemple #5
0
 function html()
 {
     $this->text->text = $this->args[$this->arg_key];
     $this->attributes['href'] = preg_replace('/%s/', $this->args['id'], $this->href);
     parent::html();
 }