You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.9 KiB
PHTML
63 lines
1.9 KiB
PHTML
18 years ago
|
<div id="edit_form">
|
||
|
<form name="alias" method="post">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td colspan="3"><h3><?php print $PALANG['pEdit_alias_welcome']; ?></h3></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><?php print $PALANG['pEdit_alias_address'] . ":"; ?></td>
|
||
|
<td><?php print $USERID_USERNAME; ?></td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><?php print $PALANG['pEdit_alias_goto'] . ":"; ?></td>
|
||
18 years ago
|
<td><textarea class="flat" rows="4" cols="50" name="fGoto">
|
||
18 years ago
|
<?php
|
||
|
$array = preg_split ('/,/', $tGoto);
|
||
|
|
||
17 years ago
|
$just_forward="YES"; # unless changed below
|
||
18 years ago
|
|
||
|
for ($i = 0 ; $i < sizeof ($array) ; $i++)
|
||
|
{
|
||
|
if (empty ($array[$i])) continue;
|
||
17 years ago
|
if ($array[$i] == "$vacation_goto")
|
||
18 years ago
|
{
|
||
|
$vacation = "YES";
|
||
|
continue;
|
||
|
}
|
||
17 years ago
|
if ($array[$i] == $USERID_USERNAME) {
|
||
|
$just_forward="NO";
|
||
|
continue;
|
||
|
}
|
||
18 years ago
|
print "$array[$i]\n";
|
||
|
}
|
||
|
?>
|
||
|
</textarea>
|
||
|
<input type="hidden" name="fVacation" value="<?php print $vacation; ?>">
|
||
|
</td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td> </td>
|
||
|
<td colspan="2">
|
||
|
<input class="flat" type="radio" name="fForward_and_store" value="YES" <?php ($just_forward=="NO") ? print 'checked' : ''; ?> />
|
||
|
<?php print $PALANG['pEdit_alias_forward_and_store']; ?><br />
|
||
|
<input class="flat" type="radio" name="fForward_and_store" value="NO" <?php ($just_forward=="YES") ? print 'checked' : ''; ?> />
|
||
|
<?php print $PALANG['pEdit_alias_forward_only']; ?>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
18 years ago
|
<td colspan="3" class="hlp_center">
|
||
|
<input class="button" type="submit" name="submit" value="<?php print $PALANG['pEdit_alias_button']; ?>">
|
||
17 years ago
|
<input class="button" type="submit" name="fCancel" value="<?php print $PALANG['exit']; ?>" >
|
||
18 years ago
|
</td>
|
||
18 years ago
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3" class="standout"><?php print $tMessage; ?></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</form>
|
||
|
</div>
|
||
17 years ago
|
|
||
|
<?php /* vim: set ft=php expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ ?>
|