From: Michael J. Rubinsky Date: Fri, 10 Dec 2010 16:11:07 +0000 (-0500) Subject: Don't include the horde css files when adding app specific files to the portal. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=99a94db36dd02d53eb9c7912b3f5a713d03467e0;p=horde.git Don't include the horde css files when adding app specific files to the portal. This leads to the files being included multiple times. --- diff --git a/horde/services/portal/index.php b/horde/services/portal/index.php index c5cf8e2cc..862faa983 100644 --- a/horde/services/portal/index.php +++ b/horde/services/portal/index.php @@ -53,7 +53,7 @@ $layout_html = $view->toHtml(); $css = $injector->getInstance('Horde_Themes_Css'); foreach ($view->getApplications() as $app) { - foreach ($css->getStylesheets('', array('app' => $app)) as $val) { + foreach ($css->getStylesheets('', array('app' => $app, 'nohorde' => true)) as $val) { $css->addStylesheet($val['fs'], $val['uri']); } }