summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-03-25 20:48:09 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-03-25 20:48:09 +0000
commit694526768bceb6573e3ad16484f61b843bd46b47 (patch)
treebe79c358b72af6efe96ba29baa31310e3f875e30 /templates
parenta710c8d384f5dea6564e9e1f893b5c480add5b8d (diff)
downloadcalendar-694526768bceb6573e3ad16484f61b843bd46b47.tar.gz
calendar-694526768bceb6573e3ad16484f61b843bd46b47.tar.bz2
calendar-694526768bceb6573e3ad16484f61b843bd46b47.zip
escape htmlspecialchars on output instead of during store process
Diffstat (limited to 'templates')
-rw-r--r--templates/calendar.tpl8
-rw-r--r--templates/calendar_box.tpl2
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl
index 90f0fbc..6172a26 100644
--- a/templates/calendar.tpl
+++ b/templates/calendar.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.40 2006/02/06 22:56:40 squareing Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.41 2006/03/25 20:48:09 squareing Exp $ *}
{strip}
{if !$gBitSystem->isFeatureActive( 'help_popup' )}
{popup_init src="`$smarty.const.UTIL_PKG_URL`javascript/libs/overlib.js"}
@@ -31,7 +31,7 @@
{assign var=over value=$item.over}
<div class="cal{$item.content_type_guid}">
<a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}">
- <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|default:"?"}
+ <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|escape|default:"?"}
</a>
</div>
{/foreach}
@@ -57,7 +57,7 @@
{assign var=over value=$item.over}
<div class="cal{$item.content_type_guid}" style="float:left;width:50%;">
<a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}">
- <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|default:"?"}
+ <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|escape|default:"?"}
</a>
</div>
{/foreach}
@@ -101,7 +101,7 @@
{assign var=over value=$item.over}
<div class="cal{$item.content_type_guid}">
<a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}">
- <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|truncate:$trunc:"..."|default:"?"}
+ <img style="padding:0px 4px;" src="{biticon ipackage=liberty iname=collapsed iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"} /> {$item.title|escape|truncate:$trunc:"..."|default:"?"}
</a>
</div>
{/foreach}
diff --git a/templates/calendar_box.tpl b/templates/calendar_box.tpl
index 775f54c..f699604 100644
--- a/templates/calendar_box.tpl
+++ b/templates/calendar_box.tpl
@@ -1,5 +1,5 @@
<div class="calendar popup box">
- <h3>{$cellHash.title}</h3>
+ <h3>{$cellHash.title|escape}</h3>
<div class="boxcontent">
{tr}Content Type{/tr}: {$cellHash.content_description}
<br />