Commit 7afc0c3230ccf1ed17cd09dcf0a55acf3e24894d
1 parent
852c4741
KTS-2178
"cross site scripting" Updated. Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6932 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
templates/ktstandard/action/discussion.smarty
| 1 | -<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Discussion{/i18n}:<br />{$context->oDocument->getName()}</h2> | |
| 1 | +<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Discussion{/i18n}:<br />{$context->oDocument->getName()|sanitize}</h2> | |
| 2 | 2 | |
| 3 | 3 | {if $threads} |
| 4 | 4 | <h3>{i18n}Existing threads{/i18n}</h3> |
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | </tbody> |
| 21 | 21 | </table> |
| 22 | 22 | {else} |
| 23 | - <p class="descriptiveText"> {if ($closed_threads != 0)} | |
| 23 | + <p class="descriptiveText"> {if ($closed_threads != 0)} | |
| 24 | 24 | {i18n arg_closed=$closed_threads}There are #closed# closed threads - use the "View All" option below to view them.{/i18n} |
| 25 | 25 | {else} |
| 26 | 26 | {i18n}There are no open threads for this document.{/i18n} | ... | ... |