mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +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('admin_bar', 'false');
|
||||
|
||||
$this->setLayoutFile('popup_layout');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ class layoutView extends layout
|
|||
* Preview a layout
|
||||
* @return void|Object (void : success, Object : fail)
|
||||
*/
|
||||
function dispLayoutPreview()
|
||||
function dispLayoutPreview()
|
||||
{
|
||||
// admin check
|
||||
// this act is admin view but in normal view because do not load admin css/js files
|
||||
|
|
@ -261,6 +261,7 @@ class layoutView extends layout
|
|||
// Convert widgets and others
|
||||
$oContext = &Context::getInstance();
|
||||
Context::set('layout_tpl', $layout_tpl);
|
||||
Context::set('admin_bar', 'false');
|
||||
// Delete Temporary Files
|
||||
FileHandler::removeFile($edited_layout_file);
|
||||
$this->setTemplateFile('layout_preview');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue