mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 46 apply validator to page module.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8541 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9885e98591
commit
db14f45898
16 changed files with 130 additions and 23 deletions
|
|
@ -131,6 +131,13 @@
|
|||
|
||||
$oDB->commit();
|
||||
$this->setMessage('success_registed');
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
global $lang;
|
||||
alertScript($lang->success_registed);
|
||||
reload(true);
|
||||
closePopupScript();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -317,10 +324,16 @@
|
|||
$module_info->description = $vars->description;
|
||||
$module_info->header_text = $vars->header_text;
|
||||
$module_info->footer_text = $vars->footer_text;
|
||||
$oModuleController->updateModule($module_info);
|
||||
$output = $oModuleController->updateModule($module_info);
|
||||
}
|
||||
|
||||
$this->setMessage('success_registed');
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
global $lang;
|
||||
alertScript($lang->success_registed);
|
||||
closePopupScript();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -385,6 +398,12 @@
|
|||
}
|
||||
}
|
||||
$this->setMessage('success_registed');
|
||||
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||
global $lang;
|
||||
alertScript($lang->success_registed);
|
||||
closePopupScript();
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue