mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
issue 160, fix a bug for garbled text after copy module instance
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9240 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
702e92b9bf
commit
41495267b9
6 changed files with 31 additions and 0 deletions
|
|
@ -83,8 +83,11 @@
|
||||||
|
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_sended);
|
alertScript($lang->success_sended);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
|
|
@ -266,8 +269,11 @@
|
||||||
|
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_registed);
|
alertScript($lang->success_registed);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -374,8 +380,11 @@
|
||||||
{
|
{
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->fail_to_registed);
|
alertScript($lang->fail_to_registed);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
else return $output;
|
else return $output;
|
||||||
|
|
@ -384,9 +393,12 @@
|
||||||
{
|
{
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_registed);
|
alertScript($lang->success_registed);
|
||||||
reload(true);
|
reload(true);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
else $this->setMessage($msg_code);
|
else $this->setMessage($msg_code);
|
||||||
|
|
|
||||||
|
|
@ -106,9 +106,12 @@
|
||||||
$this->setMessage('success_updated');
|
$this->setMessage('success_updated');
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_updated);
|
alertScript($lang->success_updated);
|
||||||
reload(true);
|
reload(true);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@
|
||||||
$oInstallController = &getController('install');
|
$oInstallController = &getController('install');
|
||||||
$oInstallController->procInstall();
|
$oInstallController->procInstall();
|
||||||
header("location: ./");
|
header("location: ./");
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -587,9 +587,12 @@
|
||||||
|
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_updated);
|
alertScript($lang->success_updated);
|
||||||
reload(true);
|
reload(true);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -144,9 +144,12 @@
|
||||||
$this->setMessage('success_registed');
|
$this->setMessage('success_registed');
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_registed);
|
alertScript($lang->success_registed);
|
||||||
reload(true);
|
reload(true);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -347,8 +350,11 @@
|
||||||
$this->setMessage('success_registed');
|
$this->setMessage('success_registed');
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_registed);
|
alertScript($lang->success_registed);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -417,8 +423,11 @@
|
||||||
$this->setMessage('success_registed');
|
$this->setMessage('success_registed');
|
||||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_registed);
|
alertScript($lang->success_registed);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,9 +38,12 @@
|
||||||
$output = $this->sendTrackback($oDocument, $trackback_url, $charset);
|
$output = $this->sendTrackback($oDocument, $trackback_url, $charset);
|
||||||
if($output->toBool() && !in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
if($output->toBool() && !in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
global $lang;
|
global $lang;
|
||||||
|
htmlHeader();
|
||||||
alertScript($lang->success_registed);
|
alertScript($lang->success_registed);
|
||||||
reload(true);
|
reload(true);
|
||||||
closePopupScript();
|
closePopupScript();
|
||||||
|
htmlFooter();
|
||||||
|
Context::close();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue