mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
point module config modify
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9749 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0b423d7f92
commit
bac7473014
3 changed files with 14 additions and 4 deletions
|
|
@ -131,7 +131,12 @@
|
|||
}
|
||||
|
||||
$this->setError(-1);
|
||||
$this->setMessage('success_updated');
|
||||
$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', 'dispBoardAdminContent');
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -162,9 +167,12 @@
|
|||
|
||||
$oPointController = &getController('point');
|
||||
$output = $oPointController->setPoint($member_srl, (int)$point, $action);
|
||||
|
||||
$this->setError(-1);
|
||||
$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', 'dispPointAdminPointList');
|
||||
header('location:'.$returnUrl);
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
return;
|
||||
}
|
||||
return $output;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
<!--%import("filter/insert_point_module_config.xml")-->
|
||||
<load target="js/point_admin.js" usecdn="true" />
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, insert_point_module_config);" id="fo_point" class="form">
|
||||
<form action="./" method="post" id="fo_point" class="form">
|
||||
<input type="hidden" name="module" value="point" />
|
||||
<input type="hidden" name="act" value="procPointAdminInsertPointModuleConfig" />
|
||||
<input type="hidden" name="target_module_srl" value="{$module_config['module_srl']?$module_config['module_srl']:$module_srls}" />
|
||||
|
||||
<h3 class="h3">{$lang->point}</h3>
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
}
|
||||
|
||||
$this->setError(-1);
|
||||
$this->setMessage('success_updated');
|
||||
$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', 'dispBoardAdminContent');
|
||||
header('location:'.$returnUrl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue