* * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ use Da\User\Widget\ConnectWidget; use yii\helpers\Html; /** * @var yii\web\View $this * @var yii\widgets\ActiveForm $form * @var \Da\User\Model\User $user */ $this->title = Yii::t('usuario', 'Networks'); $this->params['breadcrumbs'][] = $this->title; ?>
render('/shared/_alert', ['module' => Yii::$app->getModule('user')]) ?>
render('/settings/_menu') ?>
title) ?>

.

['/user/security/auth'], 'accounts' => $user->socialNetworkAccounts, 'autoRender' => false, 'popupMode' => false, ] ) ?> getClients() as $client): ?>
'auth-icon ' . $client->getName()]) ?> getTitle() ?> isConnected($client) ? Html::a( Yii::t('usuario', 'Disconnect'), $auth->createClientUrl($client), [ 'class' => 'btn btn-danger btn-block', 'data-method' => 'post', ] ) : Html::a( Yii::t('usuario', 'Connect'), $auth->createClientUrl($client), [ 'class' => 'btn btn-success btn-block', ] ) ?>