Diff for horde/templates/problem/problem.inc between version 2.25 and 2.26

Location: [ Horde CVS ] / horde / templates / problem / problem.inc
Download diff as:

Log Message

2.26: escape output in the problem reporting form
Unmodified Unmodified Added Added Modified Modified Removed Removed
Version 2.25 Version 2.26
Line 28 Line 28
<table cellspacing="0" width="100%">
<tr>
<td class="light rightAlign"><?php echo _("Your Name") ?></td>
<table cellspacing="0" width="100%">
<tr>
<td class="light rightAlign"><?php echo _("Your Name") ?></td>
  <td><input type="text" tabindex="1" name="name" value="<?php echo $name ?>" size="70" /></td>
  <td><input type="text" tabindex="1" name="name" value="<?php echo htmlspecialchars($name) ?>" size="70" /></td>
 </tr>
<tr>
<td class="light rightAlign"><?php echo _("Your Email Address") ?></td>
 </tr>
<tr>
<td class="light rightAlign"><?php echo _("Your Email Address") ?></td>
  <td><input type="text" tabindex="2" name="email" value="<?php echo $email ?>" size="70" /></td>
  <td><input type="text" tabindex="2" name="email" value="<?php echo htmlspecialchars($email) ?>" size="70" /></td>
 </tr>
<tr>
<td class="light rightAlign"><?php echo _("Short Summary") ?></td>
 </tr>
<tr>
<td class="light rightAlign"><?php echo _("Short Summary") ?></td>
  <td><input type="text" tabindex="3" name="subject" value="<?php echo $subject ?>" size="70" /></td>
  <td><input type="text" tabindex="3" name="subject" value="<?php echo htmlspecialchars($subject) ?>" size="70" /></td>
 </tr>
<tr>
<td colspan="2" class="smallheader"><?php echo _("Full Description") ?></td>
</tr>
<tr>
<td>&nbsp;</td>
 </tr>
<tr>
<td colspan="2" class="smallheader"><?php echo _("Full Description") ?></td>
</tr>
<tr>
<td>&nbsp;</td>
  <td><textarea tabindex="4" name="message" rows="20" cols="80"><?php echo $message ?></textarea></td>
  <td><textarea tabindex="4" name="message" rows="20" cols="80"><?php echo htmlspecialchars($message) ?></textarea></td>
 </tr>
<tr>
<td>&nbsp;</td>
 </tr>
<tr>
<td>&nbsp;</td>