mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +09:00
issue 2855 remove admin bar
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12617 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4598071847
commit
289e4fbfab
2 changed files with 3 additions and 1 deletions
|
|
@ -187,6 +187,7 @@ class editorView extends editor
|
||||||
}
|
}
|
||||||
|
|
||||||
Context::set('editor', $editor);
|
Context::set('editor', $editor);
|
||||||
|
Context::set('admin_bar', 'false');
|
||||||
|
|
||||||
$this->setLayoutFile('popup_layout');
|
$this->setLayoutFile('popup_layout');
|
||||||
$this->setTemplatePath($this->module_path.'tpl');
|
$this->setTemplatePath($this->module_path.'tpl');
|
||||||
|
|
|
||||||
|
|
@ -261,6 +261,7 @@ class layoutView extends layout
|
||||||
// Convert widgets and others
|
// Convert widgets and others
|
||||||
$oContext = &Context::getInstance();
|
$oContext = &Context::getInstance();
|
||||||
Context::set('layout_tpl', $layout_tpl);
|
Context::set('layout_tpl', $layout_tpl);
|
||||||
|
Context::set('admin_bar', 'false');
|
||||||
// Delete Temporary Files
|
// Delete Temporary Files
|
||||||
FileHandler::removeFile($edited_layout_file);
|
FileHandler::removeFile($edited_layout_file);
|
||||||
$this->setTemplateFile('layout_preview');
|
$this->setTemplateFile('layout_preview');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue