mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
users_edit-alias.tpl:
- fix: mailbox not removed from alias targets https://sourceforge.net/tracker/index.php?func=detail&aid=1839063&group_id=191583&atid=937964 - don't list mailbox in "to" field. We have option fields for this below the textarea. git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@246 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
1 parent
e74a109dc7
commit
8f0b75feda
1 file changed
+7
-8
@@ -15,14 +15,7 @@
|
||||
<?php
|
||||
$array = preg_split ('/,/', $tGoto);
|
||||
|
||||
if (!in_array($USERID_USERNAME,$array))
|
||||
{
|
||||
$just_forward="YES";
|
||||
}
|
||||
else
|
||||
{
|
||||
$just_forward="NO";
|
||||
}
|
||||
$just_forward="YES"; # unless changed below
|
||||
|
||||
for ($i = 0 ; $i < sizeof ($array) ; $i++)
|
||||
{
|
||||
@@ -32,6 +25,10 @@ for ($i = 0 ; $i < sizeof ($array) ; $i++)
|
||||
$vacation = "YES";
|
||||
continue;
|
||||
}
|
||||
if ($array[$i] == $USERID_USERNAME) {
|
||||
$just_forward="NO";
|
||||
continue;
|
||||
}
|
||||
print "$array[$i]\n";
|
||||
}
|
||||
?>
|
||||
@@ -61,3 +58,5 @@ for ($i = 0 ; $i < sizeof ($array) ; $i++)
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php /* vim: set ft=php expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ ?>
|
||||
Reference in new issue
Block a user