summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-09-30 18:53:58 +0000
committerNick Palmer <nick@sluggardy.net>2007-09-30 18:53:58 +0000
commit337abd7bf4e8fc699b035ab9910926f422c22fbe (patch)
tree54dabaccc7f22b3d70313a24157a32c51da0fea1 /templates
parentd9ea975f5b96d5ac076f958794118294c2fb3136 (diff)
downloadcalendar-337abd7bf4e8fc699b035ab9910926f422c22fbe.tar.gz
calendar-337abd7bf4e8fc699b035ab9910926f422c22fbe.tar.bz2
calendar-337abd7bf4e8fc699b035ab9910926f422c22fbe.zip
Make it possible to always skip calendar options.
Diffstat (limited to 'templates')
-rw-r--r--templates/calendar.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/calendar.tpl b/templates/calendar.tpl
index df9b25a..4b3a3d5 100644
--- a/templates/calendar.tpl
+++ b/templates/calendar.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.48 2007/07/26 12:51:26 lsces Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_calendar/templates/calendar.tpl,v 1.49 2007/09/30 18:53:58 nickpalmer Exp $ *}
{strip}
{if !$gBitSystem->isFeatureActive( 'site_help_popup' )}
{popup_init src="`$smarty.const.UTIL_PKG_URL`javascript/libs/overlib.js"}
@@ -117,7 +117,7 @@
{/if}
</table>
{/jstab}
- {if $gBitUser->hasPermission('p_calendar_view')}
+ {if $gBitUser->hasPermission('p_calendar_view') && !empty($calContentTypes)}
{jstab title="Display Options"}
{include file="bitpackage:calendar/calendar_options_inc.tpl"}
{/jstab}