/themes/color_theme_to_css.php

Description

color_theme_to_css.php

This script can be used to convert an old $color theme to a stylesheet for use with templates. Output is sent to STDOUT.

HOWTO:

  1. Create a .php file containing your $color theme.
  2. Run this script from a command line, giving the name of your theme file as an arguement to this script, e.g.:
/path/to/squirrelmail/templates/theme_to_css.php /path/to/mytheme.php

To send the output to a .css file, do the following:

/path/to/squirrelmail/templates/theme_to_css.php /path/to/mytheme.php > my_theme.css

  • author: Steve Brown
  • version: $Id: color_theme_to_css.php 14845 2020-01-07 08:09:34Z pdontthink $
  • copyright: 1999-2020 The SquirrelMail Project Team
  • since: 1.5.2
  • filesource: Source Code for this file
  • license: GNU Public License
Includes
include ($theme_file) (line 64)

make sure that first command line argument is set

Documentation generated on Mon, 13 Jan 2020 04:22:04 +0100 by phpDocumentor 1.4.3