summaryrefslogtreecommitdiff
path: root/templates/calendar_box.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/calendar_box.tpl')
-rw-r--r--templates/calendar_box.tpl9
1 files changed, 2 insertions, 7 deletions
diff --git a/templates/calendar_box.tpl b/templates/calendar_box.tpl
index 0fb10bf..a417a5e 100644
--- a/templates/calendar_box.tpl
+++ b/templates/calendar_box.tpl
@@ -5,13 +5,8 @@
<div class="floaticon"><a onclick="javascript:return cClick();">{biticon ipackage=icons iname=window-close iexplain="Close Popup"}</a></div>
{/if}
<h3>{$cellHash.title|escape}</h3>
- {if $cellHash.content_type_guid == 'bitevents' && $gBitSystem->isPackageActive('events')}
- <div class="center">
- {include file="bitpackage:events/render_header_inc.tpl" contentHash=$cellHash}
- </div>
- {if $gBitSystem->isFeatureActive('calendar_ajax_popups')}
- {$cellHash.parsed_data}
- {/if}
+ {if !empty($cellHash.rendered)}
+ {$cellHash.rendered}
{/if}
{if $gBitUser->hasPermission('p_calendar_view_changes')}
<div class="boxcontent">