mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
issue 2119. supporting php 5.4. modules and widgets.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12706 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ff75082eee
commit
8a7c28babc
90 changed files with 572 additions and 83 deletions
|
|
@ -132,6 +132,7 @@ class widgetController extends widget
|
|||
$oDocumentModel = &getModel('document');
|
||||
$oDocumentController = &getController('document');
|
||||
|
||||
$obj = new stdClass();
|
||||
$obj->module_srl = $module_srl;
|
||||
$obj->content = $content;
|
||||
$obj->document_srl = $document_srl;
|
||||
|
|
@ -692,6 +693,11 @@ class widgetController extends widget
|
|||
$oWidgetModel = &getModel('widget');
|
||||
$widget_info = $oWidgetModel->getWidgetInfo($widget);
|
||||
|
||||
if(!$vars)
|
||||
{
|
||||
$vars = new stdClass();
|
||||
}
|
||||
|
||||
$widget = $vars->selected_widget;
|
||||
$vars->widgetstyle = $request_vars->widgetstyle;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue