Changeset 22883


Ignore:
Timestamp:
2013/06/24 11:57:05 (7 years ago)
Author:
dkazuto
Message:

#2168 パスワードに記号を利用できるように

Location:
branches/version-2_13-dev/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/Smarty/templates/admin/customer/edit.tpl

    r22571 r22883  
    190190                <td> 
    191191                    <span class="attention"><!--{$arrErr.password}--><!--{$arrErr.password02}--></span> 
    192                     <input type="password" name="password" value="<!--{$arrForm.password|h}-->" size="30" class="box30" <!--{if $arrErr.password != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 半角英数小文字<!--{$smarty.const.PASSWORD_MIN_LEN}-->~<!--{$smarty.const.PASSWORD_MAX_LEN}-->文字(記号可)<br /> 
     192                    <input type="password" name="password" value="<!--{$arrForm.password|h}-->" size="30" class="box30" <!--{if $arrErr.password != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 半角英数小文字<!--{$smarty.const.PASSWORD_MIN_LEN}-->~<!--{$smarty.const.PASSWORD_MAX_LEN}-->文字(記号可)<br /> 
    193193                    <input type="password" name="password02" value="<!--{$arrForm.password02|h}-->" size="30" class="box30" <!--{if $arrErr.password02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 
    194194                    <p><span class="attention mini">確認のために2度入力してください。</span></p> 
  • branches/version-2_13-dev/data/Smarty/templates/default/frontparts/form_personal_input.tpl

    r22206 r22883  
    193193                <!--{/if}--> 
    194194                <input type="password" name="password" value="<!--{$arrForm.password|h}-->" maxlength="<!--{$smarty.const.PASSWORD_MAX_LEN}-->" style="<!--{$arrErr.password|sfGetErrorColor}-->" class="box120" /> 
    195                 <p><span class="attention mini">半角英数字<!--{$smarty.const.PASSWORD_MIN_LEN}-->~<!--{$smarty.const.PASSWORD_MAX_LEN}-->文字でお願いします。(記号可)</span></p> 
     195                <p><span class="attention mini">半角英数字<!--{$smarty.const.PASSWORD_MIN_LEN}-->~<!--{$smarty.const.PASSWORD_MAX_LEN}-->文字でお願いします。(記号可)</span></p> 
    196196                <input type="password" name="password02" value="<!--{$arrForm.password02|h}-->" maxlength="<!--{$smarty.const.PASSWORD_MAX_LEN}-->" style="<!--{$arrErr.password|cat:$arrErr.password02|sfGetErrorColor}-->" class="box120" /> 
    197197                <p><span class="attention mini">確認のために2度入力してください。</span></p> 
  • branches/version-2_13-dev/data/class/helper/SC_Helper_Customer.php

    r22856 r22883  
    410410    function sfCustomerRegisterParam(&$objFormParam, $isAdmin = false, $is_mypage = false) 
    411411    { 
    412         $objFormParam->addParam('パスワード', 'password', PASSWORD_MAX_LEN, 'a', array('EXIST_CHECK', 'SPTAB_CHECK', 'ALNUM_CHECK')); 
     412        $objFormParam->addParam('パスワード', 'password', PASSWORD_MAX_LEN, 'a', array('EXIST_CHECK', 'SPTAB_CHECK', 'GRAPH_CHECK')); 
    413413        $objFormParam->addParam('パスワード確認用の質問の答え', 'reminder_answer', STEXT_LEN, 'aKV', array('EXIST_CHECK', 'SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
    414414        $objFormParam->addParam('パスワード確認用の質問', 'reminder', STEXT_LEN, 'n', array('EXIST_CHECK', 'NUM_CHECK', 'MAX_LENGTH_CHECK')); 
     
    422422        if (SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE) { 
    423423            $objFormParam->addParam('メールアドレス', 'email', null, 'a', array('NO_SPTAB', 'EXIST_CHECK', 'EMAIL_CHECK', 'SPTAB_CHECK' ,'EMAIL_CHAR_CHECK')); 
    424             $objFormParam->addParam('パスワード(確認)', 'password02', PASSWORD_MAX_LEN, 'a', array('EXIST_CHECK', 'SPTAB_CHECK' ,'ALNUM_CHECK'), '', false); 
     424            $objFormParam->addParam('パスワード(確認)', 'password02', PASSWORD_MAX_LEN, 'a', array('EXIST_CHECK', 'SPTAB_CHECK' ,'GRAPH_CHECK'), '', false); 
    425425            if (!$isAdmin) { 
    426426                $objFormParam->addParam('メールアドレス(確認)', 'email02', null, 'a', array('NO_SPTAB', 'EXIST_CHECK', 'EMAIL_CHECK','SPTAB_CHECK' , 'EMAIL_CHAR_CHECK'), '', false); 
Note: See TracChangeset for help on using the changeset viewer.