summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-09-26 08:22:01 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-09-26 08:22:01 +0000
commit33e52e413c6e55c31f63c024f4d214dd472e14b2 (patch)
treebdbb10007ac28c1a4362f7f2c543e68fdf215a4e /templates
parenta11f9e8103eba13aebad214a30179d73bef1ba84 (diff)
downloadcalendar-33e52e413c6e55c31f63c024f4d214dd472e14b2.tar.gz
calendar-33e52e413c6e55c31f63c024f4d214dd472e14b2.tar.bz2
calendar-33e52e413c6e55c31f63c024f4d214dd472e14b2.zip
conditionally include calendar css file
Diffstat (limited to 'templates')
-rw-r--r--templates/header_inc.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl
index 1347c5d..e53d8d0 100644
--- a/templates/header_inc.tpl
+++ b/templates/header_inc.tpl
@@ -1 +1,3 @@
-<link rel="stylesheet" title="{$style}" type="text/css" href="{$smarty.const.CALENDAR_PKG_URL}styles/plain.css" media="all" />
+{if $smarty.const.ACTIVE_PACKAGE == 'calendar'}
+ <link rel="stylesheet" title="{$style}" type="text/css" href="{$smarty.const.CALENDAR_PKG_URL}styles/plain.css" media="all" />
+{/if}