diff options
author | alecpl <alec@alec.pl> | 2011-01-12 20:56:31 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-01-12 20:56:31 +0000 |
commit | ba3377fb4aaad4ab77967920275fb78b3516d35e (patch) | |
tree | a183f89a4a289321fe0a3d4ac34f06f743ffba17 /program/include/rcube_plugin_api.php | |
parent | e224b002c08968ea2085c260a316f4357b81573e (diff) |
- include css files before scripts for speedup (with parallel downloads) + some code cleanups
Diffstat (limited to 'program/include/rcube_plugin_api.php')
-rw-r--r-- | program/include/rcube_plugin_api.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php index dd6d0aa23..0f7ab3f4b 100644 --- a/program/include/rcube_plugin_api.php +++ b/program/include/rcube_plugin_api.php @@ -395,7 +395,7 @@ class rcube_plugin_api { if ($this->output->type == 'html') { $src = $this->resource_url($fn); - $this->output->add_header(html::tag('link', array('rel' => "stylesheet", 'type' => "text/css", 'href' => $src))); + $this->output->include_css($src); } } @@ -437,4 +437,3 @@ class rcube_plugin_api } } - |