[cvs] [Wiki] changed: Doc/Dev/Themes

Jan Schneider jan at horde.org
Tue Mar 27 16:13:24 UTC 2007


jan  Tue, 27 Mar 2007 09:13:24 -0700

Modified page: http://wiki.horde.org/Doc/Dev/Themes
New Revision:  1.15
Change log:  Remove superfluous php tags

@@ -7,9 +7,8 @@
 The {{info.php}} contains information regarding the stylesheet. For now
this is limited to the name of the theme and an optional line to indicate
substitution of icons.
 So, in its simplest form this file only needs to contain a single line:

 <code type="php">
-<?php
 $theme_name = _("My Theme Name");
 </code>

 This is the theme name as it will appear in the theme list in the users'
display options. The internally used theme name that you can use to set a
default theme in {{horde/config/prefs.php}} is determined from the
directory name you use.
@@ -18,9 +17,8 @@

 If you want to contribute your theme to the Horde Project or make it
publically available elsewhere, you should add some comments to the file
header to explain where the theme comes from:

 <code type="php">
-<?php
 /**
  * This is my personal theme.
  * It is based on the colors of my bike when I was five.
  *
@@ -55,9 +53,8 @@

 Now you need to extend your theme file with a line so that it looks like:

 <code type="php">
-<?php
 /**
  * This is my personal theme.
  * It is based on the colors of my bike when I was five.
  *


More information about the cvs mailing list