Revision 865
Added by doc about 16 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.7.1 ------------------------------------- |
14 |
19-Aug-2008 Matthias Gallas |
|
14 |
25-Oct-2008 Christian Sommer |
|
15 |
! updated basic templates according the template guidelines |
|
16 |
24-Oct-2008 Dietrich Roland Pehlke |
|
17 |
# applied bugfix for ticket #608 (redeclaration of news module) |
|
18 |
23-Oct-2008 Dietrich Roland Pehlke |
|
19 |
! modified module delete function to provide additional information when module is in use when trying to delete |
|
20 |
! modified template delete function to provide additional information when template is in when trying to delete |
|
21 |
21-Oct-2008 Matthias Gallas |
|
15 | 22 |
# fixed display issue in news modul |
16 | 23 |
! updated show_menu2 to version 4.7 |
17 | 24 |
18-Sep-2008 Thomas Hornik |
trunk/wb/templates/allcss/screen.css | ||
---|---|---|
1 |
body,td,th { |
|
2 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
3 |
font-size: 12px; |
|
4 |
color: #000000; |
|
5 |
} |
|
6 |
body { |
|
7 |
background-color: #F0F0F0; |
|
8 |
background-image: url(background.jpg); |
|
9 |
margin: 0; |
|
10 |
} |
|
11 |
a:link, a:visited, a:active { |
|
12 |
color: #660033; |
|
13 |
text-decoration: none; |
|
14 |
} |
|
15 |
a:hover { |
|
16 |
color: #993366; |
|
17 |
text-decoration: none; |
|
18 |
} |
|
19 |
hr { |
|
20 |
margin: 5px 0px 5px 0px; |
|
21 |
color: #660033; |
|
22 |
border: 0; |
|
23 |
border-top: 1px solid #660033; |
|
24 |
height: 1px; |
|
25 |
width: 580px; |
|
26 |
} |
|
27 |
h1 { |
|
28 |
font-size: 16px; |
|
29 |
color: #993366; |
|
30 |
text-align: left; |
|
31 |
margin: 8px 2px 8px 2px; |
|
32 |
} |
|
33 |
form { |
|
34 |
margin: 0; |
|
35 |
} |
|
36 |
.main { |
|
37 |
width: 750px; |
|
38 |
margin: auto; |
|
39 |
padding: 0; |
|
40 |
background-color: #FFFFFF; |
|
41 |
} |
|
42 |
.banner, .search_box { |
|
43 |
height: 80px; |
|
44 |
background-image: url(header.jpg); |
|
45 |
background-repeat: repeat-x; |
|
46 |
font-size: 20px; |
|
47 |
font-weight: bold; |
|
48 |
color: #FFFFFF; |
|
49 |
text-align: center; |
|
50 |
padding-top: 20px; |
|
51 |
} |
|
52 |
.banner { |
|
53 |
width: 530px; |
|
54 |
padding-left: 20px; |
|
55 |
float: left; |
|
56 |
text-align: left; |
|
57 |
} |
|
58 |
.search_box { |
|
59 |
float: right; |
|
60 |
clear: right; |
|
61 |
width: 200px; |
|
62 |
} |
|
63 |
.search_string { |
|
64 |
width: 100px; |
|
65 |
height: 16px; |
|
66 |
font-size: 10px; |
|
67 |
vertical-align: middle; |
|
68 |
} |
|
69 |
.search_submit { |
|
70 |
width: 50px; |
|
71 |
height: 22px; |
|
72 |
font-size: 10px; |
|
73 |
vertical-align: middle; |
|
74 |
} |
|
75 |
.highlight { |
|
76 |
background-color: #D0D0D0; |
|
77 |
} |
|
78 |
.banner a { |
|
79 |
color: #FFFFFF; |
|
80 |
} |
|
81 |
.menu { |
|
82 |
float: left; |
|
83 |
width: 140px; |
|
84 |
margin: 10px; |
|
85 |
margin-top: 3px; |
|
86 |
} |
|
87 |
.menu ul, .menu li { |
|
88 |
margin: 0; |
|
89 |
padding: 0; |
|
90 |
list-style: none; |
|
91 |
margin-bottom: 5px; |
|
92 |
} |
|
93 |
.menu ul ul { |
|
94 |
padding-left: 8px; |
|
95 |
} |
|
96 |
.menu a:link, .menu a:visited, .menu a:active, .menu a:hover { |
|
97 |
display: block; |
|
98 |
padding: 2px; |
|
99 |
} |
|
100 |
.menu_default a:link, .menu_default a:visited, .menu_default a:active { |
|
101 |
border-bottom: 1px dashed #999999; |
|
102 |
} |
|
103 |
.menu_default a:hover { |
|
104 |
border-bottom: 1px dashed #333333; |
|
105 |
} |
|
106 |
|
|
107 |
.menu_current { |
|
108 |
border-bottom: 1px dashed #999999; |
|
109 |
font-weight:bold; |
|
110 |
} |
|
111 |
|
|
112 |
.login_table { |
|
113 |
border: 1px solid #D0D0D0; |
|
114 |
margin-top: 20px; |
|
115 |
margin-bottom: 5px; |
|
116 |
text-align: center; |
|
117 |
padding-bottom: 3px; |
|
118 |
} |
|
119 |
.login_table h1 { |
|
120 |
color: #660033; |
|
121 |
font-size: 12px; |
|
122 |
text-transform: uppercase; |
|
123 |
font-weight: bold; |
|
124 |
text-align: center; |
|
125 |
margin: 5px 0px 5px 0px; |
|
126 |
} |
|
127 |
.login_table input { |
|
128 |
text-transform: uppercase; |
|
129 |
font-size: 10px; |
|
130 |
margin: 5px 0px 1px 0px; |
|
131 |
width: 100px; |
|
132 |
} |
|
133 |
.content { |
|
134 |
margin-left: 150px; |
|
135 |
padding: 4px 10px 14px 10px; |
|
136 |
text-align: justify; |
|
137 |
clear: right; |
|
138 |
} |
|
139 |
.footer { |
|
140 |
background-color: #FFFFFF; |
|
141 |
clear: both; |
|
142 |
height: 20px; |
|
143 |
background-image: url(footer.jpg); |
|
144 |
background-repeat: repeat-x; |
|
145 |
font-size: 10px; |
|
146 |
color: #666666; |
|
147 |
text-align: center; |
|
148 |
line-height: 18px; |
|
149 |
} |
|
150 |
.powered_by { |
|
151 |
text-align: center; |
|
152 |
font-size: 10px; |
|
153 |
padding-top: 2px; |
|
154 |
} |
|
155 | 0 |
trunk/wb/templates/allcss/info.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2008, Ryan Djurovich |
|
9 |
|
|
10 |
Website Baker is free software; you can redistribute it and/or modify |
|
11 |
it under the terms of the GNU General Public License as published by |
|
12 |
the Free Software Foundation; either version 2 of the License, or |
|
13 |
(at your option) any later version. |
|
14 |
|
|
15 |
Website Baker is distributed in the hope that it will be useful, |
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
GNU General Public License for more details. |
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License |
|
21 |
along with Website Baker; if not, write to the Free Software |
|
22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
|
|
2 |
/** |
|
3 |
* $Id$ |
|
4 |
* Website Baker template: allcss |
|
5 |
* This template is one of four basis templates distributed with Website Baker. |
|
6 |
* Feel free to modify or build up on this template. |
|
7 |
* |
|
8 |
* This file defines the template variables required by Website Baker. |
|
9 |
* |
|
10 |
* LICENSE: GNU General Public License |
|
11 |
* |
|
12 |
* @author Ryan Djurovich, C. Sommer |
|
13 |
* @copyright GNU General Public License |
|
14 |
* @license http://www.gnu.org/licenses/gpl.html |
|
15 |
* @version 2.70 |
|
16 |
* @platform Website Baker 2.7 |
|
17 |
* |
|
18 |
* Website Baker is free software; you can redistribute it and/or modify |
|
19 |
* it under the terms of the GNU General Public License as published by |
|
20 |
* the Free Software Foundation; either version 2 of the License, or |
|
21 |
* (at your option) any later version. |
|
22 |
* |
|
23 |
* Website Baker is distributed in the hope that it will be useful, |
|
24 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
25 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
26 |
* GNU General Public License for more details. |
|
24 | 27 |
*/ |
25 | 28 |
|
26 |
$template_directory = 'allcss'; |
|
27 |
$template_name = 'All CSS'; |
|
28 |
$template_version = '2.6'; |
|
29 |
$template_platform = '2.6.x'; |
|
30 |
$template_author = 'Ryan Djurovich'; |
|
31 |
$template_license = 'GNU General Public License'; |
|
32 |
$template_description = 'This template is designed with one goal in mind: to completely control lay-out with css. In case you were wondering, that is where the name came from.'; |
|
29 |
// OBLIGATORY WEBSITE BAKER VARIABLES |
|
30 |
$template_directory = 'allcss'; |
|
31 |
$template_name = 'All CSS'; |
|
32 |
$template_version = '2.70'; |
|
33 |
$template_platform = '2.7'; |
|
34 |
$template_author = 'Ryan Djurovich, C. Sommer'; |
|
35 |
$template_license = '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>'; |
|
36 |
$template_license_terms = '-'; |
|
37 |
$template_description = 'Default template for Website Baker. This template is designed with one goal in mind: to completely control layout with CSS. In case you were wondering, that is where the name came from.'; |
|
33 | 38 |
|
39 |
// OPTIONAL VARIABLES FOR ADDITIONAL MENUES AND BLOCKS |
|
40 |
// $menu[1] = ''; |
|
41 |
// $menu[2] = ''; |
|
42 |
// $block[1] = ''; |
|
43 |
// $block[2] = ''; |
|
34 | 44 |
?> |
trunk/wb/templates/allcss/template.css | ||
---|---|---|
1 |
/** |
|
2 |
* $Id$ |
|
3 |
* Website Baker template: allcss |
|
4 |
* This template is one of four basis templates distributed with Website Baker. |
|
5 |
* Feel free to modify or build up on this template. |
|
6 |
* |
|
7 |
* This file contains all CSS definitions required to display the template |
|
8 |
* in the Website Baker frontend. |
|
9 |
* |
|
10 |
* LICENSE: GNU General Public License |
|
11 |
* |
|
12 |
* @author Ryan Djurovich, C. Sommer |
|
13 |
* @copyright GNU General Public License |
|
14 |
* @license http://www.gnu.org/licenses/gpl.html |
|
15 |
* @version 2.70 |
|
16 |
* @platform Website Baker 2.7 |
|
17 |
* |
|
18 |
* Website Baker is free software; you can redistribute it and/or modify |
|
19 |
* it under the terms of the GNU General Public License as published by |
|
20 |
* the Free Software Foundation; either version 2 of the License, or |
|
21 |
* (at your option) any later version. |
|
22 |
* |
|
23 |
* Website Baker is distributed in the hope that it will be useful, |
|
24 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
25 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
26 |
* GNU General Public License for more details. |
|
27 |
*/ |
|
28 |
|
|
29 |
body,td,th { |
|
30 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
31 |
font-size: 12px; |
|
32 |
color: #000; |
|
33 |
} |
|
34 |
body { |
|
35 |
background-color: #F0F0F0; |
|
36 |
background-image: url(images/background.jpg); |
|
37 |
margin: 0; |
|
38 |
} |
|
39 |
a:link, a:visited, a:active { |
|
40 |
color: #603; |
|
41 |
text-decoration: none; |
|
42 |
} |
|
43 |
a:hover { |
|
44 |
color: #936; |
|
45 |
text-decoration: none; |
|
46 |
} |
|
47 |
hr { |
|
48 |
margin: 5px 0px 5px 0px; |
|
49 |
color: #603; |
|
50 |
border: 0; |
|
51 |
border-top: 1px solid #603; |
|
52 |
height: 1px; |
|
53 |
width: 580px; |
|
54 |
} |
|
55 |
h1 { |
|
56 |
font-size: 16px; |
|
57 |
color: #993366; |
|
58 |
text-align: left; |
|
59 |
margin: 8px 2px 8px 2px; |
|
60 |
} |
|
61 |
form { |
|
62 |
margin: 0; |
|
63 |
} |
|
64 |
.main { |
|
65 |
width: 750px; |
|
66 |
margin: auto; |
|
67 |
padding: 0; |
|
68 |
background-color: #FFF; |
|
69 |
} |
|
70 |
.banner, .search_box { |
|
71 |
height: 80px; |
|
72 |
background-image: url(images/header.jpg); |
|
73 |
background-repeat: repeat-x; |
|
74 |
font-size: 20px; |
|
75 |
font-weight: bold; |
|
76 |
color: #FFF; |
|
77 |
text-align: center; |
|
78 |
padding-top: 20px; |
|
79 |
} |
|
80 |
|
|
81 |
.banner { |
|
82 |
width: 530px; |
|
83 |
padding-left: 20px; |
|
84 |
float: left; |
|
85 |
text-align: left; |
|
86 |
} |
|
87 |
.search_box { |
|
88 |
float: right; |
|
89 |
clear: right; |
|
90 |
width: 200px; |
|
91 |
} |
|
92 |
.search_string { |
|
93 |
width: 100px; |
|
94 |
height: 16px; |
|
95 |
font-size: 10px; |
|
96 |
vertical-align: middle; |
|
97 |
} |
|
98 |
.search_submit { |
|
99 |
width: 50px; |
|
100 |
height: 22px; |
|
101 |
font-size: 10px; |
|
102 |
vertical-align: middle; |
|
103 |
} |
|
104 |
.highlight { |
|
105 |
background-color: #D0D0D0; |
|
106 |
} |
|
107 |
.banner a { |
|
108 |
color: #FFF; |
|
109 |
} |
|
110 |
.banner span { |
|
111 |
color: #D0D0D0; |
|
112 |
} |
|
113 |
|
|
114 |
.menu { |
|
115 |
float: left; |
|
116 |
width: 140px; |
|
117 |
margin: 10px; |
|
118 |
margin-top: 3px; |
|
119 |
} |
|
120 |
.menu ul, .menu li { |
|
121 |
margin: 0; |
|
122 |
padding: 0; |
|
123 |
list-style: none; |
|
124 |
margin-bottom: 5px; |
|
125 |
} |
|
126 |
.menu ul ul { |
|
127 |
padding-left: 8px; |
|
128 |
} |
|
129 |
.menu a:link, .menu a:visited, .menu a:active, .menu a:hover { |
|
130 |
display: block; |
|
131 |
padding: 2px; |
|
132 |
} |
|
133 |
.menu_default a:link, .menu_default a:visited, .menu_default a:active { |
|
134 |
border-bottom: 1px dashed #999; |
|
135 |
} |
|
136 |
.menu_default a:hover { |
|
137 |
border-bottom: 1px dashed #333; |
|
138 |
} |
|
139 |
|
|
140 |
.menu_current { |
|
141 |
border-bottom: 1px dashed #999; |
|
142 |
font-weight:bold; |
|
143 |
} |
|
144 |
|
|
145 |
.menu fieldset { |
|
146 |
border: 1px solid #D0D0D0; |
|
147 |
margin-top: 20px; |
|
148 |
margin-bottom: 5px; |
|
149 |
text-align: center; |
|
150 |
padding-bottom: 3px; |
|
151 |
} |
|
152 |
|
|
153 |
.menu legend { |
|
154 |
color: #603; |
|
155 |
font-size: 12px; |
|
156 |
text-transform: uppercase; |
|
157 |
font-weight: bold; |
|
158 |
text-align: center; |
|
159 |
} |
|
160 |
|
|
161 |
.menu input { |
|
162 |
text-transform: uppercase; |
|
163 |
font-size: 10px; |
|
164 |
margin: 5px 0px 1px 0px; |
|
165 |
width: 100px; |
|
166 |
} |
|
167 |
|
|
168 |
.content { |
|
169 |
margin-left: 150px; |
|
170 |
padding: 4px 10px 14px 10px; |
|
171 |
text-align: justify; |
|
172 |
clear: right; |
|
173 |
} |
|
174 |
.footer { |
|
175 |
background-color: #FFF; |
|
176 |
clear: both; |
|
177 |
height: 20px; |
|
178 |
background-image: url(images/footer.jpg); |
|
179 |
background-repeat: repeat-x; |
|
180 |
font-size: 10px; |
|
181 |
color: #666; |
|
182 |
text-align: center; |
|
183 |
line-height: 18px; |
|
184 |
} |
|
185 |
.powered_by { |
|
186 |
text-align: center; |
|
187 |
font-size: 10px; |
|
188 |
padding-top: 2px; |
|
189 |
} |
trunk/wb/templates/allcss/images/index.php | ||
---|---|---|
1 |
<?php |
|
2 |
/** |
|
3 |
* $Id$ |
|
4 |
* Website Baker template: allcss |
|
5 |
* This template is one of four basis templates distributed with Website Baker. |
|
6 |
* Feel free to modify or build up on this template. |
|
7 |
* |
|
8 |
* This file prevents directory listing. |
|
9 |
* |
|
10 |
* LICENSE: GNU General Public License |
|
11 |
* |
|
12 |
* @author Ryan Djurovich, C. Sommer |
|
13 |
* @copyright GNU General Public License |
|
14 |
* @license http://www.gnu.org/licenses/gpl.html |
|
15 |
* @version 2.70 |
|
16 |
* @platform Website Baker 2.7 |
|
17 |
* |
|
18 |
* Website Baker is free software; you can redistribute it and/or modify |
|
19 |
* it under the terms of the GNU General Public License as published by |
|
20 |
* the Free Software Foundation; either version 2 of the License, or |
|
21 |
* (at your option) any later version. |
|
22 |
* |
|
23 |
* Website Baker is distributed in the hope that it will be useful, |
|
24 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
25 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
26 |
* GNU General Public License for more details. |
|
27 |
*/ |
|
28 |
|
|
29 |
// prevent directory listing |
|
30 |
header('Location: ../../../index.php'); |
|
31 |
|
|
32 |
?> |
trunk/wb/templates/allcss/index.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2008, Ryan Djurovich |
|
9 |
|
|
10 |
Website Baker is free software; you can redistribute it and/or modify |
|
11 |
it under the terms of the GNU General Public License as published by |
|
12 |
the Free Software Foundation; either version 2 of the License, or |
|
13 |
(at your option) any later version. |
|
14 |
|
|
15 |
Website Baker is distributed in the hope that it will be useful, |
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
GNU General Public License for more details. |
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License |
|
21 |
along with Website Baker; if not, write to the Free Software |
|
22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
|
|
2 |
/** |
|
3 |
* $Id$ |
|
4 |
* Website Baker template: allcss |
|
5 |
* This template is one of four basis templates distributed with Website Baker. |
|
6 |
* Feel free to modify or build up on this template. |
|
7 |
* |
|
8 |
* This file contains the overall template markup and the Website Baker |
|
9 |
* template functions to add the contents from the database. |
|
10 |
* |
|
11 |
* LICENSE: GNU General Public License |
|
12 |
* |
|
13 |
* @author Ryan Djurovich, C. Sommer |
|
14 |
* @copyright GNU General Public License |
|
15 |
* @license http://www.gnu.org/licenses/gpl.html |
|
16 |
* @version 2.70 |
|
17 |
* @platform Website Baker 2.7 |
|
18 |
* |
|
19 |
* Website Baker is free software; you can redistribute it and/or modify |
|
20 |
* it under the terms of the GNU General Public License as published by |
|
21 |
* the Free Software Foundation; either version 2 of the License, or |
|
22 |
* (at your option) any later version. |
|
23 |
* |
|
24 |
* Website Baker is distributed in the hope that it will be useful, |
|
25 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
26 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
27 |
* GNU General Public License for more details. |
|
24 | 28 |
*/ |
25 | 29 |
|
26 |
if(!defined('WB_URL')) { |
|
27 |
header('Location: ../index.php'); |
|
28 |
exit(0); |
|
29 |
} |
|
30 |
// prevent this file from being accessed directly |
|
31 |
if (!defined('WB_PATH')) die(header('Location: ../../index.php')); |
|
30 | 32 |
|
33 |
// TEMPLATE CODE STARTS BELOW |
|
31 | 34 |
?> |
32 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
35 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
36 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
33 | 37 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
34 | 38 |
<head> |
35 |
<title><?php page_title(); ?></title> |
|
36 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else { echo 'utf-8'; }?>" /> |
|
37 |
<meta name="description" content="<?php page_description(); ?>" /> |
|
38 |
<meta name="keywords" content="<?php page_keywords(); ?>" /> |
|
39 |
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" /> |
|
40 |
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" /> |
|
41 |
<?php |
|
42 |
// this allows to include the optional module files (frontend.css, frontend.js) into the head section |
|
43 |
if(function_exists('register_frontend_modfiles')) { |
|
44 |
register_frontend_modfiles('css'); |
|
45 |
register_frontend_modfiles('js'); |
|
46 |
} ?> |
|
47 |
<?php |
|
48 |
// this allows to add custom information to the head section of your template (WB-->Settings-->Website Header) |
|
49 |
echo WEBSITE_HEADER; |
|
50 |
?> |
|
39 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php |
|
40 |
echo defined('DEFAULT_CHARSET') ? DEFAULT_CHARSET : 'utf-8'; ?>" /> |
|
41 |
<meta name="description" content="<?php page_description(); ?>" /> |
|
42 |
<meta name="keywords" content="<?php page_keywords(); ?>" /> |
|
43 |
<?php |
|
44 |
// automatically include optional WB module files (frontend.css, frontend.js) |
|
45 |
if (function_exists('register_frontend_modfiles')) { |
|
46 |
register_frontend_modfiles('css'); |
|
47 |
register_frontend_modfiles('js'); |
|
48 |
} ?> |
|
49 |
<link rel="stylesheet" type="text/css" href="<?php |
|
50 |
echo TEMPLATE_DIR; ?>/template.css" media="screen,projection" /> |
|
51 |
<link rel="stylesheet" type="text/css" href="<?php |
|
52 |
echo TEMPLATE_DIR; ?>/print.css" media="print" /> |
|
53 |
<title><?php page_title('', '[WEBSITE_TITLE]'); ?></title> |
|
51 | 54 |
</head> |
55 |
|
|
52 | 56 |
<body> |
53 | 57 |
|
54 | 58 |
<div class="main"> |
55 | 59 |
|
56 | 60 |
<div class="banner"> |
57 |
<a href="<?php echo WB_URL; ?>/" target="_top"><?php echo WEBSITE_TITLE; ?></a>
|
|
58 |
<font color="#D0D0D0">| <?php echo PAGE_TITLE; ?></font>
|
|
61 |
<a href="<?php echo WB_URL; ?>/" target="_top"><?php page_title('', '[WEBSITE_TITLE]'); ?></a>
|
|
62 |
<span>| <?php page_title('', '[PAGE_TITLE]'); ?></span>
|
|
59 | 63 |
</div> |
60 | 64 |
|
65 |
<!-- frontend search --> |
|
61 | 66 |
<div class="search_box"> |
62 |
<?php if(SHOW_SEARCH) { ?> |
|
63 |
<form name="search" action="<?php echo WB_URL.'/search/index.php'; ?>" method="get"> |
|
64 |
<input type="text" name="string" class="search_string" /> |
|
65 |
<input type="submit" name="submit" value="<?php echo $TEXT['SEARCH']; ?>" class="search_submit" /> |
|
66 |
</form> |
|
67 |
<?php } ?> |
|
67 |
<?php |
|
68 |
// CODE FOR WEBSITE BAKER FRONTEND SEARCH |
|
69 |
if (SHOW_SEARCH) { ?> |
|
70 |
<form name="search" action="<?php echo WB_URL; ?>/search/index.php" method="get"> |
|
71 |
<input type="hidden" name="referrer" value="<?php |
|
72 |
echo defined('REFERRER_ID') ? REFERRER_ID : PAGE_ID; ?>" /> |
|
73 |
<input type="text" name="string" class="search_string" /> |
|
74 |
<input type="submit" name="wb_search" id="wb_search" value="<?php |
|
75 |
echo $TEXT['SEARCH']; ?>" class="search_submit" /> |
|
76 |
</form><?php |
|
77 |
} ?> |
|
68 | 78 |
</div> |
69 |
|
|
70 |
<?php |
|
71 |
// Only show menu items if we are supposed to |
|
72 |
if(SHOW_MENU) { |
|
73 |
?> |
|
79 |
|
|
80 |
<!-- main navigation menu --> |
|
74 | 81 |
<div class="menu"> |
75 |
<?php |
|
76 |
show_menu(); |
|
82 |
<?php show_menu(1, 0, -1, true, |
|
83 |
'<li><span [class]>[a][menu_title][/a]</span>', '</li>', |
|
84 |
'<ul>', '</ul>', 'class="menu_default"', 'class="menu_current"', 0 |
|
85 |
); |
|
86 |
?> |
|
77 | 87 |
|
78 |
if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') { |
|
79 |
?> |
|
80 |
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post" class="login_table"> |
|
81 |
<h1><?php echo $TEXT['LOGIN']; ?></h1> |
|
82 |
<?php echo $TEXT['USERNAME']; ?>: |
|
83 |
<input type="text" name="username" style="text-transform: lowercase;" /> |
|
84 |
<?php echo $TEXT['PASSWORD']; ?>: |
|
85 |
<input type="password" name="password" /> |
|
86 |
<input type="submit" name="submit" value="<?php echo $TEXT['LOGIN']; ?>" style="margin-top: 3px; text-transform: uppercase;" /> |
|
87 |
<a href="<?php echo FORGOT_URL; ?>"><?php echo $TEXT['FORGOT_DETAILS']; ?></a> |
|
88 |
<?php if(is_numeric(FRONTEND_SIGNUP)) { ?> |
|
89 |
<a href="<?php echo SIGNUP_URL; ?>"><?php echo $TEXT['SIGNUP']; ?></a> |
|
90 |
<?php } ?> |
|
91 |
</form> |
|
92 | 88 |
<?php |
93 |
} elseif(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { |
|
94 |
?> |
|
95 |
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post" class="login_table"> |
|
96 |
<h1><?php echo $TEXT['LOGGED_IN']; ?></h1> |
|
97 |
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $wb->get_display_name(); ?> |
|
89 |
// CODE FOR WEBSITE BAKER FRONTEND LOGIN |
|
90 |
if (FRONTEND_LOGIN == 'enabled' && VISIBILITY != 'private' |
|
91 |
&& $wb->get_session('USER_ID') == '') { ?> |
|
92 |
<!-- login form --> |
|
98 | 93 |
<br /> |
99 |
<input type="submit" name="submit" value="<?php echo $MENU['LOGOUT']; ?>" /> |
|
94 |
<form name="login" id="login" action="<?php echo LOGIN_URL; ?>" method="post"> |
|
95 |
<fieldset> |
|
96 |
<legend><?php echo $TEXT['LOGIN']; ?></legend> |
|
97 |
<label for="username" accesskey="1"><?php echo $TEXT['USERNAME']; ?>:</label> |
|
98 |
<input type="text" name="username" id="username" style="text-transform: lowercase;" /><br /> |
|
99 |
<label for="password" accesskey="2"><?php echo $TEXT['PASSWORD']; ?>:</label> |
|
100 |
<input type="password" name="password" id="password" /><br /> |
|
101 |
<input type="submit" name="wb_login" id="wb_login" value="<?php echo $MENU['LOGIN']; ?>"/><br /> |
|
102 |
|
|
103 |
<!-- forgotten details link --> |
|
104 |
<a href="<?php echo FORGOT_URL; ?>"><?php echo $TEXT['FORGOT_DETAILS']; ?></a> |
|
105 |
|
|
106 |
<!-- frontend signup --> |
|
107 |
<?php |
|
108 |
if (is_numeric(FRONTEND_SIGNUP)) { ?> |
|
109 |
<a href="<?php echo SIGNUP_URL; ?>"><?php echo $TEXT['SIGNUP']; ?></a> |
|
110 |
<?php } ?> |
|
111 |
</fieldset> |
|
112 |
</form> |
|
113 |
|
|
114 |
<?php |
|
115 |
} elseif (FRONTEND_LOGIN == 'enabled' && is_numeric($wb->get_session('USER_ID'))) { ?> |
|
116 |
<!-- logout form --> |
|
100 | 117 |
<br /> |
101 |
<a href="<?php echo PREFERENCES_URL; ?>"><?php echo $MENU['PREFERENCES']; ?></a> |
|
102 |
<a href="<?php echo ADMIN_URL; ?>/index.php"><?php echo $TEXT['ADMINISTRATION']; ?></a> |
|
103 |
</form> |
|
104 |
<?php |
|
105 |
} |
|
106 |
?> |
|
118 |
<form name="logout" id="logout" action="<?php echo LOGOUT_URL; ?>" method="post"> |
|
119 |
<fieldset> |
|
120 |
<legend><?php echo $TEXT['LOGGED_IN']; ?>:</legend> |
|
121 |
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $wb->get_display_name(); ?> |
|
122 |
<input type="submit" name="wb_logout" id="wb_logout" value="<?php echo $MENU['LOGOUT']; ?>" /> |
|
123 |
<!-- edit user preferences --> |
|
124 |
<a href="<?php echo PREFERENCES_URL; ?>"><?php echo $MENU['PREFERENCES']; ?></a> |
|
125 |
</fieldset> |
|
126 |
</form> |
|
127 |
<?php |
|
128 |
} ?> |
|
107 | 129 |
</div> |
108 |
<?php } ?> |
|
109 | 130 |
|
110 | 131 |
<div class="content"> |
111 | 132 |
<?php page_content(); ?> |
trunk/wb/templates/blank/info.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
/** |
|
3 |
* $Id$ |
|
4 |
* Website Baker template: blank |
|
5 |
* This template is one of four basis templates distributed with Website Baker. |
|
6 |
* Use this template for pages where you do not want anything wrapping the |
|
7 |
* content e.g. a page for a global block. |
|
8 |
* |
|
9 |
* This file defines the template variables required by Website Baker. |
|
10 |
* |
|
11 |
* LICENSE: GNU General Public License |
|
12 |
* |
|
13 |
* @author Ryan Djurovich, C. Sommer |
|
14 |
* @copyright GNU General Public License |
|
15 |
* @license http://www.gnu.org/licenses/gpl.html |
|
16 |
* @version 2.70 |
|
17 |
* @platform Website Baker 2.7 |
|
18 |
* |
|
19 |
* Website Baker is free software; you can redistribute it and/or modify |
|
20 |
* it under the terms of the GNU General Public License as published by |
|
21 |
* the Free Software Foundation; either version 2 of the License, or |
|
22 |
* (at your option) any later version. |
|
23 |
* |
|
24 |
* Website Baker is distributed in the hope that it will be useful, |
|
25 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
26 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
27 |
* GNU General Public License for more details. |
|
28 |
*/ |
|
2 | 29 |
|
3 |
// $Id$ |
|
30 |
// OBLIGATORY WEBSITE BAKER VARIABLES |
|
31 |
$template_directory = 'blank'; |
|
32 |
$template_name = 'Blank Template'; |
|
33 |
$template_version = '2.70'; |
|
34 |
$template_platform = '2.7'; |
|
35 |
$template_author = 'Ryan Djurovich, C. Sommer'; |
|
36 |
$template_license = '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>'; |
|
37 |
$template_license_terms = '-'; |
|
38 |
$template_description = 'This template is for use on page where you do not want anything wrapping the content.'; |
|
4 | 39 |
|
5 |
/* |
|
40 |
// OPTIONAL VARIABLES FOR ADDITIONAL MENUES AND BLOCKS |
|
41 |
// $menu[1] = ''; |
|
42 |
// $menu[2] = ''; |
|
43 |
// $block[1] = ''; |
|
44 |
// $block[2] = ''; |
|
6 | 45 |
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2008, Ryan Djurovich |
|
9 |
|
|
10 |
Website Baker is free software; you can redistribute it and/or modify |
|
11 |
it under the terms of the GNU General Public License as published by |
|
12 |
the Free Software Foundation; either version 2 of the License, or |
|
13 |
(at your option) any later version. |
|
14 |
|
|
15 |
Website Baker is distributed in the hope that it will be useful, |
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
GNU General Public License for more details. |
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License |
|
21 |
along with Website Baker; if not, write to the Free Software |
|
22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
|
|
24 |
*/ |
|
25 |
|
|
26 |
$template_directory = 'blank'; |
|
27 |
$template_name = 'Blank Template'; |
|
28 |
$template_version = '2.6'; |
|
29 |
$template_platform = '2.6.x'; |
|
30 |
$template_author = 'Ryan Djurovich'; |
|
31 |
$template_license = 'GNU General Public License'; |
|
32 |
$template_description = 'This template is for use on page where you do not want anything wrapping the content'; |
|
33 |
|
|
34 | 46 |
?> |
trunk/wb/templates/blank/index.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
/** |
|
3 |
* $Id$ |
|
4 |
* Website Baker template: blank |
|
5 |
* This template is one of four basis templates distributed with Website Baker. |
|
6 |
* Use this template for pages where you do not want anything wrapping the |
|
7 |
* content e.g. a page for a global block. |
|
8 |
* |
|
9 |
* This file contains the Website Baker template function to output the content. |
|
10 |
* |
|
11 |
* LICENSE: GNU General Public License |
|
12 |
* |
|
13 |
* @author Ryan Djurovich, C. Sommer |
|
14 |
* @copyright GNU General Public License |
|
15 |
* @license http://www.gnu.org/licenses/gpl.html |
|
16 |
* @version 2.70 |
|
17 |
* @platform Website Baker 2.7 |
|
18 |
* |
|
19 |
* Website Baker is free software; you can redistribute it and/or modify |
|
20 |
* it under the terms of the GNU General Public License as published by |
|
21 |
* the Free Software Foundation; either version 2 of the License, or |
|
22 |
* (at your option) any later version. |
|
23 |
* |
|
24 |
* Website Baker is distributed in the hope that it will be useful, |
|
25 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
26 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
27 |
* GNU General Public License for more details. |
|
28 |
*/ |
|
2 | 29 |
|
3 |
// $Id$ |
|
30 |
// prevent this file from being accessed directly |
|
31 |
if (!defined('WB_PATH')) die(header('Location: ../../index.php')); |
|
4 | 32 |
|
5 |
/*
|
|
33 |
// TEMPLATE CODE STARTS BELOW
|
|
6 | 34 |
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2008, Ryan Djurovich |
|
9 |
|
|
10 |
Website Baker is free software; you can redistribute it and/or modify |
|
11 |
it under the terms of the GNU General Public License as published by |
|
12 |
the Free Software Foundation; either version 2 of the License, or |
|
13 |
(at your option) any later version. |
|
14 |
|
|
15 |
Website Baker is distributed in the hope that it will be useful, |
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
GNU General Public License for more details. |
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License |
|
21 |
along with Website Baker; if not, write to the Free Software |
|
22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
|
|
24 |
*/ |
|
25 |
|
|
26 |
if(!defined('WB_URL')) { |
|
27 |
header('Location: ../index.php'); |
|
28 |
exit(0); |
|
29 |
} |
|
30 |
|
|
35 |
// output only the page content, nothing else |
|
31 | 36 |
page_content(); |
32 | 37 |
|
33 | 38 |
?> |
trunk/wb/templates/round/screen.css | ||
---|---|---|
1 |
body,td,th { |
|
2 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
3 |
font-size: 12px; |
|
4 |
color: #000000; |
|
5 |
} |
|
6 |
body { |
|
7 |
background-color: #003366; |
|
8 |
background-image: url(background.jpg); |
|
9 |
background-repeat: repeat-x; |
|
10 |
margin: 10px; |
|
11 |
} |
|
12 |
a:link, a:visited, a:active { |
|
13 |
color: #003366; |
|
14 |
text-decoration: none; |
|
15 |
} |
|
16 |
a:hover { |
|
17 |
color: #336699; |
|
18 |
text-decoration: none; |
|
19 |
} |
|
20 |
hr { |
|
21 |
margin: 15px 0px 15px 0px; |
|
22 |
color: #003366; |
|
23 |
height: 1px; |
|
24 |
width: 100%; |
|
25 |
} |
|
26 |
h1 { |
|
27 |
font-size: 18px; |
|
28 |
color: #003366; |
|
29 |
margin: 5px 0px 5px 0px; |
|
30 |
} |
|
31 |
h2 { |
|
32 |
font-size: 15px; |
|
33 |
color: #336699; |
|
34 |
margin: 15px 0px 5px 0px; |
|
35 |
} |
|
36 |
form { |
|
37 |
margin: 0; |
|
38 |
} |
|
39 |
.header { |
|
40 |
width: 750px; |
|
41 |
height: 80px; |
|
42 |
background-color: #FFFFFF; |
|
43 |
vertical-align: top; |
|
44 |
} |
|
45 |
.menu { |
|
46 |
vertical-align: top; |
|
47 |
background-color: #FFFFFF; |
|
48 |
width: 170px; |
|
49 |
padding: 0px; |
|
50 |
} |
|
51 |
.menu ul, .menu li{ |
|
52 |
list-style-type: none; |
|
53 |
margin: 0; |
|
54 |
padding: 0; |
|
55 |
} |
|
56 |
.menu ul { |
|
57 |
border-bottom: 0px; |
|
58 |
background-color: #003366; |
|
59 |
} |
|
60 |
.menu ul ul { |
|
61 |
padding-left: 10px; |
|
62 |
} |
|
63 |
.menu a:link, .menu a:visited, .menu a:active { |
|
64 |
padding: 4px 10px 4px 10px; |
|
65 |
color: #FFFFFF; |
|
66 |
display: block; |
|
67 |
background-color: #003366; |
|
68 |
text-decoration: none; |
|
69 |
} |
|
70 |
.menu a:hover { |
|
71 |
background-color: #336699; |
|
72 |
text-decoration: none; |
|
73 |
} |
|
74 |
.menu_current { |
|
75 |
font-weight: bold; |
|
76 |
} |
|
77 |
.highlight { |
|
78 |
background-color: #D0D0D0; |
|
79 |
} |
|
80 |
.border { |
|
81 |
font-size: 1px; |
|
82 |
height: 10px; |
|
83 |
} |
|
84 |
.login { |
|
85 |
padding: 2px 10px 2px 10px; |
|
86 |
font-size: 10px; |
|
87 |
background-color: #003366; |
|
88 |
color: #FFFFFF; |
|
89 |
text-align: center; |
|
90 |
} |
|
91 |
.login input { |
|
92 |
width: 95%; |
|
93 |
font-size: 10px; |
|
94 |
} |
|
95 |
.login a:link, .login a:visited, .login a:active { |
|
96 |
color: #DDDDDD; |
|
97 |
text-decoration: none; |
|
98 |
} |
|
99 |
.login a:hover { |
|
100 |
color: #FFFFFF; |
|
101 |
text-decoration: none; |
|
102 |
} |
|
103 |
.powered_by { |
|
104 |
padding: 3px 0px 0px 15px; |
|
105 |
background-color: #FFFFFF; |
|
106 |
} |
|
107 |
.content { |
|
108 |
padding: 10px; |
|
109 |
background-color: #FFFFFF; |
|
110 |
height: 300px; |
|
111 |
vertical-align: top; |
|
112 |
text-align: left; |
|
113 |
} |
|
114 |
.footer { |
|
115 |
padding: 5px; |
|
116 |
height: 20px; |
|
117 |
color: #FFFFFF; |
|
118 |
vertical-align: middle; |
|
119 |
text-align: center; |
|
120 |
} |
|
121 | 0 |
trunk/wb/templates/round/info.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
/** |
|
3 |
* $Id$ |
|
4 |
* Website Baker template: round |
|
5 |
* This template is one of four basis templates distributed with Website Baker. |
|
6 |
* Feel free to modify or build up on this template. |
|
7 |
* |
|
8 |
* This file defines the template variables required by Website Baker. |
|
9 |
* |
|
10 |
* LICENSE: GNU General Public License |
|
11 |
* |
|
12 |
* @author Ryan Djurovich, C. Sommer |
|
13 |
* @copyright GNU General Public License |
|
14 |
* @license http://www.gnu.org/licenses/gpl.html |
|
15 |
* @version 2.70 |
|
16 |
* @platform Website Baker 2.7 |
|
17 |
* |
|
18 |
* Website Baker is free software; you can redistribute it and/or modify |
|
19 |
* it under the terms of the GNU General Public License as published by |
|
20 |
* the Free Software Foundation; either version 2 of the License, or |
|
21 |
* (at your option) any later version. |
|
22 |
* |
|
23 |
* Website Baker is distributed in the hope that it will be useful, |
|
24 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
25 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
26 |
* GNU General Public License for more details. |
|
27 |
*/ |
|
2 | 28 |
|
3 |
// $Id$ |
|
29 |
// OBLIGATORY WEBSITE BAKER VARIABLES |
|
30 |
$template_directory = 'round'; |
|
31 |
$template_name = 'Round'; |
|
32 |
$template_version = '2.70'; |
|
33 |
$template_platform = '2.7'; |
|
34 |
$template_author = 'Ryan Djurovich, C. Sommer'; |
|
35 |
$template_license = '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>'; |
|
36 |
$template_license_terms = '-'; |
|
37 |
$template_description = 'Default template for Website Baker. Simular to the box template, but with rounded edges.'; |
|
4 | 38 |
|
5 |
/* |
|
39 |
// OPTIONAL VARIABLES FOR ADDITIONAL MENUES AND BLOCKS |
|
40 |
// $menu[1] = ''; |
|
41 |
// $menu[2] = ''; |
|
42 |
// $block[1] = ''; |
|
43 |
// $block[2] = ''; |
|
6 | 44 |
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2008, Ryan Djurovich |
|
9 |
|
|
10 |
Website Baker is free software; you can redistribute it and/or modify |
|
11 |
it under the terms of the GNU General Public License as published by |
|
12 |
the Free Software Foundation; either version 2 of the License, or |
|
13 |
(at your option) any later version. |
|
14 |
|
|
15 |
Website Baker is distributed in the hope that it will be useful, |
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
GNU General Public License for more details. |
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License |
|
21 |
along with Website Baker; if not, write to the Free Software |
|
22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
|
|
24 |
*/ |
|
25 |
|
|
26 |
$template_directory = 'round'; |
|
27 |
$template_name = 'Round'; |
|
28 |
$template_version = '2.6'; |
|
29 |
$template_platform = '2.6.x'; |
|
30 |
$template_author = 'Ryan Djurovich'; |
|
31 |
$template_license = 'GNU General Public License'; |
|
32 |
$template_description = 'Default template for Website Baker 2.2.x. Simular to the box template, but with rounded edges.'; |
|
33 |
|
|
34 | 45 |
?> |
trunk/wb/templates/round/template.css | ||
---|---|---|
1 |
/** |
|
2 |
* $Id$ |
|
3 |
* Website Baker template: allcss |
|
4 |
* This template is one of four basis templates distributed with Website Baker. |
|
5 |
* Feel free to modify or build up on this template. |
|
6 |
* |
|
7 |
* This file contains all CSS definitions required to display the template |
|
8 |
* in the Website Baker frontend. |
|
9 |
* |
|
10 |
* LICENSE: GNU General Public License |
|
11 |
* |
|
12 |
* @author Ryan Djurovich, C. Sommer |
|
13 |
* @copyright GNU General Public License |
|
14 |
* @license http://www.gnu.org/licenses/gpl.html |
|
15 |
* @version 2.70 |
|
16 |
* @platform Website Baker 2.7 |
|
17 |
* |
|
18 |
* Website Baker is free software; you can redistribute it and/or modify |
|
19 |
* it under the terms of the GNU General Public License as published by |
|
20 |
* the Free Software Foundation; either version 2 of the License, or |
|
21 |
* (at your option) any later version. |
|
22 |
* |
|
23 |
* Website Baker is distributed in the hope that it will be useful, |
|
24 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
25 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
26 |
* GNU General Public License for more details. |
|
27 |
*/ |
|
28 |
|
|
29 |
body,td,th { |
|
30 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
31 |
font-size: 12px; |
|
32 |
color: #000; |
|
33 |
} |
|
34 |
body { |
|
35 |
background-color: #036; |
|
36 |
background-image: url(images/background.jpg); |
|
37 |
background-repeat: repeat-x; |
|
38 |
margin: 10px; |
|
39 |
} |
|
40 |
a:link, a:visited, a:active { |
|
41 |
color: #036; |
|
42 |
text-decoration: none; |
|
43 |
} |
|
44 |
a:hover { |
|
45 |
color: #369; |
|
46 |
text-decoration: none; |
|
47 |
} |
|
48 |
hr { |
|
49 |
margin: 15px 0px 15px 0px; |
|
50 |
color: #036; |
|
51 |
height: 1px; |
|
52 |
width: 100%; |
|
53 |
} |
|
54 |
h1 { |
|
55 |
font-size: 18px; |
|
56 |
color: #036; |
|
57 |
margin: 5px 0px 5px 0px; |
|
58 |
} |
|
59 |
h2 { |
|
60 |
font-size: 15px; |
|
61 |
color: #369; |
|
62 |
margin: 15px 0px 5px 0px; |
|
63 |
} |
|
64 |
form { |
|
65 |
margin: 0; |
|
66 |
} |
|
67 |
.header { |
|
68 |
width: 750px; |
|
69 |
height: 80px; |
|
70 |
background-color: #FFF; |
|
71 |
vertical-align: top; |
|
72 |
} |
|
73 |
.menu { |
|
74 |
vertical-align: top; |
|
75 |
background-color: #FFF; |
|
76 |
width: 170px; |
|
77 |
padding: 0px; |
|
78 |
} |
|
79 |
.menu ul, .menu li{ |
|
80 |
list-style-type: none; |
|
81 |
margin: 0; |
|
82 |
padding: 0; |
|
83 |
} |
|
84 |
.menu ul { |
|
85 |
border-bottom: 0px; |
|
86 |
background-color: #036; |
|
87 |
} |
|
88 |
.menu ul ul { |
|
89 |
padding-left: 10px; |
|
90 |
} |
|
91 |
.menu a:link, .menu a:visited, .menu a:active { |
|
92 |
padding: 4px 10px 4px 10px; |
|
93 |
color: #FFF; |
|
94 |
display: block; |
|
95 |
background-color: #036; |
|
96 |
text-decoration: none; |
|
97 |
} |
|
98 |
.menu a:hover { |
|
99 |
background-color: #369; |
|
100 |
text-decoration: none; |
|
101 |
} |
|
102 |
.menu_current { |
|
103 |
font-weight: bold; |
|
104 |
} |
|
105 |
.highlight { |
|
106 |
background-color: #D0D0D0; |
|
107 |
} |
|
108 |
.border { |
|
109 |
font-size: 1px; |
|
110 |
height: 10px; |
|
111 |
} |
|
112 |
.login { |
|
113 |
padding: 2px 10px 2px 10px; |
|
114 |
font-size: 10px; |
|
115 |
background-color: #036; |
|
116 |
color: #FFF; |
|
117 |
text-align: center; |
|
118 |
} |
|
119 |
.login input { |
|
120 |
width: 95%; |
|
121 |
font-size: 10px; |
|
122 |
} |
|
123 |
.login a:link, .login a:visited, .login a:active { |
|
124 |
color: #DDD; |
|
125 |
text-decoration: none; |
|
126 |
} |
|
127 |
.login a:hover { |
|
128 |
color: #FFF; |
|
129 |
text-decoration: none; |
|
130 |
} |
|
131 |
.powered_by { |
|
132 |
padding: 3px 0px 0px 15px; |
|
133 |
background-color: #FFF; |
|
134 |
} |
|
135 |
.content { |
|
136 |
padding: 10px; |
|
137 |
background-color: #FFF; |
|
138 |
height: 300px; |
|
139 |
vertical-align: top; |
|
140 |
text-align: left; |
|
141 |
} |
|
142 |
.footer { |
|
143 |
padding: 5px; |
|
144 |
height: 20px; |
|
145 |
color: #FFF; |
|
146 |
vertical-align: middle; |
|
147 |
text-align: center; |
|
148 |
} |
trunk/wb/templates/round/print.css | ||
---|---|---|
1 |
/** |
|
2 |
* $Id$ |
|
3 |
* Website Baker template: round |
|
4 |
* This template is one of four basis templates distributed with Website Baker. |
|
5 |
* Feel free to modify or build up on this template. |
|
6 |
* |
|
7 |
* This file defines the CSS styles used for print devices. |
|
8 |
* |
|
9 |
* LICENSE: GNU General Public License |
|
10 |
* |
|
11 |
* @author Ryan Djurovich, C. Sommer |
|
12 |
* @copyright GNU General Public License |
Also available in: Unified diff
updated basic templates according the template guidelines