コード例 #1
0
ファイル: login.php プロジェクト: keyeMyria/CRM
    ?>
                <div id='full-name'><?php 
    echo $fullName;
    ?>
</div>
                <?php 
}
if (AuxLib::isIE() && AuxLib::getIEVer() < 10) {
    echo $form->label($model, 'username', array('style' => $hasProfile ? 'display: none;' : ''));
}
if ($hasProfile) {
    echo $form->hiddenField($model, 'username');
} else {
    echo $form->textField($model, 'username', array('placeholder' => Yii::t('app', 'Username')));
}
if (AuxLib::isIE() && AuxLib::getIEVer() < 10) {
    echo $form->label($model, 'password', array('style' => 'margin-top:5px;'));
}
echo $form->passwordField($model, 'password', array('placeholder' => Yii::t('app', 'Password')));
echo $form->error($model, 'password');
if ($model->useCaptcha && CCaptcha::checkRequirements()) {
    ?>
                <div class="row captcha-row">
                    <?php 
    echo '<div id="captcha-container">';
    $this->widget('CCaptcha', array('clickableImage' => true, 'showRefreshButton' => false, 'imageOptions' => array('id' => 'captcha-image', 'style' => 'display:block;cursor:pointer;', 'title' => Yii::t('app', 'Click to get a new image'))));
    echo '</div>';
    echo '<p class="hint">' . Yii::t('app', 'Please enter the letters in the image above.') . '</p>';
    echo $form->textField($model, 'verifyCode');
    ?>
                </div><?php