SF.net SVN: postfixadmin:[578] trunk/templates/users_edit-alias.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2009-03-13 20:49:57
|
Revision: 578 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=578&view=rev Author: GingerDog Date: 2009-03-13 20:49:54 +0000 (Fri, 13 Mar 2009) Log Message: ----------- remove logic from users template Modified Paths: -------------- trunk/templates/users_edit-alias.php Modified: trunk/templates/users_edit-alias.php =================================================================== --- trunk/templates/users_edit-alias.php 2009-03-13 20:49:32 UTC (rev 577) +++ trunk/templates/users_edit-alias.php 2009-03-13 20:49:54 UTC (rev 578) @@ -14,27 +14,17 @@ <td><?php print $PALANG['pEdit_alias_goto'] . ":"; ?></td> <td><textarea class="flat" rows="4" cols="50" name="fGoto"> <?php -$array = preg_split ('/,/', $tGoto); -$just_forward="YES"; # unless changed below +$just_forward = "YES"; +if($tStoreAndForward) { + $just_forward = "NO"; +} -for ($i = 0 ; $i < sizeof ($array) ; $i++) -{ - if (empty ($array[$i])) continue; - if ($array[$i] == "$vacation_goto") - { - $vacation = "YES"; - continue; - } - if ($array[$i] == $USERID_USERNAME) { - $just_forward="NO"; - continue; - } - print "$array[$i]\n"; +foreach($tGotoArray as $address) { + print "$address\n"; } ?> </textarea> - <input type="hidden" name="fVacation" value="<?php print $vacation; ?>"> </td> <td> </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |