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
postfixadmin-2.3
Christian Boltz 17 years ago
parent e74a109dc7
commit 8f0b75feda

@ -15,14 +15,7 @@
<?php <?php
$array = preg_split ('/,/', $tGoto); $array = preg_split ('/,/', $tGoto);
if (!in_array($USERID_USERNAME,$array)) $just_forward="YES"; # unless changed below
{
$just_forward="YES";
}
else
{
$just_forward="NO";
}
for ($i = 0 ; $i < sizeof ($array) ; $i++) for ($i = 0 ; $i < sizeof ($array) ; $i++)
{ {
@ -32,6 +25,10 @@ for ($i = 0 ; $i < sizeof ($array) ; $i++)
$vacation = "YES"; $vacation = "YES";
continue; continue;
} }
if ($array[$i] == $USERID_USERNAME) {
$just_forward="NO";
continue;
}
print "$array[$i]\n"; print "$array[$i]\n";
} }
?> ?>
@ -61,3 +58,5 @@ for ($i = 0 ; $i < sizeof ($array) ; $i++)
</table> </table>
</form> </form>
</div> </div>
<?php /* vim: set ft=php expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ ?>

Loading…
Cancel
Save