opensmtpdadmin/templates/users_vacation.tpl
2022-09-04 17:17:50 +00:00

34 lines
1.0 KiB
Smarty

<div id="edit_form">
<form name="vacation" method="post">
<table>
<tr>
<td colspan="3"><h3><?php echo $LANG['UsersVacation_welcome']; ?></h3></td>
</tr>
<?php if ($action == 'away') { ?>
<tr>
<td><?php echo $LANG['UsersVacation_subject'] . ":"; ?></td>
<td><input type="text" name="subject" value="<?php echo $LANG['UsersVacation_subject_text']; ?>" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['UsersVacation_body'] . ":"; ?></td>
<td>
<textarea rows="10" cols="80" name="body">
<?php echo $LANG['UsersVacation_body_text']; ?>
</textarea>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="away" value="<?php echo $LANG['UsersVacation_button_away']; ?>" /></td>
<?php } else { ?>
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="back" value="<?php echo $LANG['UsersVacation_button_back']; ?>" /></td>
<?php } ?>
</tr>
<tr>
<td colspan="3" class="standout"><?php echo $message ?? '&nbsp;'; ?></td>
</tr>
</table>
</form>
</div>