Code-Formatierungen und Anpassungen an neue Editoren
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
<?php
|
||||
|
||||
$widget = new viewClass( );
|
||||
$widget -> setPrefix ( $this -> _prefix );
|
||||
$widget -> setPathTpl ( PATH_WEBSITE_TPL );
|
||||
$widget -> setTemplate ( 'widget_' . $this -> _data[ 'tpl' ] );
|
||||
$widget -> setEditable ( $this -> _editable );
|
||||
$widget -> setData ( $this -> _data );
|
||||
echo $widget -> output ( );
|
||||
|
||||
?>
|
||||
$widget = new viewClass();
|
||||
$widget->setPrefix($this->_prefix);
|
||||
$widget->setPathTpl(PATH_WEBSITE_TPL);
|
||||
$widget->setTemplate('widget_' . $this->_data['tpl']);
|
||||
$widget->setEditable($this->_editable);
|
||||
$widget->setData($this->_data);
|
||||
echo $widget->output();
|
||||
Reference in New Issue
Block a user