mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
Fix undefined variables in layout admin view/model
This commit is contained in:
parent
04f5ecbf41
commit
b7def41ec4
2 changed files with 2 additions and 7 deletions
|
|
@ -26,7 +26,7 @@ class LayoutAdminModel extends Layout
|
|||
$script = '<script src="./modules/layout/tpl/js/layout_modify.js"></script>';
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
$html = $oTemplate->compile($this->module_path.'tpl/', 'layout_info_view');
|
||||
|
||||
$csss = '';
|
||||
preg_match_all('/<!--#JSPLUGIN:(.*)-->/', $html, $m);
|
||||
$pluginList = $m[1];
|
||||
|
||||
|
|
@ -49,11 +49,6 @@ class LayoutAdminModel extends Layout
|
|||
}
|
||||
|
||||
$this->add('html', $csss . $script . $html);
|
||||
|
||||
if($isReturn)
|
||||
{
|
||||
return $this->get('html');
|
||||
}
|
||||
}
|
||||
|
||||
public function setLayoutAdminSetInfoView()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue