Add config setting to enable 'Do not notify' checkbox

This commit is contained in:
Nathan Gray 2011-03-21 16:57:11 +00:00
parent 02a93ae43e
commit de241b18f8
3 changed files with 12 additions and 0 deletions

View File

@ -1491,6 +1491,8 @@ function replace_eTemplate_onsubmit()
$readonlys['button[delete]'] = true;
}
}
// Allow users to prevent notifications?
$etpl->set_cell_attribute('no_notifications', 'disabled', !$config['calendar_allow_no_notification']);
// Setup history tab
$this->setup_history($content, $sel_options);

View File

@ -37,6 +37,7 @@ all exceptions are converted into single events. calendar en All exceptions are
all future calendar en All future
all incl. rejected calendar en All incl. rejected
all participants calendar en All participants
allow users to prevent change notifications ('Do not notify') calendar en Allow users to prevent change notifications ('Do not notify')
allows to edit the event again calendar en Allows to edit the event again
always calendar en Always
apply the action on the whole query, not only the shown events calendar en Apply the action on the whole query, NOT only the shown events

View File

@ -60,6 +60,15 @@
<td>{lang_While_selecting_up_to_X_users_day-_and_weekview_is_not_consolidated_(5_is_used_when_not_set)}:</td>
<td><input name="newsettings[calview_no_consolidate]" value="{value_calview_no_consolidate}" size="10"></td>
</tr>
<tr class="row_on">
<td>{lang_Allow_users_to_prevent_change_notifications_('Do_not_notify')}:</td>
<td>
<select name="newsettings[calendar_allow_no_notification]">
<option value=""{selected_calendar_allow_no_notification_False}>{lang_No}</option>
<option value="True"{selected_calendar_allow_no_notification_True}>{lang_Yes}</option>
</select>
</td>
</tr>
<tr class="th">
<td colspan="2">&nbsp;<b>{lang_History_logging}</b></td>
</tr>