mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
* eMail/Sieve/Vacation: set default to 7 for days setting in vacation for new vacation setups
This commit is contained in:
parent
4b3bcf0fb8
commit
2d7a2664dd
@ -648,10 +648,9 @@
|
||||
// ToDO set default
|
||||
|
||||
} else {
|
||||
$this->t->set_var('selected_'.$vacation['days'], 'selected="selected"');
|
||||
$this->t->set_var('selected_'.($vacation['days']?$vacation['days']:'7'), 'selected="selected"');
|
||||
}
|
||||
if (empty($preferences->preferences['prefpreventforwarding']) ||
|
||||
$preferences->preferences['prefpreventforwarding'] == 0 )
|
||||
if (empty($preferences->preferences['prefpreventforwarding']) || $preferences->preferences['prefpreventforwarding'] == 0 )
|
||||
{
|
||||
$this->t->set_var('vacation_forwards','<input class="input_text" name="vacation_forwards" size="80" value="'.htmlspecialchars($vacation['forwards']).'" />');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user