summaryrefslogtreecommitdiff
path: root/skins/default/includes
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-01-28 13:09:22 +0000
committeralecpl <alec@alec.pl>2010-01-28 13:09:22 +0000
commit95a8f18501af643f8f9e55e8b85dac3ee9ed05c2 (patch)
tree699c72a36c12e8510e324b82b25cbbdccfbda60e /skins/default/includes
parentac9759b6a4e2eec68dda27f81d8001c9d4e18f9f (diff)
- Don't create link to not existing css file for dummy task
- rename addresses.css to addressbook.css (now matches with task name)
Diffstat (limited to 'skins/default/includes')
-rw-r--r--skins/default/includes/links.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/skins/default/includes/links.html b/skins/default/includes/links.html
index e2d176e22..078b4d877 100644
--- a/skins/default/includes/links.html
+++ b/skins/default/includes/links.html
@@ -1,7 +1,9 @@
<link rel="index" href="$__comm_path" />
<link rel="shortcut icon" href="/images/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="/common.css" />
-<roundcube:if condition="env:task != 'login'" /><link rel="stylesheet" type="text/css" href="/<roundcube:exp expression="env:task=='addressbook'?'addresses':env:task" />.css" /><roundcube:endif />
+<roundcube:if condition="env:task != 'login' && env:task != 'dummy'" />
+<link rel="stylesheet" type="text/css" href="/<roundcube:var name="env:task" />.css" />
+<roundcube:endif />
<roundcube:if condition="browser:ie" />
<!--[if lte IE 8]><link rel="stylesheet" type="text/css" href="/iehacks.css" /><![endif]-->
<!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="/ie6hacks.css" /><![endif]-->