From: Fredrik J. <jer...@us...> - 2005-07-25 06:09:40
|
Update of /cvsroot/squirrelmail/documentation/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28793/admin Modified Files: admin.sgml Log Message: Updating theme documentation Index: admin.sgml =================================================================== RCS file: /cvsroot/squirrelmail/documentation/admin/admin.sgml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -w -r1.20 -r1.21 --- admin.sgml 15 Jul 2005 13:59:55 -0000 1.20 +++ admin.sgml 25 Jul 2005 06:09:02 -0000 1.21 @@ -1167,28 +1167,31 @@ <sect1>Themes and Styles<label id="themes"> <p> -SquirrelMail users are able to customize look of interface by selecting custom -theme and font style. +SquirrelMail users are able to customize the look of the interface by selecting +a custom theme and the font style. -SquirrelMail themes define interface colors. Each theme is a set of 15 or more +SquirrelMail themes define interface colors. Each theme is a set of 17 or more colors. -You can easily create own theme. It is very simple. Just go into the -<tt>themes/</tt> directory and create a file called -<tt/yourtheme_theme.php/. You then need to create an array with 16 elements -(0-15). Below is a blank theme sample followed by a description of what the -different entries are for. +You can easily create your own theme. It is very simple. Just go into the +<tt>themes/</tt> directory and create a file called <tt/yourtheme_theme.php/. +You then need to create an array with 17 elements (0-16). Below is a blank theme +sample followed by a description of what the different entries are for. <tscreen><verb> ---<START>--- <?php - # My Theme - # Author: My Name - # Date: Today's Date - # - # Optional description +/** + * My Theme + * + * Author: My name + * Date: Today's date + * + * Optional description + */ +global $color; $color[0] = '#xxxxxx'; $color[1] = '#xxxxxx'; $color[2] = '#xxxxxx'; @@ -1205,18 +1208,19 @@ $color[13] = '#xxxxxx'; $color[14] = '#xxxxxx'; $color[15] = '#xxxxxx'; +$color[16] = '#xxxxxx'; ?> ---<END>--- </verb></tscreen> -And here is a description of what the different entries in the array -are colors of, and the letter before the number denotes 'b' for background and -'f' for foreground colors. +Here is descriptions of what the different entries in the array are colors of. +The letter before the number denotes 'b' for background and 'f' for foreground +colors. <tscreen><verb> -b 0: Title Bar at the top of the page header -f 1: <not currently used> +b 0: Title bar at the top of the page header +f 1: Error messages border, usually red f 2: Error messages, usually red b 3: Left folder list background color b 4: Normal background color @@ -1227,11 +1231,11 @@ b 9: Darker version of #0 b 10: Darker version of #9 f 11: Special folders color [Inbox, Trash, Sent] -b 12: Alternate color for message list [alters between 4 and this one] +b 12: Alternate color for message list [alters between #4 and this one] f 13: Color for single-quoted text ('> text') when reading (default: #800000) -f 14: Color for text with more than one quote (default: #FF0000) -f 15: Non-selectable folders in the left frame (used in SquirrelMail 1.5.1 or - later. defaults to $color[6]) +f 14: Color for text with more than one quote (default: #ff0000) +f 15: Non-selectable folders in the left frame (default: $color[6]) +b 16: Highlight color (used in SquirrelMail 1.5.1 or later, default: $color[2]) </verb></tscreen> Next all you have to do is run SquirrelMail configuration utility and add the |