Button pour les emails

This commit is contained in:
Michael RICOIS 2016-09-07 17:51:54 +02:00
parent 11dfca7a5a
commit 86cf3d9611
2 changed files with 8 additions and 6 deletions

View File

@ -23,6 +23,10 @@
<th scope="row">Service</th>
<td><?=$this->Item->ServiceLabel?></td>
</tr>
<tr>
<th scope="row">Action</th>
<td><button type="button" class="btn btn-sm btn-primary">Emails</button></td>
</tr>
</tbody>
</table>
@ -36,13 +40,13 @@
<?php if (in_array($this->UserProfil, array('Administrateur', 'SuperAdministrateur'))) {?>
<?php if ($this->UserModeEdit == 1) {?>
<button type="button" id="editsession" data-toggle="button" data-loading-text="Enregistrement..."
data-url="<?=$this->url(array('module'=>'user', 'controller'=>'identity', 'action'=>'editsession',
<button type="button" id="editsession" data-toggle="button" data-loading-text="Enregistrement..."
data-url="<?=$this->url(array('module'=>'user', 'controller'=>'identity', 'action'=>'editsession',
'mode'=>0), 'default', true)?>" type="button"
class="btn btn-primary" autocomplete="off">Désactiver Mode Edition (session)</button>
<?php } else {?>
<button type="button" id="editsession" data-toggle="button" data-loading-text="Enregistrement..."
data-url="<?=$this->url(array('module'=>'user', 'controller'=>'identity', 'action'=>'editsession',
<button type="button" id="editsession" data-toggle="button" data-loading-text="Enregistrement..."
data-url="<?=$this->url(array('module'=>'user', 'controller'=>'identity', 'action'=>'editsession',
'mode'=>1), 'default', true)?>" type="button"
class="btn btn-primary" autocomplete="off">Activer Mode Edition (session)</button>
<?php }?>
@ -61,7 +65,6 @@ $('#editsession').click(function(e){
});
</script>
<?php }?>
<?php }?>
<h2>Accès</h2>