summaryrefslogtreecommitdiff
path: root/templates/calendar.tpl
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-04-06 12:38:44 +0000
committerNick Palmer <nick@sluggardy.net>2007-04-06 12:38:44 +0000
commitf8166e1b03217658c9b87556c8525684719b0795 (patch)
treed23cb13f98c78ff3ace4acbdfb6660f2ef1f6d82 /templates/calendar.tpl
parentc86f1ecd6a6b690b105cf9a67a0c40e6c027577b (diff)
downloadcalendar-f8166e1b03217658c9b87556c8525684719b0795.tar.gz
calendar-f8166e1b03217658c9b87556c8525684719b0795.tar.bz2
calendar-f8166e1b03217658c9b87556c8525684719b0795.zip
Add ability to set default content types to show.
Make ajax popups sticky with a nice close icon.
Diffstat (limited to 'templates/calendar.tpl')
-rw-r--r--templates/calendar.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl
index 786b62b..e2b5605 100644
--- a/templates/calendar.tpl
+++ b/templates/calendar.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.45 2007/04/05 21:21:04 nickpalmer Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.46 2007/04/06 12:38:44 nickpalmer Exp $ *}
{strip}
{if !$gBitSystem->isFeatureActive( 'site_help_popup' )}
{popup_init src="`$smarty.const.UTIL_PKG_URL`javascript/libs/overlib.js"}
@@ -32,7 +32,7 @@
<div class="cal{$item.content_type_guid}">
<a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$item.content_id}">
{capture assign=itemurl}{$smarty.const.CALENDAR_PKG_URL}box.php?content_id={$item.content_id}{/capture}
- <img style="padding:0px 4px;" src="{biticon ipackage="icons" iname="list-add" iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {if $gBitSystem->isFeatureActive('calendar_ajax_popups')}{popup fullhtml="1" target=$itemurl}{else}{popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"}{/if} /> {$item.title|escape|default:"?"}
+ <img style="padding:0px 4px;" src="{biticon ipackage="icons" iname="list-add" iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {if $gBitSystem->isFeatureActive('calendar_ajax_popups')}{popup fullhtml=1 sticky=1 closeclick=1 target=$itemurl}{else}{popup fullhtml=1 text=$over|escape:"javascript"|escape:"html"}{/if} /> {$item.title|escape|default:"?"}
</a>
</div>
{/foreach}
@@ -59,7 +59,7 @@
{capture assign=itemurl}{$smarty.const.CALENDAR_PKG_URL}box.php?content_id={$item.content_id}{/capture}
<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="icons" iname="list-add" iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {if $gBitSystem->isFeatureActive('calendar_ajax_popups')}{popup fullhtml="1" target=$itemurl}{else}{popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"}{/if} /> {$item.title|escape|default:"?"}
+ <img style="padding:0px 4px;" src="{biticon ipackage="icons" iname="list-add" iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {if $gBitSystem->isFeatureActive('calendar_ajax_popups')}{popup fullhtml=1 sticky=1 closeclick=1 target=$itemurl}{else}{popup fullhtml=1 text=$over|escape:"javascript"|escape:"html"}{/if} /> {$item.title|escape|default:"?"}
</a>
</div>
{/foreach}
@@ -104,7 +104,7 @@
{capture assign=itemurl}{$smarty.const.CALENDAR_PKG_URL}box.php?content_id={$item.content_id}{/capture}
<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="icons" iname="list-add" iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {if $gBitSystem->isFeatureActive('calendar_ajax_popups')}{popup fullhtml="1" target=$itemurl}{else}{popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"}{/if} /> {$item.title|escape|truncate:$trunc:"..."|default:"?"}
+ <img style="padding:0px 4px;" src="{biticon ipackage="icons" iname="list-add" iexplain="Detailed Information" url=true}" title="{tr}Detailed Information{/tr}" {if $gBitSystem->isFeatureActive('calendar_ajax_popups')}{popup fullhtml=1 target=$itemurl sticky=1 closeclick=1}{else}{popup fullhtml=1 text=$over|escape:"javascript"|escape:"html"}{/if} /> {$item.title|escape|truncate:$trunc:"..."|default:"?"}
</a>
</div>
{/foreach}