phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] old/anthill/backend/template README.themes,1.1


From: skwashd
Subject: [Phpgroupware-cvs] old/anthill/backend/template README.themes,1.1
Date: Thu, 5 May 2005 02:34:00 +0200

Update of old/anthill/backend/template

Added Files:
     Branch: MAIN
            README.themes 

Log Message:
retiring app

====================================================
Index: README.themes
All theme directories have the same name as the theme name.  Theme names
must not contain the period character (.) in them at all.  For instance,
"CoolTheme" is a valid theme name, but "Cool.Theme" is not.

Each theme contains two files: theme.php and style.css.  These two files
make up a theme.  If there is no style.css with the theme, the default
stylesheet for the site will be used.

The theme.php file contains a series of functions that are called from other
parts of the program.  Each function is passed a set number of variables
(ie. $name, $version, and so forth).  These variables may be used within the
function to be expanded into meaningful data.

For the sake of internationalization, the theme file contains a number of
strings like this:

gettext("Change")

You should keep these strings as they are, without changing the wording, for
the internationalization to work.  If you deviate even a little bit, the
themes will not be 100% translatable and will probably look bad in other
languages.  If you have difficulty, just look at the "default" theme and
you'll see how it is all done.

$Id: README.themes,v 1.1 2005/05/05 00:34:03 skwashd Exp $






reply via email to

[Prev in Thread] Current Thread [Next in Thread]