* 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:39:00 +00:00
parent 4b3bcf0fb8
commit 2d7a2664dd

View File

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