list-virtual.tpl: only display vacation stuff if vacation support is enabled

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@192 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
David Goodwin 17 years ago
parent 87c97df788
commit a0833809df

@ -236,7 +236,7 @@ if (sizeof ($tMailbox) > 0)
$active = ($tMailbox[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO'];
print " <td><a href=\"edit-active.php?username=" . urlencode ($tMailbox[$i]['username']) . "&domain=$fDomain" . "\">" . $active . "</a></td>\n";
if ($CONF['vacation_control_admin'] == 'YES')
if ($CONF['vacation_control_admin'] == 'YES' && $CONF['vacation'] == 'YES')
{
$v_active_int = $tMailbox[$i]['v_active'];
if($v_active_int !== -1) {

Loading…
Cancel
Save