mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 16:22:41 +09:00
#1156 removed admin bar
This commit is contained in:
parent
80ae13a6c2
commit
712541c50c
9 changed files with 0 additions and 113 deletions
|
|
@ -1,5 +0,0 @@
|
|||
<nav id="adminBar">
|
||||
<h1><img src="{$favicon_url}" alt="XE" /></h1>
|
||||
<p class="admin"><a href="{getUrl('', 'module','admin')}">ADMIN</a></p>
|
||||
<p class="link"><a href="http://xpressengine.com/" target="_blank">xpressengine.com</a></p>
|
||||
</nav>
|
||||
|
|
@ -98,9 +98,6 @@ class documentView extends document
|
|||
Context::set('mid',$module_info->mid);
|
||||
Context::set('browser_title',$module_info->browser_title);
|
||||
|
||||
// not show admin bar
|
||||
Context::set('admin_bar', 'false');
|
||||
|
||||
// Select Pop-up layout
|
||||
$this->setLayoutPath('./common/tpl');
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
|
|
|||
|
|
@ -193,7 +193,6 @@ class editorView extends editor
|
|||
}
|
||||
|
||||
Context::set('editor', $editor);
|
||||
Context::set('admin_bar', 'false');
|
||||
|
||||
$this->setLayoutFile('popup_layout');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
|
|
|
|||
|
|
@ -230,7 +230,6 @@ class layoutView extends layout
|
|||
// Convert widgets and others
|
||||
$oContext = Context::getInstance();
|
||||
Context::set('layout_tpl', $layout_tpl);
|
||||
Context::set('admin_bar', 'false');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('layout_preview');
|
||||
}
|
||||
|
|
@ -372,7 +371,6 @@ 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');
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ class moduleView extends module
|
|||
}
|
||||
|
||||
// not show admin bar
|
||||
Context::set('admin_bar', 'false');
|
||||
Context::set('mid_list', $mid_list);
|
||||
Context::set('selected_module', $selected_module);
|
||||
Context::set('selected_mids', $mid_list[$selected_module]->list);
|
||||
|
|
|
|||
|
|
@ -117,7 +117,6 @@ class widgetView extends widget
|
|||
$oWidgetModel = getModel('widget');
|
||||
$widget_list = $oWidgetModel->getDownloadedWidgetList();
|
||||
Context::set('widget_list',$widget_list);
|
||||
Context::set('admin_bar','false');
|
||||
// When there is no widget is selected in the first widget
|
||||
if(!Context::get('selected_widget')) Context::set('selected_widget',$widget_list[0]->widget);
|
||||
|
||||
|
|
@ -135,7 +134,6 @@ class widgetView extends widget
|
|||
$oWidgetModel = getModel('widget');
|
||||
$widgetStyle_list = $oWidgetModel->getDownloadedWidgetStyleList();
|
||||
Context::set('widgetStyle_list',$widgetStyle_list);
|
||||
Context::set('admin_bar','false');
|
||||
// Selected list of widget styles
|
||||
$widgetstyle = Context::get('widgetstyle');
|
||||
$widgetstyle_info = $oWidgetModel->getWidgetStyleInfo($widgetstyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue