* eMail/Sieve/Vacation: set default to 7 for days setting in vacation for new vacation setups

This commit is contained in:
Klaus Leithoff 2011-09-26 14:40:42 +00:00
parent ad9df848d0
commit b6bfe9373a

View File

@ -640,10 +640,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']).'" />');
}