|
- <?php
-
-
-
- use yii\helpers\Html ;
- use yii\widgets\ActiveForm;
-
- $this->setTitle('Liste des emails') ;
- $this->addBreadcrumb(['label' => 'Utilisateurs', 'url' => ['user/index']]) ;
- $this->addBreadcrumb($this->getTitle()) ;
-
- ?>
-
- <?=
-
- $this->render('_menu',[
- 'idPointSaleActive' => $idPointSaleActive,
- 'sectionInactiveUsers' => isset($sectionInactiveUsers) ? $sectionInactiveUsers : null,
- 'pointsSaleArray' => $pointsSaleArray,
- 'section' => 'sendmail'
- ]) ;
-
- ?>
-
- <div id="">
- <div class="col-md-6">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title">Envoyer un message</h3>
- </div>
- <div class="panel-body">
- <?php $form = ActiveForm::begin(); ?>
- <?= $form->field($mailForm, 'subject')->textInput() ; ?>
- <?= $form->field($mailForm, 'message')->textarea(['rows' => '15']) ; ?>
- <div class="form-group">
- <?= Html::submitButton( 'Envoyer', ['class' => 'btn btn-primary']) ?>
- </div>
- <?php ActiveForm::end(); ?>
- </div>
- </div>
- </div>
- <div class="col-md-6">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title">Liste des emails <span class="label label-default"><?= count($usersArray); ?></span></h3>
- </div>
- <div class="panel-body">
- <?= implode(', ', $usersArray); ?>
- </div>
- </div>
- </div>
- <div class="clr"></div>
- </div>
-
|