awsd
30-07-2009, 13:34
Po instalacji komponentu w zakładce Components -> Rokin Gallery widzę coś takiego
name = $name; $this->width = $width; $this->height = $height; $this->value = $value; $this->cols = $cols; $this->rows = $rows; } function render(){ editorArea( 'editor1', str_replace('&','&',$this->value) , $this->name, $this->width, $this->height, $this->cols, $this->rows ) ; } } /* element extension for the framework*/ class Joomla15Editor extends Element { function Joomla15Editor($name, $width, $height, $value, $cols, $rows){ $this->name = $name; $this->width = $width; $this->height = $height; $this->value = $value; $this->cols = $cols; $this->rows = $rows; } function render(){ $editor =& JFactory::getEditor(); echo $editor->display($this->name,$this->value,$this->width, $this->height, $this->cols, $this->rows ); } } ?>
jak to można naprawić ?
name = $name; $this->width = $width; $this->height = $height; $this->value = $value; $this->cols = $cols; $this->rows = $rows; } function render(){ editorArea( 'editor1', str_replace('&','&',$this->value) , $this->name, $this->width, $this->height, $this->cols, $this->rows ) ; } } /* element extension for the framework*/ class Joomla15Editor extends Element { function Joomla15Editor($name, $width, $height, $value, $cols, $rows){ $this->name = $name; $this->width = $width; $this->height = $height; $this->value = $value; $this->cols = $cols; $this->rows = $rows; } function render(){ $editor =& JFactory::getEditor(); echo $editor->display($this->name,$this->value,$this->width, $this->height, $this->cols, $this->rows ); } } ?>
jak to można naprawić ?