mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@10993 201d5d3c-b55e-5fd7-737f-ddc643e51545
46 lines
1.6 KiB
PHP
46 lines
1.6 KiB
PHP
<?php
|
|
/**
|
|
* @class communicationAdminView
|
|
* @author NHN (developers@xpressengine.com)
|
|
* communication module of the admin view class
|
|
**/
|
|
|
|
class communicationAdminView extends communication {
|
|
|
|
/**
|
|
* Initialization
|
|
**/
|
|
function init() {
|
|
}
|
|
|
|
/**
|
|
* configuration to manage messages and friends
|
|
* @return void
|
|
**/
|
|
function dispCommunicationAdminConfig() {
|
|
// Creating an object
|
|
$oEditorModel = &getModel('editor');
|
|
$oModuleModel = &getModel('module');
|
|
$oCommunicationModel = &getModel('communication');
|
|
// get the configurations of communication module
|
|
Context::set('communication_config', $oCommunicationModel->getConfig() );
|
|
// get a list of editor skins
|
|
Context::set('editor_skin_list', $oEditorModel->getEditorSkinList() );
|
|
// get a list of communication skins
|
|
Context::set('communication_skin_list', $oModuleModel->getSkins($this->module_path) );
|
|
// get a list of communication skins
|
|
Context::set('communication_mobile_skin_list', $oModuleModel->getSkins($this->module_path, 'm.skins') );
|
|
|
|
$security = new Security();
|
|
$security->encodeHTML('communication_config..');
|
|
$security->encodeHTML('editor_skin_list..');
|
|
$security->encodeHTML('communication_skin_list..title');
|
|
$security->encodeHTML('communication_mobile_skin_list..title');
|
|
|
|
// specify a template
|
|
$this->setTemplatePath($this->module_path.'tpl');
|
|
$this->setTemplateFile('index');
|
|
}
|
|
|
|
}
|
|
?>
|