File: problem.inc

package info (click to toggle)
php-horde 5.2.1%2Bdebian0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 12,196 kB
  • sloc: php: 11,089; xml: 6,460; sh: 96; makefile: 33; sql: 1
file content (41 lines) | stat: -rw-r--r-- 2,023 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<form method="post" enctype="multipart/form-data" name="problem_report" action="problem.php">
<?php Horde_Util::pformInput() ?>
<input type="hidden" id="actionID" name="actionID" value="cancel_problem_report" />
<input type="hidden" name="return_url" value="<?php echo htmlspecialchars(Horde_Util::getFormData('return_url')) ?>" />

<h1 class="header"><?php echo _("Describe the Problem") ?></h1>
<table cellspacing="0" width="100%">
 <tr>
  <td class="light rightAlign"><?php echo Horde::label('name', _("Your Name")) ?></td>
  <td><input type="text" tabindex="1" id="name" name="name" value="<?php echo htmlspecialchars($name) ?>" size="70" /></td>
 </tr>
 <tr>
  <td class="light rightAlign"><?php echo Horde::label('email', _("Your Email Address")) ?></td>
  <td><input type="text" tabindex="2" id="email" name="email" value="<?php echo htmlspecialchars($email) ?>" size="70" /></td>
 </tr>
 <tr>
  <td class="light rightAlign"><?php echo Horde::label('subject', _("Short Summary")) ?></td>
  <td><input type="text" tabindex="3" id="subject" name="subject" value="<?php echo htmlspecialchars($subject) ?>" size="70" /></td>
 </tr>
<?php if (!empty($GLOBALS['conf']['problems']['attachments'])): ?>
 <tr>
  <td class="light rightAlign"><?php echo Horde::label('attachment', _("Attachment")) ?></td>
  <td><input type="file" tabindex="4" id="attachment" name="attachment" size="60" /></td>
 </tr>
<?php endif; ?>
 <tr>
  <td colspan="2" class="smallheader"><?php echo Horde::label('message', _("Full Description")) ?></td>
 </tr>
 <tr>
  <td>&nbsp;</td>
  <td><textarea tabindex="5" id="message" name="message" rows="20" cols="80"><?php echo htmlspecialchars($message) ?></textarea></td>
 </tr>
 <tr>
  <td>&nbsp;</td>
  <td class="light">
   <input id="problem-report" class="horde-default" type="submit" name="formsubmit" value="<?php echo _("Send Problem Report") ?>" />
   <input class="horde-cancel" type="submit" name="formsubmit" value="<?php echo _("Cancel Problem Report") ?>" />
  </td>
 </tr>
</table>
</form>