mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
변수 처리시 *srl 변수에 숫자+,(콤마)가 들어가도록 하여 모듈 복사 및 모듈/회원의 그룹 일괄 변경등이 가능하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4907 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
beabe56505
commit
de8eb4cdd1
5 changed files with 7 additions and 7 deletions
|
|
@ -74,8 +74,9 @@
|
|||
$clones = array();
|
||||
$args = Context::getAll();
|
||||
for($i=1;$i<=10;$i++) {
|
||||
$mid = $args->{"mid_".$i};
|
||||
if(!ereg("^[a-zA-Z][a-zA-Z0-9_]+", $mid)) return new Object(-1, 'msg_limit_mid');
|
||||
$mid = trim($args->{"mid_".$i});
|
||||
if(!$mid) continue;
|
||||
if(!preg_match("/^[a-zA-Z]([a-zA-Z0-9_]*)$/i", $mid)) return new Object(-1, 'msg_limit_mid');
|
||||
$browser_title = $args->{"browser_title_".$i};
|
||||
if(!$mid) continue;
|
||||
if($mid && !$browser_title) $browser_title = $mid;
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@
|
|||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
</filter>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue