mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
issue 46 validator apply to message module.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8534 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
525d8e3f5f
commit
7cdc29c313
3 changed files with 16 additions and 6 deletions
|
|
@ -25,6 +25,11 @@
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
$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', 'dispMessageAdminConfig');
|
||||
header('location:'.$returnUrl);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
<!--%import("message.css")-->
|
||||
|
||||
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
|
||||
<div id="loginAccess" class="gLogin">
|
||||
<h1>{$system_message}</h1>
|
||||
<!--@if(!$is_logged)-->
|
||||
<!--%import("../../../../common/js/jquery.js")-->
|
||||
<!--%import("./filter/login.xml")-->
|
||||
<!--%import("./filter/openid_login.xml")-->
|
||||
<!--%import("./message.js")-->
|
||||
<div class="mLogin" id="gLogin">
|
||||
<form action="./" method="post" onsubmit="return doLogin(this, message_login)" id="gForm">
|
||||
<form ruleset="login" action="./" method="post" id="gForm">
|
||||
<input type="hidden" name="act" value="procMemberLogin" />
|
||||
<input type="hidden" name="error_return_url" value="" />
|
||||
<fieldset>
|
||||
<ul class="idpw">
|
||||
<li><input type="text" name="user_id" id="uid" value="" class="inputText" title="{$lang->user_id}" /></li>
|
||||
|
|
@ -38,7 +40,10 @@
|
|||
<!-- OpenID -->
|
||||
<!--@if($member_config->enable_openid=='Y')-->
|
||||
<div class="mLogin" id="oLogin">
|
||||
<form action="{getUrl('module','member','act','procMemberOpenIDLogin')}" method="post" onsubmit="return doLogin(this, openid_login)" id="oForm">
|
||||
<form ruleset="openidLogin" action="./" method="post" id="oForm">
|
||||
<input type="hidden" name="module" value="member" />
|
||||
<input type="hidden" name="act" value="procMemberOpenIDLogin" />
|
||||
<input type="hidden" name="error_return_url" value="" />
|
||||
<fieldset>
|
||||
<div class="oid">
|
||||
<input type="text" name="openid" class="inputText" title="Open ID" value="" />
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<!--%import("filter/insert_config.xml")-->
|
||||
|
||||
<h3 class="xeAdmin">{$lang->message} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
|
||||
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
|
||||
<form action="./" method="post">
|
||||
<input type="hidden" name="act" value="procMessageAdminInsertConfig" />
|
||||
<p class="summary">{$lang->about_skin}</p>
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue