Backend for e-mail notifications. Actual sending of e-mail TODO
This commit is contained in:
parent
9d73675aea
commit
bb189eb86c
@ -40,9 +40,9 @@
|
|||||||
<p>
|
<p>
|
||||||
<label for="notifications" class="label-block">Notifications for </label>
|
<label for="notifications" class="label-block">Notifications for </label>
|
||||||
<select name="notifications" id="notifications">
|
<select name="notifications" id="notifications">
|
||||||
<option value="1" {if condition="$user_data->getNotifications() == 1"}selected="selected"{/if}>nothing.</option>
|
<option value="1" {if condition="$user_id != -1 && $user_data->getNotifications() == 1"}selected="selected"{/if}>nothing.</option>
|
||||||
<option value="2" {if condition="$user_data->getNotifications() == 2"}selected="selected"{/if}>global paybacks only.</option>
|
<option value="2" {if condition="$user_id != -1 && $user_data->getNotifications() == 2"}selected="selected"{/if}>global paybacks only.</option>
|
||||||
<option value="3" {if condition="$user_data->getNotifications() == 3"}selected="selected"{/if}>everything involving this user.</option>
|
<option value="3" {if condition="$user_id != -1 && $user_data->getNotifications() == 3"}selected="selected"{/if}>everything involving this user.</option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
@ -40,9 +40,9 @@
|
|||||||
<p>
|
<p>
|
||||||
<label for="notifications" class="label-block">Notifications pour </label>
|
<label for="notifications" class="label-block">Notifications pour </label>
|
||||||
<select name="notifications" id="notifications">
|
<select name="notifications" id="notifications">
|
||||||
<option value="1" {if condition="$user_data->getNotifications() == 1"}selected="selected"{/if}>rien.</option>
|
<option value="1" {if condition="$user_id != -1 && $user_data->getNotifications() == 1"}selected="selected"{/if}>rien.</option>
|
||||||
<option value="2" {if condition="$user_data->getNotifications() == 2"}selected="selected"{/if}>les remboursements globaux uniquement.</option>
|
<option value="2" {if condition="$user_id != -1 && $user_data->getNotifications() == 2"}selected="selected"{/if}>les remboursements globaux uniquement.</option>
|
||||||
<option value="3" {if condition="$user_data->getNotifications() == 3"}selected="selected"{/if}>tout ce qui concerne cet utilisateur.</option>
|
<option value="3" {if condition="$user_id != -1 && $user_data->getNotifications() == 3"}selected="selected"{/if}>tout ce qui concerne cet utilisateur.</option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user