mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
issue 2662 message, menu
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12252 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cec308eef1
commit
59b001578f
10 changed files with 2950 additions and 2865 deletions
|
|
@ -1,33 +1,35 @@
|
|||
<?php
|
||||
/**
|
||||
* @class messageAdminController
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief admin controller class of message module
|
||||
**/
|
||||
/**
|
||||
* @class messageAdminController
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief admin controller class of message module
|
||||
*/
|
||||
class messageAdminController extends message
|
||||
{
|
||||
/**
|
||||
* @brief Initialization
|
||||
*/
|
||||
function init()
|
||||
{
|
||||
}
|
||||
|
||||
class messageAdminController extends message {
|
||||
/**
|
||||
* @brief Configuration
|
||||
*/
|
||||
function procMessageAdminInsertConfig()
|
||||
{
|
||||
// Get information
|
||||
$args = Context::gets('skin', 'mskin');
|
||||
// Create a module Controller object
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('message',$args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
/**
|
||||
* @brief Initialization
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
$this->setMessage('success_updated');
|
||||
|
||||
/**
|
||||
* @brief Configuration
|
||||
**/
|
||||
function procMessageAdminInsertConfig() {
|
||||
// Get information
|
||||
$args = Context::gets('skin', 'mskin');
|
||||
// Create a module Controller object
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('message',$args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->setMessage('success_updated');
|
||||
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispMessageAdminConfig');
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
}
|
||||
}
|
||||
?>
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispMessageAdminConfig');
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
}
|
||||
}
|
||||
/* End of file message.admin.controller.php */
|
||||
/* Location: ./modules/message/message.admin.controller.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue