|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
-
-
-
- ?>
-
- <div id="menu-users">
- <div id="nav-points-sale">
- <a class="btn <?php if(!$idPointSaleActive && !$sectionInactiveUsers): ?>btn-primary<?php else: ?>btn-default<?php endif; ?>" href="<?= Yii::$app->urlManager->createUrl(['user/index']); ?>">
- Tous <span class="glyphicon glyphicon-triangle-bottom"></span>
- </a>
- <?php foreach($pointsSaleArray as $pointSale): ?>
- <a class="btn <?php if($idPointSaleActive == $pointSale->id): ?>btn-primary<?php else: ?>btn-default<?php endif; ?>" href="<?= Yii::$app->urlManager->createUrl(['user/index','idPointSale' => $pointSale->id]); ?>">
- <?= Html::encode($pointSale->name) ?>
- <span class="glyphicon glyphicon-triangle-bottom"></span>
- </a>
- <?php endforeach; ?>
- <?php if(isset($sectionInactiveUsers) && !is_null($sectionInactiveUsers)): ?>
- <a class="btn <?php if($sectionInactiveUsers): ?>btn-primary<?php else: ?>btn-default<?php endif; ?>" href="<?= Yii::$app->urlManager->createUrl(['user/index','sectionInactiveUsers' => 1]); ?>">
- Inactifs <span class="glyphicon glyphicon-triangle-bottom"></span>
- </a>
- <?php endif; ?>
- </div>
-
- <div id="submenu">
- <a class="btn btn-xs <?php if($section == 'list'): ?>btn-primary<?php else: ?>btn-default<?php endif; ?>" href="<?= Yii::$app->urlManager->createUrl(['user/index','idPointSale' => $idPointSaleActive]); ?>">
- <span class="glyphicon glyphicon-th-list"></span> Liste
- </a>
- <a class="btn btn-xs <?php if($section == 'sendmail'): ?>btn-primary<?php else: ?>btn-default<?php endif; ?>" href="<?= Yii::$app->urlManager->createUrl(['user/mail','idPointSale' => $idPointSaleActive]); ?>">
- <span class="glyphicon glyphicon-envelope"></span> Envoyer un email
- </a>
- </div>
- </div>
|