opensmtpdadmin/templates/vacation.tpl

34 lines
1.0 KiB
Smarty
Raw Normal View History

2022-09-06 10:32:25 +02:00
<div id="edit_form">
<form name="vacation" method="post">
<table>
<tr>
<td colspan="3"><h3><?php echo $LANG['Vacation_welcome']; ?></h3></td>
</tr>
<?php if ($action == 'away') { ?>
<tr>
<td><?php echo $LANG['Vacation_subject'] . ":"; ?></td>
<td><input type="text" name="subject" value="<?php echo $LANG['Vacation_subject_text']; ?>" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><?php echo $LANG['Vacation_body'] . ":"; ?></td>
<td>
<textarea rows="10" cols="80" name="body">
<?php echo $LANG['Vacation_body_text']; ?>
</textarea>
</td>
<td>&nbsp;</td>
</tr>
<tr>
2022-09-06 15:48:07 +02:00
<td colspan="3" class="help_center"><input class="button" type="submit" name="away" value="<?php echo $LANG['Vacation_button_away']; ?>" /></td>
2022-09-06 10:32:25 +02:00
<?php } else { ?>
2022-09-06 15:48:07 +02:00
<td colspan="3" class="help_center"><input class="button" type="submit" name="back" value="<?php echo $LANG['Vacation_button_back']; ?>" /></td>
2022-09-06 10:32:25 +02:00
<?php } ?>
</tr>
<tr>
<td colspan="3" class="standout"><?php echo $message ?? '&nbsp;'; ?></td>
</tr>
</table>
</form>
</div>