mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-25 11:00:29 +02:00
Notifications par mail admin
This commit is contained in:
@ -51,12 +51,13 @@ if (!$has_error && (isset($my_account) || isset($new_password))) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($user->getRole() == Role::PARTICIPANT || $user->getRole() == Role::ENCADRANT) { ?>
|
||||
<label for="receive_animath_mails">J'accepte d'être recontacté par l'association <em>Animath</em> au sujet
|
||||
d'autres activités (<em>facultatif</em>) :</label>
|
||||
<input type="checkbox" id="receive_animath_mails" name="receive_animath_mails"
|
||||
<label for="receive_animath_mails">
|
||||
<?= $user->getRole() == Role::PARTICIPANT || $user->getRole() == Role::ENCADRANT
|
||||
? "J'accepte d'être recontacté par l'association <em>Animath</em> au sujet d'autres activités (<em>facultatif</em>) :"
|
||||
: "Recevoir les notifications par mail :" ?>
|
||||
</label>
|
||||
<input type="checkbox" id="receive_animath_mails" name="receive_animath_mails"
|
||||
<?= $user->doReceiveAnimathMails() ? "checked" : "" ?> />
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($user->getRole() == Role::PARTICIPANT) { ?>
|
||||
<div class="form-row">
|
||||
|
Reference in New Issue
Block a user