- Fix: when task is empty (on error?) don't try to include ".css" file

release-0.6
alecpl 14 years ago
parent bd2e33f5f9
commit 6d5f756703

@ -1,7 +1,7 @@
<link rel="index" href="$__comm_path" /> <link rel="index" href="$__comm_path" />
<link rel="shortcut icon" href="/images/favicon.ico"/> <link rel="shortcut icon" href="/images/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="/common.css" /> <link rel="stylesheet" type="text/css" href="/common.css" />
<roundcube:if condition="env:task != 'login' && env:task != 'dummy'" /> <roundcube:if condition="!empty(env:task) && !in_array(env:task, array('login', 'dummy', 'utils'))" />
<link rel="stylesheet" type="text/css" href="/<roundcube:var name="env:task" />.css" /> <link rel="stylesheet" type="text/css" href="/<roundcube:var name="env:task" />.css" />
<roundcube:endif /> <roundcube:endif />
<roundcube:if condition="browser:ie" /> <roundcube:if condition="browser:ie" />

Loading…
Cancel
Save