?> <tr> <td style="width: 32px; vertical-align: middle"> <?php echo Html::tag('span', '', ['class' => 'auth-icon ' . $client->getName()]); ?> </td> <td style="vertical-align: middle"> <strong><?php echo $client->getTitle(); ?> </strong> </td> <td style="width: 120px"> <?php echo $auth->isConnected($client) ? Html::a(Yii::t('users', 'Disconnect'), $auth->createClientUrl($client), ['class' => 'btn btn-danger btn-block', 'data-method' => 'post']) : Html::a(Yii::t('users', 'Connect'), $auth->createClientUrl($client), ['class' => 'btn btn-success btn-block']); ?> </td> </tr> <?php } ?> </table> <?php Connect::end(); ?> </div> </div> </div> </div>
?> </div> </div> <?php if ($module->enableConfirmation) { ?> <p class="text-center"> <?php echo Html::a(Yii::t('users', 'Didn\'t receive confirmation message?'), ['/users/registration/resend']); ?> </p> <?php } ?> <?php if ($module->enableRegistration) { ?> <p class="text-center"> <?php echo Html::a(Yii::t('users', 'Don\'t have an account? Sign up!'), ['/users/registration/register']); ?> </p> <?php } ?> <?php echo Connect::widget(['baseAuthUrl' => ['/users/security/auth']]); ?> </div> </div>