변수 처리시 *srl 변수에 숫자+,(콤마)가 들어가도록 하여 모듈 복사 및 모듈/회원의 그룹 일괄 변경등이 가능하도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4907 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-19 08:44:40 +00:00
parent beabe56505
commit de8eb4cdd1
5 changed files with 7 additions and 7 deletions

View file

@ -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;

View file

@ -16,4 +16,4 @@
<tag name="error" />
<tag name="message" />
</response>
</filter>
</filter>