Delete dispEditorPreview action that is no longer used

This commit is contained in:
Kijin Sung 2023-09-05 01:13:19 +09:00
parent a50041007d
commit 8054564b37
4 changed files with 4 additions and 15 deletions

View file

@ -349,6 +349,7 @@ class Cleanup extends Base
'modules/editor/skins/simpleeditor/css/simpleeditor.less' => 'deleted',
'modules/editor/skins/xpresseditor/' => 'deleted:xe',
'modules/editor/styles/' => 'deleted:xe',
'modules/editor/tpl/preview.html' => 'deleted',
'modules/module/schemas/site_admin.xml' => 'deleted',
'modules/module/tpl/css/module_admin.less' => 'deleted',
'modules/page/page.wap.php' => 'deleted:xe',

View file

@ -5,19 +5,18 @@
<action name="dispEditorComponentInfo" type="view" meta-noindex="true" />
<action name="dispEditorFrame" type="view" meta-noindex="true" />
<action name="dispEditorPopup" type="view" meta-noindex="true" />
<action name="dispEditorPreview" type="view" meta-noindex="true" />
<action name="dispEditorSkinColorset" type="view" permission="all-managers" meta-noindex="true" />
<action name="dispEditorConfigPreview" type="view" permission="root" meta-noindex="true" />
<action name="procEditorCall" type="controller" />
<action name="procEditorSaveDoc" type="controller" />
<action name="procEditorRemoveSavedDoc" type="controller" />
<action name="procEditorLoadSavedDocument" type="controller" />
<action name="procEditorInsertModuleConfig" type="controller" permission="manager" check_var="target_module_srl" />
<action name="dispEditorAdminIndex" type="view" menu_name="editor" menu_index="true" admin_index="true" />
<action name="dispEditorAdminSetupComponent" type="view" menu_name="editor" />
<action name="procEditorAdminGeneralConfig" type="controller" ruleset="generalConfig" />
<action name="procEditorAdminCheckUseListOrder" type="controller" ruleset="componentOrderAndUse" />
<action name="procEditorAdminSetupComponent" type="controller" ruleset="setupComponent" />

View file

@ -181,13 +181,6 @@ class editorView extends editor
return new BaseObject();
}
function dispEditorPreview()
{
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('preview');
}
function dispEditorSkinColorset()
{
$skin = Context::get('skin');

View file

@ -1,4 +0,0 @@
<script>
top.xAddEventListener(window, 'load', function() { top.showPreviewContent({$editor_sequence}); } );
</script>
{$content|noescape}