mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +09:00
issue 2667 create home menu cache file and save
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12152 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
35b35d24d3
commit
8417509874
8 changed files with 113 additions and 196 deletions
|
|
@ -19,6 +19,23 @@ class layoutAdminModel extends layout {
|
|||
* @return void
|
||||
*/
|
||||
public function getLayoutAdminSetInfoView()
|
||||
{
|
||||
$this->setLayoutAdminSetInfoView();
|
||||
|
||||
Context::set('is_sitemap', '1');
|
||||
$script = '<script src="./modules/layout/tpl/js/layout_modify.js"></script>';
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$html = $oTemplate->compile($this->module_path.'tpl/', 'layout_info_view');
|
||||
|
||||
$this->add('html', $script.$html);
|
||||
|
||||
if($isReturn)
|
||||
{
|
||||
return $this->get('html');
|
||||
}
|
||||
}
|
||||
|
||||
public function setLayoutAdminSetInfoView()
|
||||
{
|
||||
$layout_srl = Context::get('layout_srl');
|
||||
|
||||
|
|
@ -57,12 +74,6 @@ class layoutAdminModel extends layout {
|
|||
}
|
||||
}
|
||||
Context::set('selected_layout', $layout_info);
|
||||
|
||||
$script = '<script src="./modules/layout/tpl/js/layout_modify.js"></script>';
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$html = $oTemplate->compile($this->module_path.'tpl/', 'layout_info_view');
|
||||
|
||||
$this->add('html', $script.$html);
|
||||
}
|
||||
|
||||
public function getLayoutAdminSetHTMLCSS()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue