Пример #1
0
 public static function widget($config = [])
 {
     // Extract the extra option.
     if (isset($config['itemPrefix'])) {
         self::$itemPrefix = $config['itemPrefix'];
         unset($config['itemPrefix']);
     }
     self::$tabIndex = null;
     if (isset($config['tabIndex'])) {
         self::$tabIndex = $config['tabIndex'];
         unset($config['tabIndex']);
     }
     return parent::widget($config);
 }
Пример #2
0
?>
            </div>
        </div>
        <?php 
if ($module->enableConfirmation) {
    ?>
            <p class="text-center">
                <?php 
    echo Html::a(Yii::t('user', 'Didn\'t receive confirmation message?'), ['/user/registration/resend']);
    ?>
            </p>
        <?php 
}
?>
        <?php 
if ($module->enableRegistration) {
    ?>
            <p class="text-center">
                <?php 
    echo Html::a(Yii::t('user', 'Don\'t have an account? Sign up!'), ['/user/registration/register']);
    ?>
            </p>
        <?php 
}
?>
        <?php 
echo Connect::widget(['baseAuthUrl' => ['/user/security/auth']]);
?>
    </div>
</div>