Changeset 20075


Ignore:
Timestamp:
2011/02/03 18:37:07 (11 years ago)
Author:
kimoto
Message:

lfPassLenという関数がSC_Utilsにあったので命名規則にあわせて修正 #700

Location:
branches/version-2_5-dev/data/class
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_Customer.php

    • Property svn:executable set to *
    r20065 r20075  
    133133                $this->tpl_mainpage = 'customer/customer_confirm.tpl'; // 確認ページ 
    134134                $passlen = strlen($this->arrForm['password']); 
    135                 $this->passlen = $this->lfPassLen($passlen); 
     135                $this->passlen = SC_Utils_Ex::sfPassLen($passlen); 
    136136            } else { 
    137137                foreach($this->arrForm as $key => $val) { 
     
    285285    } 
    286286 
    287  
    288     //確認ページ用パスワード表示用 
    289     function lfPassLen($passlen){ 
    290         $ret = ""; 
    291         for ($i=0;$i<$passlen;true){ 
    292             $ret.="*"; 
    293             $i++; 
    294         } 
    295         return $ret; 
    296     } 
    297  
    298287} 
    299288?> 
  • branches/version-2_5-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_Edit.php

    • Property svn:executable set to *
    r20044 r20075  
    189189                        $this->tpl_mainpage = 'customer/edit_confirm.tpl'; 
    190190                        $passlen = strlen($this->arrForm['password']); 
    191                         $this->passlen = SC_Utils_Ex::lfPassLen($passlen); 
     191                        $this->passlen = SC_Utils_Ex::sfPassLen($passlen); 
    192192 
    193193                    } 
  • branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php

    • Property svn:executable set to *
    r20073 r20075  
    131131            if(empty($this->arrErr)) { 
    132132                //パスワード表示 
    133                 $this->passlen      = SC_Utils_Ex::lfPassLen(strlen($this->arrForm['password'])); 
     133                $this->passlen      = SC_Utils_Ex::sfPassLen(strlen($this->arrForm['password'])); 
    134134 
    135135                $this->tpl_mainpage = 'entry/confirm.tpl'; 
  • branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Change.php

    • Property svn:executable set to *
    r20044 r20075  
    140140                    //パスワード表示 
    141141                    $passlen = strlen($this->arrForm['password']); 
    142                     $this->passlen = SC_Utils_Ex::lfPassLen($passlen); 
     142                    $this->passlen = SC_Utils_Ex::sfPassLen($passlen); 
    143143 
    144144                    $this->tpl_mainpage = 'mypage/change_confirm.tpl'; 
  • branches/version-2_5-dev/data/class/util/SC_Utils.php

    • Property svn:executable set to *
    r20074 r20075  
    261261     * @return string アスタリスクへ変換した文字列 
    262262     */ 
    263     function lfPassLen($passlen){ 
     263    function sfPassLen($passlen){ 
    264264        $ret = ""; 
    265265        for ($i=0;$i<$passlen;true){ 
Note: See TracChangeset for help on using the changeset viewer.