Don't include the horde css files when adding app specific files to the portal.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 10 Dec 2010 16:11:07 +0000 (11:11 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 10 Dec 2010 16:11:07 +0000 (11:11 -0500)
This leads to the files being included multiple times.

horde/services/portal/index.php

index c5cf8e2..862faa9 100644 (file)
@@ -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']);
     }
 }