From 390f90d8879816779a226e9876f956a0ad613fc8 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 11 Jul 2005 00:49:11 +0000 Subject: [PATCH] r312: - Renaming templates/stylevars.dsv to templates/stylevars.txt - Fixing error message in global.php for when the SVs can not be loaded --- global.php | 2 +- templates/stylevars.txt | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 templates/stylevars.txt diff --git a/global.php b/global.php index 926faa9..e8eedb2 100755 --- a/global.php +++ b/global.php @@ -58,7 +58,7 @@ if (($raw = @file_get_contents('./templates/stylevars.dsv')) !== false) } else { - trigger_error('StyleVars file (./templates/stylevars.dsv)', E_USER_WARNING); + trigger_error('StyleVars file (./templates/stylevars.txt) could not be loaded', E_USER_WARNING); } // ################################################################### diff --git a/templates/stylevars.txt b/templates/stylevars.txt new file mode 100644 index 0000000..3cfd4b8 --- /dev/null +++ b/templates/stylevars.txt @@ -0,0 +1,41 @@ +/*=====================================================================*\ +|| ################################################################### || +|| # BugTrack [#]version[#] +|| # --------------------------------------------------------------- # || +|| # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # || +|| # This file may not be reproduced in any way without permission. # || +|| # --------------------------------------------------------------- # || +|| # User License Agreement at http://www.iris-studios.com/license/ # || +|| ################################################################### || +\*=====================================================================*/ + +/* +This file is parsed to create PHP variables that +are used in templates with the $stylevar[] array. +It is similar to how a CSS element would be done. + +Each line has: +variablename: value; + +Only letters and numbers are valid in variable names; +everything else is converted to an undescore. + +Values only are allowed to have numbers, letters, dashes, +periods/decimals, the number/pound sign, and the percent sign. + +Comments are only valid in C++ style (the type of comment this is). +*/ + +/* table elements */ + +border: 0; +spacing: 1; +padding: 3; +normal-width: 100%; + +/*=====================================================================*\ +|| ################################################################### +|| # $HeadURL$ +|| # $Id$ +|| ################################################################### +\*=====================================================================*/ \ No newline at end of file -- 2.22.5