Wrapped text in htmlentities.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1539 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-11-03 10:48:09 +00:00
parent 1e7704b667
commit 351f6c9491
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ function closeWindow()
<table border="0" cellspacing="0" cellpadding="4" width="96%">
<tr><td align="right" class="text"><a href="javascript: closeWindow();"><?= $zmSlangClose ?></a></td></tr>
<tr><td align="left" class="smallhead"><?= $option ?></td></tr>
<tr><td class="text"><p class="text" align="justify"><?= $option_help_text ?></p></td></tr>
<tr><td class="text"><p class="text" align="justify"><?= htmlentities($option_help_text) ?></p></td></tr>
</table>
</body>
</html>

View File

@ -226,7 +226,7 @@ else
?>
<tr>
<td align="left" class="text"><?= $value['Name'] ?></td>
<td align="left" class="text"><?= $option_prompt_text ?> (<a href="javascript: newWindow( '<?= $PHP_SELF ?>?view=optionhelp&option=<?= $value['Name'] ?>', 'zmOptionHelp', <?= $jws['optionhelp']['w'] ?>, <?= $jws['optionhelp']['h'] ?>);">?</a>)</td>
<td align="left" class="text"><?= htmlentities($option_prompt_text) ?> (<a href="javascript: newWindow( '<?= $PHP_SELF ?>?view=optionhelp&option=<?= $value['Name'] ?>', 'zmOptionHelp', <?= $jws['optionhelp']['w'] ?>, <?= $jws['optionhelp']['h'] ?>);">?</a>)</td>
<?php
if ( $value['Type'] == "boolean" )
{