opensmtpdadmin/templates/users_vacation.tpl

34 lines
1.0 KiB
Smarty
Raw Normal View History

2022-08-18 14:01:52 +02:00
<div id="edit_form">
<form name="vacation" method="post">
<table>
<tr>
2022-09-04 11:38:47 +02:00
<td colspan="3"><h3><?php echo $LANG['UsersVacation_welcome']; ?></h3></td>
2022-08-18 14:01:52 +02:00
</tr>
2022-09-04 19:17:50 +02:00
<?php if ($action == 'away') { ?>
2022-08-18 14:01:52 +02:00
<tr>
2022-09-04 11:38:47 +02:00
<td><?php echo $LANG['UsersVacation_subject'] . ":"; ?></td>
2022-09-04 19:17:50 +02:00
<td><input type="text" name="subject" value="<?php echo $LANG['UsersVacation_subject_text']; ?>" /></td>
2022-08-18 14:01:52 +02:00
<td>&nbsp;</td>
</tr>
<tr>
2022-09-04 11:38:47 +02:00
<td><?php echo $LANG['UsersVacation_body'] . ":"; ?></td>
2022-08-18 14:01:52 +02:00
<td>
2022-09-04 19:17:50 +02:00
<textarea rows="10" cols="80" name="body">
2022-09-04 11:38:47 +02:00
<?php echo $LANG['UsersVacation_body_text']; ?>
2022-08-18 14:01:52 +02:00
</textarea>
</td>
<td>&nbsp;</td>
</tr>
<tr>
2022-09-04 19:17:50 +02:00
<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 } ?>
2022-08-18 14:01:52 +02:00
</tr>
<tr>
2022-09-04 19:17:50 +02:00
<td colspan="3" class="standout"><?php echo $message ?? '&nbsp;'; ?></td>
2022-08-18 14:01:52 +02:00
</tr>
</table>
</form>
</div>