From ba3377fb4aaad4ab77967920275fb78b3516d35e Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 12 Jan 2011 15:56:31 -0500 Subject: [PATCH] - include css files before scripts for speedup (with parallel downloads) + some code cleanups --- 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 dd6d0aa..0f7ab3f 100644 --- a/program/include/rcube_plugin_api.php +++ b/program/include/rcube_plugin_api.php @@ -395,7 +395,7 @@ { 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 @@ } } - -- Gitblit v1.9.1