mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 19:29:56 +09:00
merge from 1.5.3 (~r10943)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10951 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7aa4798373
commit
54e3a72065
334 changed files with 13011 additions and 5561 deletions
|
|
@ -1,21 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* @class integration_searchAdminController
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief admin view class of the integration_search module
|
||||
*
|
||||
* Search Management
|
||||
*
|
||||
* The admin view class of the integration_search module
|
||||
*
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
**/
|
||||
|
||||
class integration_searchAdminController extends integration_search {
|
||||
/**
|
||||
* @brief Initialization
|
||||
* Initialization
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
function init() {}
|
||||
function init()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Save Settings
|
||||
* Save Settings
|
||||
*
|
||||
* @return mixed
|
||||
**/
|
||||
function procIntegration_searchAdminInsertConfig() {
|
||||
// Get configurations (using module model object)
|
||||
|
|
@ -31,16 +34,14 @@
|
|||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('integration_search',$args);
|
||||
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispIntegration_searchAdminContent');
|
||||
header('location:'.$returnUrl);
|
||||
return;
|
||||
}
|
||||
else return $output;
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispIntegration_searchAdminContent');
|
||||
return $this->setRedirectUrl($returnUrl, $output);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Save the skin information
|
||||
* Save the skin information
|
||||
*
|
||||
* @return mixed
|
||||
**/
|
||||
function procIntegration_searchAdminInsertSkin() {
|
||||
// Get configurations (using module model object)
|
||||
|
|
@ -107,12 +108,9 @@
|
|||
$output = $oModuleController->insertModuleConfig('integration_search',$args);
|
||||
|
||||
$this->setMessage('success_updated', 'info');
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispIntegration_searchAdminSkinInfo');
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
return;
|
||||
}
|
||||
else $output;
|
||||
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispIntegration_searchAdminSkinInfo');
|
||||
return $this->setRedirectUrl($returnUrl, $output);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue