From a381addcf3c7aa45b4e5c1a9b7e68903eb9899d2 Mon Sep 17 00:00:00 2001
From: kevin_fourie
Date: Mon, 23 Jul 2007 08:20:24 +0000
Subject: [PATCH] Merged in from DEV trunk...
---
templates/kt3/browse.smarty | 2 +-
templates/kt3/fields/lookup.smarty | 4 ++--
templates/kt3/minimal_page.smarty | 2 +-
templates/kt3/portlets/search_portlet.smarty | 2 +-
templates/kt3/standard_page.smarty | 2 +-
templates/ktcore/action/checkout_final.smarty | 2 +-
templates/ktcore/search/administration/savedsearches.smarty | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/templates/kt3/browse.smarty b/templates/kt3/browse.smarty
index b420c09..fd85648 100644
--- a/templates/kt3/browse.smarty
+++ b/templates/kt3/browse.smarty
@@ -73,7 +73,7 @@
{i18n}To save this search permanently, so that you can run it again at any time, fill in a name below and click 'Save'.{/i18n}
-
+
{foreach item=oWidget from=$save_fields}
{$oWidget->render()}
{/foreach}
diff --git a/templates/kt3/fields/lookup.smarty b/templates/kt3/fields/lookup.smarty
index 8c6f8e5..28b7283 100644
--- a/templates/kt3/fields/lookup.smarty
+++ b/templates/kt3/fields/lookup.smarty
@@ -10,10 +10,10 @@
{else}
{/if}
-
+
diff --git a/templates/kt3/minimal_page.smarty b/templates/kt3/minimal_page.smarty
index 394b631..70c944f 100644
--- a/templates/kt3/minimal_page.smarty
+++ b/templates/kt3/minimal_page.smarty
@@ -2,7 +2,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- {$page->title} | {$page->systemName}
+ {$page->title|sanitize} | {$page->systemName}
{foreach item=sResourceURL from=$page->getCSSResources()}
diff --git a/templates/kt3/portlets/search_portlet.smarty b/templates/kt3/portlets/search_portlet.smarty
index 0810098..9bb7be4 100644
--- a/templates/kt3/portlets/search_portlet.smarty
+++ b/templates/kt3/portlets/search_portlet.smarty
@@ -9,7 +9,7 @@
diff --git a/templates/kt3/standard_page.smarty b/templates/kt3/standard_page.smarty
index 34e91de..2618c4b 100644
--- a/templates/kt3/standard_page.smarty
+++ b/templates/kt3/standard_page.smarty
@@ -2,7 +2,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- {$page->title}{if ($page->secondary_title != null)} — {$page->secondary_title}{/if} | {$page->systemName}
+ {$page->title|sanitize}{if ($page->secondary_title != null)} — {$page->secondary_title|sanitize}{/if} | {$page->systemName}
diff --git a/templates/ktcore/action/checkout_final.smarty b/templates/ktcore/action/checkout_final.smarty
index 969f141..43f5268 100644
--- a/templates/ktcore/action/checkout_final.smarty
+++ b/templates/ktcore/action/checkout_final.smarty
@@ -3,7 +3,7 @@
{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/Iter.js")}
{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/DOM.js")}
-{capture assign=sLocation}action=checkout_final&fDocumentId={$context->oDocument->getId()}&reason={$reason}{/capture}
+{capture assign=sLocation}action=checkout_final&fDocumentId={$context->oDocument->getId()}&reason={$reason|escape:'url'}{/capture}
{capture assign=sJavascript}
function doCheckout () {ldelim}
diff --git a/templates/ktcore/search/administration/savedsearches.smarty b/templates/ktcore/search/administration/savedsearches.smarty
index 4589fb4..f592d23 100644
--- a/templates/ktcore/search/administration/savedsearches.smarty
+++ b/templates/ktcore/search/administration/savedsearches.smarty
@@ -31,7 +31,7 @@ newsletters, etc.) based on a category or fieldset value.{/i18n}
{foreach item=oSearch from=$saved_searches}
- | {$oSearch->getName()} |
+ {$oSearch->getName()|sanitize} |
{capture assign=iUserId}{$oSearch->getUserId()}{/capture}
{if ($iUserId === '')}Global{else}{$context->_getUserName($iUserId)}{/if} |
{i18n}Edit{/i18n} |
--
libgit2 0.21.4