Commit 87eecbe9eda280f1f8a2a960d638a2162d05d2c4

Authored by Conrad Vermeulen
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
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 {capture assign=from} 3 {capture assign=from}
4 <strong>{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()}</strong> ({$document->getMetadataVersion()}) 4 <strong>{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()}</strong> ({$document->getMetadataVersion()})
@@ -24,7 +24,7 @@ note{/i18n}:&lt;/strong&gt; {i18n arg_version=$to arg_appname=&quot;$appname&quot;}the informati @@ -24,7 +24,7 @@ note{/i18n}:&lt;/strong&gt; {i18n arg_version=$to arg_appname=&quot;$appname&quot;}the informati
24 #version# comes from an older version of #appname# and may be 24 #version# comes from an older version of #appname# and may be
25 incorrect.{/i18n} 25 incorrect.{/i18n}
26 {/if} 26 {/if}
27 - 27 +
28 {foreach item=oFieldset from=$fieldsets} 28 {foreach item=oFieldset from=$fieldsets}
29 {$oFieldset->renderComparison($document_data, $comparison_data)} 29 {$oFieldset->renderComparison($document_data, $comparison_data)}
30 {/foreach} 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 <p class="descriptiveText">{i18n}This page shows the permissions that apply to 3 <p class="descriptiveText">{i18n}This page shows the permissions that apply to
4 this specific document. Where the folder view shows you information by role and group, 4 this specific document. Where the folder view shows you information by role and group,