* * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ use dektrium\user\widgets\Connect; use yii\helpers\Html; /* * @var yii\web\View $this * @var yii\widgets\ActiveForm $form */ $this->title = Yii::t('user', 'Networks'); $this->params['breadcrumbs'][] = $this->title; ?> = $this->render('/_alert', ['module' => Yii::$app->getModule('user')]) ?>
= Yii::t('user', 'You can connect multiple accounts to be able to log in using them') ?>.
| = Html::tag('span', '', ['class' => 'auth-icon ' . $client->getName()]) ?> | = $client->getTitle() ?> | = $auth->isConnected($client) ? Html::a(Yii::t('user', 'Disconnect'), $auth->createClientUrl($client), [ 'class' => 'btn btn-danger btn-block', 'data-method' => 'post', ]) : Html::a(Yii::t('user', 'Connect'), $auth->createClientUrl($client), [ 'class' => 'btn btn-success btn-block', ]) ?> |