Fix adding theme files. phpdoc.
authorJan Schneider <jan@horde.org>
Wed, 24 Nov 2010 14:25:41 +0000 (15:25 +0100)
committerJan Schneider <jan@horde.org>
Wed, 24 Nov 2010 16:02:15 +0000 (17:02 +0100)
framework/Core/lib/Horde/Themes/Css.php

index 7600ac3..84ea482 100644 (file)
@@ -54,7 +54,7 @@ class Horde_Themes_Css
      */
     public function addThemeStylesheet($file)
     {
-        $this->_cssThemeFiles[$file] = true;
+        $this->_cssThemeFiles[] = $file;
     }
 
     /**
@@ -63,6 +63,8 @@ class Horde_Themes_Css
      *
      * @param array $opts  Additional options:
      * <pre>
+     * 'app' - (string) The current application.
+     * 'nobase' - (boolean) If true, don't load base stylesheets.
      * 'nohorde' - (boolean) If true, don't load files from Horde.
      * 'sub' - (string) A subdirectory containing additional CSS files to
      *         load as an overlay to the base CSS files.