Difference between revisions of "Customize"

From TUTOS

(=Timezones=)
(=Timezones=)
Line 15: Line 15:
 
The first timezone in this list is used as a default.
 
The first timezone in this list is used as a default.
 
On linux you may find timezone names in /usr/share/zoneinfo/ .  
 
On linux you may find timezone names in /usr/share/zoneinfo/ .  
 +
 +
  
  
 
'''!!Important!!  Timezones in TUTOS must be known to your OS !!'''
 
'''!!Important!!  Timezones in TUTOS must be known to your OS !!'''
 +
 +
  
  

Revision as of 12:09, 21 October 2004

Language

Currencies

Timezones

TUTOS can display different timezones for each user. The timezones are stored in a PHP array defined in config.php:

$tutos[timezones] = array();


The first timezone in this list is used as a default. On linux you may find timezone names in /usr/share/zoneinfo/ .



!!Important!! Timezones in TUTOS must be known to your OS !!



Windows User:

 $tutos[timezones][] = "EST5EDT";
 $tutos[timezones][] = "CST6CDT";
 $tutos[timezones][] = "MST7MDT";
 $tutos[timezones][] = "PST8PDT";


"normal" Linux User:

 $tutos[timezones][] = "Europe/London";
 $tutos[timezones][] = "Europe/Berlin";
 $tutos[timezones][] = "Europe/Warsaw";
 $tutos[timezones][] = "Europe/Rome";
 $tutos[timezones][] = "Europe/Paris";
 $tutos[timezones][] = "Europe/Moscow";
 $tutos[timezones][] = "Europe/Helsinki";
 $tutos[timezones][] = "GMT";
 $tutos[timezones][] = "US/Pacific";
 $tutos[timezones][] = "US/Central";
 $tutos[timezones][] = "US/Eastern";
 $tutos[timezones][] = "US/Mountain";
 $tutos[timezones][] = "US/Hawaii";
 $tutos[timezones][] = "Asia/Singapore";
 $tutos[timezones][] = "Asia/Hong_Kong";
 $tutos[timezones][] = "Asia/Tehran";
 $tutos[timezones][] = "Asia/Tokyo";
 $tutos[timezones][] = "Australia/Sydney";
 $tutos[timezones][] = "Australia/Perth";

Themes

TUTOS can display its pages using different themes. Themenames are stored in a PHP array defined in config.php:

$tutos[themes] = array();
$tutos[themes][] = "blue";
$tutos[themes][] = "tutos";
$tutos[themes][] = "red";
$tutos[themes][] = "white";

The first theme in this list is used as a default. Addtional themes may be provided on the TUTOS download site. Themes are stored in the [tutoshome]/html and [tutoshome]/php/layout subdirectories.

Layouts

TUTOS can display its pages using different layouts. Layoutnames are stored in a PHP array defined in config.php:

$tutos[layouts] = array();
$tutos[layouts][] = "new_layout";
$tutos[layouts][] = "classic_layout";
$tutos[layouts][] = "test_layout";

The first layout in this list is used as a default. Addtional layout engines may be provided on the TUTOS download site. Layout scripts are stored in the [tutoshome]/php/layout subdirectory.