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.0@8534 201d5d3c-b55e-5fd7-737f-ddc643e51545
35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* @class messageAdminController
|
|
* @author NHN (developers@xpressengine.com)
|
|
* @brief admin controller class of message module
|
|
**/
|
|
|
|
class messageAdminController extends message {
|
|
|
|
/**
|
|
* @brief Initialization
|
|
**/
|
|
function init() {
|
|
}
|
|
|
|
/**
|
|
* @brief Configuration
|
|
**/
|
|
function procMessageAdminInsertConfig() {
|
|
// Get information
|
|
$args->skin = Context::get('skin');
|
|
// Create a module Controller object
|
|
$oModuleController = &getController('module');
|
|
$output = $oModuleController->insertModuleConfig('message',$args);
|
|
if(!$output->toBool()) return $output;
|
|
|
|
$this->setMessage('success_updated');
|
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
|
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispMessageAdminConfig');
|
|
header('location:'.$returnUrl);
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
?>
|