Set $included to TRUE by default in the CSS files
[isso.git] / installer.css.php
1 <?php
2 /*=====================================================================*\
3 || ###################################################################
4 || # Iris Studios Shared Object Framework [#]version[#]
5 || # Copyright ©2002-[#]year[#] Iris Studios, Inc.
6 || #
7 || # This program is free software; you can redistribute it and/or modify
8 || # it under the terms of the GNU General Public License as published by
9 || # the Free Software Foundation; version [#]gpl[#] of the License.
10 || #
11 || # This program is distributed in the hope that it will be useful, but
12 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 || # more details.
15 || #
16 || # You should have received a copy of the GNU General Public License along
17 || # with this program; if not, write to the Free Software Foundation, Inc.,
18 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 || ###################################################################
20 \*=====================================================================*/
21
22 $included = true;
23
24 if (!isset($GLOBALS['isso:null-framework']))
25 {
26 if (!method_exists($GLOBALS['isso:null-framework'], 'load'))
27 {
28 $included = false;
29 $path = (isset($_SERVER['SCRIPT_URL']) ? $_SERVER['SCRIPT_URL'] : $_SERVER['REQUEST_URI']);
30 $GLOBALS['isso:null-framework']->webpath = dirname($path) . '/';
31 }
32 }
33
34 $css = <<<CSS
35 /*=====================================================================*\
36 || ###################################################################
37 || # Iris Studios Shared Object Framework [#]version[#]
38 || # Copyright ©2002-[#]year[#] Iris Studios, Inc.
39 || #
40 || # This program is free software; you can redistribute it and/or modify
41 || # it under the terms of the GNU General Public License as published by
42 || # the Free Software Foundation; version [#]gpl[#] of the License.
43 || #
44 || # This program is distributed in the hope that it will be useful, but
45 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
46 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
47 || # more details.
48 || #
49 || # You should have received a copy of the GNU General Public License along
50 || # with this program; if not, write to the Free Software Foundation, Inc.,
51 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
52 || ###################################################################
53 \*=====================================================================*/
54
55 body
56 {
57 font-family: Verdana, Arial, Helvetica, sans-serif;
58 font-size: 12px;
59 }
60
61 body a
62 {
63 color: rgb(0, 0, 238);
64 }
65
66 h1
67 {
68 color: rgb(66, 137, 155);
69 }
70
71 .buttonlink
72 {
73 margin-top: 20px;
74 }
75
76 .buttonlink a
77 {
78 font-weight: bold;
79 padding: 5px;
80 border: 1px solid black;
81 text-decoration: none;
82 color: rgb(37, 37, 37);
83 background-color: rgb(239, 239, 239);
84 margin-top: 20px;
85 }
86 CSS;
87
88 if (!$included)
89 {
90 echo $css;
91 }
92
93 /*=====================================================================*\
94 || ###################################################################
95 || # $HeadURL$
96 || # $Id$
97 || ###################################################################
98 \*=====================================================================*/
99 ?>