[commits] [Wiki] changed: Doc/Dev/ThemesH4

Michael Slusarz slusarz at horde.org
Wed Nov 2 23:47:58 UTC 2011


slusarz  Wed, 02 Nov 2011 17:47:58 -0600

Modified page: http://wiki.horde.org/Doc/Dev/ThemesH4
New Revision:  5
Change log:  Add info on 'block' subdirectory (Horde 4.1+)

@@ -27,8 +27,17 @@

  ++ Theme Layout

  Themes are located in the themes/[themename] directory.
+
++++ Subdirectories
+
+Applications that have multiple views can also store files in a  
subdirectory (e.g. imp stores dynamic view formatting in the {{dimp}}  
subdirectory and minimal view formatting in the {{mimp}} subdirectory.
+
+The following subdirectories are reserved for special Horde use:
+
+||~ Directory ||~ Description ||
+|| {{block}} || CSS to use for an application's portal block (as of  
Horde 4.1) ||

  +++ CSS

  CSS files should normally go into the base theme directory.  There  
are several filenames that have special meaning in Horde:
@@ -48,8 +57,10 @@
  || {{mozilla.css}} || Mozilla-based browser (i.e. Firefox) ||
  || {{webkit.css}} || Webkit-based browser (i.e. Google Chrome, Safari) ||

  URLs contained in CSS should be relative URLs.
+
+

  +++ Graphics

  Graphics live in the {{graphics/}} folder of your theme's base directory.
@@ -61,9 +72,9 @@
  Sounds must be in WAV format (with a {{.wav}} file suffix).

  +++ Information File

-**##red|This file is only needed in the horde theme directory. It is  
not needed in an applications's theme directory##**
+**##red|This file is only needed in the horde theme directory. It is  
not needed in an applications' theme directory##**

  The {{info.php}} contains information regarding the theme.  It must  
be a file that can be parsed by PHP.  It should contain the following  
variables:

  ||~ Variable Name ||~ Description ||



More information about the commits mailing list