Commit 87eecbe9eda280f1f8a2a960d638a2162d05d2c4
1 parent
7455abbe
KTS-2178
"cross site scripting" Updated. Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6951 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
3 additions
and
3 deletions
templates/ktcore/document/compare.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}Version Comparison{/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}Version Comparison{/i18n}:<br />{$context->oDocument->getName()|sanitize}</h2> | |
| 2 | 2 | |
| 3 | 3 | {capture assign=from} |
| 4 | 4 | <strong>{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()}</strong> ({$document->getMetadataVersion()}) |
| ... | ... | @@ -24,7 +24,7 @@ note{/i18n}:</strong> {i18n arg_version=$to arg_appname="$appname"}the informati |
| 24 | 24 | #version# comes from an older version of #appname# and may be |
| 25 | 25 | incorrect.{/i18n} |
| 26 | 26 | {/if} |
| 27 | - | |
| 27 | + | |
| 28 | 28 | {foreach item=oFieldset from=$fieldsets} |
| 29 | 29 | {$oFieldset->renderComparison($document_data, $comparison_data)} |
| 30 | 30 | {/foreach} | ... | ... |
templates/ktcore/document/document_permissions.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}Document permissions{/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}Document permissions{/i18n}:<br />{$context->oDocument->getName()|sanitize}</h2> | |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText">{i18n}This page shows the permissions that apply to |
| 4 | 4 | this specific document. Where the folder view shows you information by role and group, | ... | ... |