mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 20:59:55 +09:00
mid체크 정규표현식에 숫자도 포함하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2277 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
870b6e0ec4
commit
4ace824cb0
1 changed files with 2 additions and 2 deletions
|
|
@ -311,7 +311,7 @@
|
|||
// 변수 정리
|
||||
$name = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->name);
|
||||
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url);
|
||||
if(eregi('^([a-zA-Z\_\-]+)$', $node->url)) $href = getUrl('','mid',$node->url);
|
||||
if(eregi('^([0-9a-zA-Z\_\-]+)$', $node->url)) $href = getUrl('','mid',$node->url);
|
||||
else $href = $url;
|
||||
$open_window = $node->open_window;
|
||||
$expand = $node->expand;
|
||||
|
|
@ -372,7 +372,7 @@
|
|||
$name = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->name);
|
||||
$href = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->href);
|
||||
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url);
|
||||
if(eregi('^([a-zA-Z\_\-]+)$', $node->url)) $href = getUrl('','mid',$node->url);
|
||||
if(eregi('^([0-9a-zA-Z\_\-]+)$', $node->url)) $href = getUrl('','mid',$node->url);
|
||||
else $href = $url;
|
||||
$open_window = $node->open_window;
|
||||
$normal_btn = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->normal_btn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue