1<form method="post" enctype="multipart/form-data" name="problem_report" action="problem.php">
2<?php Horde_Util::pformInput() ?>
3<input type="hidden" id="actionID" name="actionID" value="cancel_problem_report" />
4<input type="hidden" name="return_url" value="<?php echo htmlspecialchars(Horde_Util::getFormData('return_url')) ?>" />
5
6<h1 class="header"><?php echo _("Describe the Problem") ?></h1>
7<table cellspacing="0" width="100%">
8 <tr>
9  <td class="light rightAlign"><?php echo Horde::label('name', _("Your Name")) ?></td>
10  <td><input type="text" tabindex="1" id="name" name="name" value="<?php echo htmlspecialchars($name) ?>" size="70" /></td>
11 </tr>
12 <tr>
13  <td class="light rightAlign"><?php echo Horde::label('email', _("Your Email Address")) ?></td>
14  <td><input type="text" tabindex="2" id="email" name="email" value="<?php echo htmlspecialchars($email) ?>" size="70" /></td>
15 </tr>
16 <tr>
17  <td class="light rightAlign"><?php echo Horde::label('subject', _("Short Summary")) ?></td>
18  <td><input type="text" tabindex="3" id="subject" name="subject" value="<?php echo htmlspecialchars($subject) ?>" size="70" /></td>
19 </tr>
20<?php if (!empty($GLOBALS['conf']['problems']['attachments'])): ?>
21 <tr>
22  <td class="light rightAlign"><?php echo Horde::label('attachment', _("Attachment")) ?></td>
23  <td><input type="file" tabindex="4" id="attachment" name="attachment" size="60" /></td>
24 </tr>
25<?php endif; ?>
26 <tr>
27  <td colspan="2" class="smallheader"><?php echo Horde::label('message', _("Full Description")) ?></td>
28 </tr>
29 <tr>
30  <td>&nbsp;</td>
31  <td><textarea tabindex="5" id="message" name="message" rows="20" cols="80"><?php echo htmlspecialchars($message) ?></textarea></td>
32 </tr>
33 <tr>
34  <td>&nbsp;</td>
35  <td class="light">
36   <input id="problem-report" class="horde-default" type="submit" name="formsubmit" value="<?php echo _("Send Problem Report") ?>" />
37   <input class="horde-cancel" type="submit" name="formsubmit" value="<?php echo _("Cancel Problem Report") ?>" />
38  </td>
39 </tr>
40</table>
41</form>
42