aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/local_head.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-12-03 07:00:49 +0000
committerrvelices <rv-github@modusoptimus.com>2010-12-03 07:00:49 +0000
commit9db8ee600860893a18f76ebbe822393426463bcb (patch)
tree50713ffba9561c0eab4c663cc0852a1f42d04f1a /themes/default/local_head.tpl
parentaf1cbac19d7478b935a991abddaa2dd4c8df6c34 (diff)
new template feature: combine_css
- fully functional with file merging - takes care of url() in css and recursively merge all @import - migrated public templates only; need more code doc git-svn-id: http://piwigo.org/svn/trunk@7987 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/local_head.tpl16
1 files changed, 9 insertions, 7 deletions
diff --git a/themes/default/local_head.tpl b/themes/default/local_head.tpl
index 728feb21f..d35ab8401 100644
--- a/themes/default/local_head.tpl
+++ b/themes/default/local_head.tpl
@@ -1,7 +1,9 @@
-<!--[if lt IE 7]>
- <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie5-ie6.css">
-<![endif]-->
-<!--[if IE 7]>
- <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie7.css">
-<![endif]-->
-<link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/default/print.css">
+{if $load_css}
+ <!--[if lt IE 7]>
+ <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie5-ie6.css">
+ <![endif]-->
+ <!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie7.css">
+ <![endif]-->
+ {combine_css path="themes/default/print.css" order=-10}
+{/if} \ No newline at end of file