From 87eecbe9eda280f1f8a2a960d638a2162d05d2c4 Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Fri, 13 Jul 2007 15:23:36 +0000 Subject: [PATCH] KTS-2178 "cross site scripting" Updated. --- templates/ktcore/document/compare.smarty | 4 ++-- templates/ktcore/document/document_permissions.smarty | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/ktcore/document/compare.smarty b/templates/ktcore/document/compare.smarty index 57f4f15..4c3d2df 100644 --- a/templates/ktcore/document/compare.smarty +++ b/templates/ktcore/document/compare.smarty @@ -1,4 +1,4 @@ -

get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Version Comparison{/i18n}:
{$context->oDocument->getName()}

+

get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Version Comparison{/i18n}:
{$context->oDocument->getName()|sanitize}

{capture assign=from} {$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()} ({$document->getMetadataVersion()}) @@ -24,7 +24,7 @@ note{/i18n}: {i18n arg_version=$to arg_appname="$appname"}the informati #version# comes from an older version of #appname# and may be incorrect.{/i18n} {/if} - + {foreach item=oFieldset from=$fieldsets} {$oFieldset->renderComparison($document_data, $comparison_data)} {/foreach} diff --git a/templates/ktcore/document/document_permissions.smarty b/templates/ktcore/document/document_permissions.smarty index 4699c55..bf9b72c 100644 --- a/templates/ktcore/document/document_permissions.smarty +++ b/templates/ktcore/document/document_permissions.smarty @@ -1,4 +1,4 @@ -

get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document permissions{/i18n}:
{$context->oDocument->getName()}

+

get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document permissions{/i18n}:
{$context->oDocument->getName()|sanitize}

{i18n}This page shows the permissions that apply to this specific document. Where the folder view shows you information by role and group, -- libgit2 0.21.4