issue 46 file, communication module ruleset not committed.

comment Validator not committed.
threfore this source commit


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8507 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-06-20 01:17:39 +00:00
parent b4f4afcc17
commit 6cd7c0e5ad
12 changed files with 101 additions and 11 deletions

View file

@ -616,6 +616,11 @@
$this->setError(-1);
$this->setMessage('success_updated');
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);
return;
}
}
function setCommentModuleConfig($srl, $comment_config){

View file

@ -1,6 +1,6 @@
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
<form ruleset="insertCommentModuleConfig" action="./" method="post">
<input type="hidden" name="act" value="procCommentInsertModuleConfig" />
<input type="hidden" name="success_return_url" value="{getUrl('', 'module', $module, 'act', $act, 'module_srl', $module_srl)}" />
<input type="hidden" name="target_module_srl" value="{$module_info->module_srl?$module_info->module_srl:$module_srls}" />
<h4 class="xeAdmin">{$lang->comment}</h4>