Ignore:
Timestamp:
2012/02/17 02:42:21 (14 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_CheckError.php

    r21515 r21527  
    680680    //  value[0] = 項目名 value[1] = 判定対象URL 
    681681    function URL_CHECK($value) { 
    682          if (isset($this->arrErr[$value[1]])) { 
    683             return; 
    684         } 
    685          if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("@^https?://+($|[a-zA-Z0-9_~=:&\?\.\/-])+$@i", $this->arrParam[$value[1]])) { 
     682        if (isset($this->arrErr[$value[1]])) { 
     683            return; 
     684        } 
     685        if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("@^https?://+($|[a-zA-Z0-9_~=:&\?\.\/-])+$@i", $this->arrParam[$value[1]])) { 
    686686            $this->arrErr[$value[1]] = '※ ' . $value[0] . 'を正しく入力してください。<br />'; 
    687687        } 
Note: See TracChangeset for help on using the changeset viewer.