Revision 87
Added by ryan about 19 years ago
trunk/wb/templates/round/index.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2005, 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 |
?> |
|
27 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
28 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
29 |
<head> |
|
30 |
<title><?php page_title(); ?></title> |
|
31 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
32 |
<meta name="description" content="<?php page_description(); ?>" /> |
|
33 |
<meta name="keywords" content="<?php page_keywords(); ?>" /> |
|
34 |
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" /> |
|
35 |
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" /> |
|
36 |
</head> |
|
37 |
<body> |
|
38 |
|
|
39 |
<table cellpadding="0" cellspacing="0" border="0" align="center" class="main" width="750"> |
|
40 |
<tr> |
|
41 |
<td colspan="2" class="header" height="80"> |
|
42 |
<a href="<?php echo WB_URL; ?>"><img src="<?php echo TEMPLATE_DIR; ?>/banner.jpg" border="0" width="750" height="80" alt="<?php page_title('', '[WEBSITE_TITLE]'); ?>" /></a> |
|
43 |
</td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<?php |
|
47 |
// Only show menu items if we are supposed to |
|
48 |
if(SHOW_MENU) { |
|
49 |
?> |
|
50 |
<td style="padding: 10px; background-color: #FFFFFF;" valign="top"> |
|
51 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" class="menu"> |
|
52 |
<tr> |
|
53 |
<td class="border"> |
|
54 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_top.gif" border="0" alt="" /> |
|
55 |
</td> |
|
56 |
</tr> |
|
57 |
<tr> |
|
58 |
<td width="170"> |
|
59 |
<?php page_menu(); ?> |
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
<tr> |
|
63 |
<td class="border"> |
|
64 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_bottom.gif" border="0" alt="" /> |
|
65 |
</td> |
|
66 |
</tr> |
|
67 |
</table> |
|
68 |
|
|
69 |
<?php if(SHOW_SEARCH) { ?> |
|
70 |
<form name="search" action="<?php echo WB_URL.'/search/index'.PAGE_EXTENSION; ?>" method="post"> |
|
71 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
72 |
<tr> |
|
73 |
<td class="border"> |
|
74 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_top.gif" border="0" alt="" /> |
|
75 |
</td> |
|
76 |
</tr> |
|
77 |
<tr> |
|
78 |
<td class="login"> |
|
79 |
<input type="text" name="string" /> |
|
80 |
</td> |
|
81 |
</tr> |
|
82 |
<tr> |
|
83 |
<td class="login"> |
|
84 |
|
|
85 |
<input type="submit" name="submit" value="<?php if(isset($TEXT['SUBMIT'])) { echo $TEXT['SEARCH']; } else { echo 'Search'; } ?>" /> |
|
86 |
</td> |
|
87 |
</tr> |
|
88 |
<tr> |
|
89 |
<td class="border"> |
|
90 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_bottom.gif" border="0" alt="" /> |
|
91 |
</td> |
|
92 |
</tr> |
|
93 |
</table> |
|
94 |
</form> |
|
95 |
<?php } ?> |
|
96 |
|
|
97 |
<?php |
|
98 |
if(FRONTEND_LOGIN AND !$admin->is_authenticated()) { |
|
99 |
?> |
|
100 |
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post"> |
|
101 |
|
|
102 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
103 |
<tr> |
|
104 |
<td class="border"> |
|
105 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_top.gif" border="0" alt="" /> |
|
106 |
</td> |
|
107 |
</tr> |
|
108 |
<tr> |
|
109 |
<td class="login" style="text-transform: uppercase;"> |
|
110 |
<b><?php echo $TEXT['LOGIN']; ?></b> |
|
111 |
</td> |
|
112 |
</tr> |
|
113 |
<tr> |
|
114 |
<td class="login" style="text-align: left;"> |
|
115 |
<?php echo $TEXT['USERNAME']; ?>: |
|
116 |
</td> |
|
117 |
</tr> |
|
118 |
<tr> |
|
119 |
<td class="login"> |
|
120 |
<input type="text" name="username" /> |
|
121 |
</td> |
|
122 |
</tr> |
|
123 |
<tr> |
|
124 |
<td class="login" style="text-align: left;"> |
|
125 |
<?php echo $TEXT['PASSWORD']; ?>: |
|
126 |
</td> |
|
127 |
</tr> |
|
128 |
<tr> |
|
129 |
<td class="login"> |
|
130 |
<input type="password" name="password" /> |
|
131 |
</td> |
|
132 |
</tr> |
|
133 |
<tr> |
|
134 |
<td class="login"> |
|
135 |
<input type="submit" name="submit" value="<?php echo $TEXT['LOGIN']; ?>" style="margin-top: 3px; text-transform: uppercase;" /> |
|
136 |
</td> |
|
137 |
</tr> |
|
138 |
<tr> |
|
139 |
<td class="login"> |
|
140 |
<a href="<?php echo FORGOT_URL; ?>"><?php echo $TEXT['FORGOT_DETAILS']; ?></a> |
|
141 |
<?php if(is_numeric(FRONTEND_SIGNUP)) { ?> |
|
142 |
<a href="<?php echo SIGNUP_URL; ?>"><?php echo $TEXT['SIGNUP']; ?></a> |
|
143 |
<?php } ?> |
|
144 |
</td> |
|
145 |
</tr> |
|
146 |
<tr> |
|
147 |
<td class="border"> |
|
148 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_bottom.gif" border="0" alt="" /> |
|
149 |
</td> |
|
150 |
</tr> |
|
151 |
</table> |
|
152 |
|
|
153 |
</form> |
|
154 |
<?php |
|
155 |
} elseif(FRONTEND_LOGIN AND $admin->is_authenticated()) { |
|
156 |
?> |
|
157 |
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post"> |
|
158 |
|
|
159 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
160 |
<tr> |
|
161 |
<td class="border"> |
|
162 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_top.gif" border="0" alt="" /> |
|
163 |
</td> |
|
164 |
</tr> |
|
165 |
<tr> |
|
166 |
<td class="login" style="text-transform: uppercase;"> |
|
167 |
<b><?php echo $TEXT['LOGGED_IN']; ?></b> |
|
168 |
</td> |
|
169 |
</tr> |
|
170 |
<tr> |
|
171 |
<td class="login" style="padding-top: 15px; padding-bottom: 15px;"> |
|
172 |
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $admin->get_display_name(); ?> |
|
173 |
</td> |
|
174 |
</tr> |
|
175 |
<tr> |
|
176 |
<td class="login"> |
|
177 |
<input type="submit" name="submit" value="<?php echo $MENU['LOGOUT']; ?>" style="margin-top: 3px; text-transform: uppercase;" /> |
|
178 |
</td> |
|
179 |
</tr> |
|
180 |
<tr> |
|
181 |
<td class="login"> |
|
182 |
<a href="<?php echo PREFERENCES_URL; ?>"><?php echo $MENU['PREFERENCES']; ?></a> |
|
183 |
</td> |
|
184 |
</tr> |
|
185 |
<tr> |
|
186 |
<td class="border"> |
|
187 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_bottom.gif" border="0" alt="" /> |
|
188 |
</td> |
|
189 |
</tr> |
|
190 |
</table> |
|
191 |
|
|
192 |
</form> |
|
193 |
<?php |
|
194 |
} |
|
195 |
?> |
|
196 |
</td> |
|
197 |
<?php } ?> |
|
198 |
<td class="content" width="600" rowspan="2"> |
|
199 |
<?php page_content(); ?> |
|
200 |
</td> |
|
201 |
</tr> |
|
202 |
<tr> |
|
203 |
<?php |
|
204 |
// Only show menu items if we are supposed to |
|
205 |
if(defined('SHOW_MENU') AND SHOW_MENU == true) { |
|
206 |
?> |
|
207 |
<td height="20" width="155" valign="bottom" class="powered_by"> |
|
208 |
<a href="http://www.websitebaker.org/" target="_blank"> |
|
209 |
<img src="<?php echo TEMPLATE_DIR; ?>/powered.jpg" border="0" alt="Powered By Website Baker" /> |
|
210 |
</a> |
|
211 |
</td> |
|
212 |
<?php } ?> |
|
213 |
</tr> |
|
214 |
<tr> |
|
215 |
<td colspan="2" class="border"> |
|
216 |
<img src="<?php echo TEMPLATE_DIR; ?>/footer.png" border="0" alt="" /> |
|
217 |
</td> |
|
218 |
</tr> |
|
219 |
<tr> |
|
220 |
<td colspan="2" class="footer"> |
|
221 |
<?php page_footer(); ?> |
|
222 |
</td> |
|
223 |
</tr> |
|
224 |
</table> |
|
225 |
|
|
226 |
</body> |
|
227 |
</html> |
|
228 | 0 |
trunk/wb/templates/round/print.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: #FFFFFF; |
|
8 |
margin: 0px; |
|
9 |
} |
|
10 |
a:link, a:visited, a:active { |
|
11 |
color: #003366; |
|
12 |
text-decoration: none; |
|
13 |
} |
|
14 |
a:hover { |
|
15 |
color: #336699; |
|
16 |
text-decoration: none; |
|
17 |
} |
|
18 |
.header, .menu, .search, .powered_by, .footer { |
|
19 |
display: none; |
|
20 |
} |
|
21 |
.content { |
|
22 |
vertical-align: top; |
|
23 |
} |
|
24 | 0 |
trunk/wb/templates/round/info.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
// $Id: info.php,v 1.4 2005/04/08 11:37:32 rdjurovich Exp $ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2005, 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.5'; |
|
29 |
$template_designed_for = '2.x'; |
|
30 |
$template_author = 'Ryan Djurovich'; |
|
31 |
$template_description = 'Default template for Website Baker 2.2.x. Simular to the box template, but with rounded edges.'; |
|
32 |
|
|
33 |
?> |
|
34 | 0 |
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 |
.border { |
|
78 |
font-size: 1px; |
|
79 |
height: 10px; |
|
80 |
} |
|
81 |
.login { |
|
82 |
padding: 2px 10px 2px 10px; |
|
83 |
font-size: 10px; |
|
84 |
background-color: #003366; |
|
85 |
color: #FFFFFF; |
|
86 |
text-align: center; |
|
87 |
} |
|
88 |
.login input { |
|
89 |
width: 95%; |
|
90 |
font-size: 10px; |
|
91 |
} |
|
92 |
.login a:link, .login a:visited, .login a:active { |
|
93 |
color: #DDDDDD; |
|
94 |
text-decoration: none; |
|
95 |
} |
|
96 |
.login a:hover { |
|
97 |
color: #FFFFFF; |
|
98 |
text-decoration: none; |
|
99 |
} |
|
100 |
.powered_by { |
|
101 |
padding: 3px 0px 0px 15px; |
|
102 |
background-color: #FFFFFF; |
|
103 |
} |
|
104 |
.content { |
|
105 |
padding: 10px; |
|
106 |
background-color: #FFFFFF; |
|
107 |
height: 300px; |
|
108 |
vertical-align: top; |
|
109 |
text-align: left; |
|
110 |
} |
|
111 |
.footer { |
|
112 |
padding: 5px; |
|
113 |
height: 20px; |
|
114 |
color: #FFFFFF; |
|
115 |
vertical-align: middle; |
|
116 |
text-align: center; |
|
117 |
} |
|
118 | 0 |
addons/templates/round/index.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2005, 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 |
?> |
|
27 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
28 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
29 |
<head> |
|
30 |
<title><?php page_title(); ?></title> |
|
31 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
32 |
<meta name="description" content="<?php page_description(); ?>" /> |
|
33 |
<meta name="keywords" content="<?php page_keywords(); ?>" /> |
|
34 |
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" /> |
|
35 |
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" /> |
|
36 |
</head> |
|
37 |
<body> |
|
38 |
|
|
39 |
<table cellpadding="0" cellspacing="0" border="0" align="center" class="main" width="750"> |
|
40 |
<tr> |
|
41 |
<td colspan="2" class="header" height="80"> |
|
42 |
<a href="<?php echo WB_URL; ?>"><img src="<?php echo TEMPLATE_DIR; ?>/banner.jpg" border="0" width="750" height="80" alt="<?php page_title('', '[WEBSITE_TITLE]'); ?>" /></a> |
|
43 |
</td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<?php |
|
47 |
// Only show menu items if we are supposed to |
|
48 |
if(SHOW_MENU) { |
|
49 |
?> |
|
50 |
<td style="padding: 10px; background-color: #FFFFFF;" valign="top"> |
|
51 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" class="menu"> |
|
52 |
<tr> |
|
53 |
<td class="border"> |
|
54 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_top.gif" border="0" alt="" /> |
|
55 |
</td> |
|
56 |
</tr> |
|
57 |
<tr> |
|
58 |
<td width="170"> |
|
59 |
<?php page_menu(); ?> |
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
<tr> |
|
63 |
<td class="border"> |
|
64 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_bottom.gif" border="0" alt="" /> |
|
65 |
</td> |
|
66 |
</tr> |
|
67 |
</table> |
|
68 |
|
|
69 |
<?php if(SHOW_SEARCH) { ?> |
|
70 |
<form name="search" action="<?php echo WB_URL.'/search/index'.PAGE_EXTENSION; ?>" method="post"> |
|
71 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
72 |
<tr> |
|
73 |
<td class="border"> |
|
74 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_top.gif" border="0" alt="" /> |
|
75 |
</td> |
|
76 |
</tr> |
|
77 |
<tr> |
|
78 |
<td class="login"> |
|
79 |
<input type="text" name="string" /> |
|
80 |
</td> |
|
81 |
</tr> |
|
82 |
<tr> |
|
83 |
<td class="login"> |
|
84 |
|
|
85 |
<input type="submit" name="submit" value="<?php if(isset($TEXT['SUBMIT'])) { echo $TEXT['SEARCH']; } else { echo 'Search'; } ?>" /> |
|
86 |
</td> |
|
87 |
</tr> |
|
88 |
<tr> |
|
89 |
<td class="border"> |
|
90 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_bottom.gif" border="0" alt="" /> |
|
91 |
</td> |
|
92 |
</tr> |
|
93 |
</table> |
|
94 |
</form> |
|
95 |
<?php } ?> |
|
96 |
|
|
97 |
<?php |
|
98 |
if(FRONTEND_LOGIN AND !$admin->is_authenticated()) { |
|
99 |
?> |
|
100 |
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post"> |
|
101 |
|
|
102 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
103 |
<tr> |
|
104 |
<td class="border"> |
|
105 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_top.gif" border="0" alt="" /> |
|
106 |
</td> |
|
107 |
</tr> |
|
108 |
<tr> |
|
109 |
<td class="login" style="text-transform: uppercase;"> |
|
110 |
<b><?php echo $TEXT['LOGIN']; ?></b> |
|
111 |
</td> |
|
112 |
</tr> |
|
113 |
<tr> |
|
114 |
<td class="login" style="text-align: left;"> |
|
115 |
<?php echo $TEXT['USERNAME']; ?>: |
|
116 |
</td> |
|
117 |
</tr> |
|
118 |
<tr> |
|
119 |
<td class="login"> |
|
120 |
<input type="text" name="username" /> |
|
121 |
</td> |
|
122 |
</tr> |
|
123 |
<tr> |
|
124 |
<td class="login" style="text-align: left;"> |
|
125 |
<?php echo $TEXT['PASSWORD']; ?>: |
|
126 |
</td> |
|
127 |
</tr> |
|
128 |
<tr> |
|
129 |
<td class="login"> |
|
130 |
<input type="password" name="password" /> |
|
131 |
</td> |
|
132 |
</tr> |
|
133 |
<tr> |
|
134 |
<td class="login"> |
|
135 |
<input type="submit" name="submit" value="<?php echo $TEXT['LOGIN']; ?>" style="margin-top: 3px; text-transform: uppercase;" /> |
|
136 |
</td> |
|
137 |
</tr> |
|
138 |
<tr> |
|
139 |
<td class="login"> |
|
140 |
<a href="<?php echo FORGOT_URL; ?>"><?php echo $TEXT['FORGOT_DETAILS']; ?></a> |
|
141 |
<?php if(is_numeric(FRONTEND_SIGNUP)) { ?> |
|
142 |
<a href="<?php echo SIGNUP_URL; ?>"><?php echo $TEXT['SIGNUP']; ?></a> |
|
143 |
<?php } ?> |
|
144 |
</td> |
|
145 |
</tr> |
|
146 |
<tr> |
|
147 |
<td class="border"> |
|
148 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_bottom.gif" border="0" alt="" /> |
|
149 |
</td> |
|
150 |
</tr> |
|
151 |
</table> |
|
152 |
|
|
153 |
</form> |
|
154 |
<?php |
|
155 |
} elseif(FRONTEND_LOGIN AND $admin->is_authenticated()) { |
|
156 |
?> |
|
157 |
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post"> |
|
158 |
|
|
159 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
|
160 |
<tr> |
|
161 |
<td class="border"> |
|
162 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_top.gif" border="0" alt="" /> |
|
163 |
</td> |
|
164 |
</tr> |
|
165 |
<tr> |
|
166 |
<td class="login" style="text-transform: uppercase;"> |
|
167 |
<b><?php echo $TEXT['LOGGED_IN']; ?></b> |
|
168 |
</td> |
|
169 |
</tr> |
|
170 |
<tr> |
|
171 |
<td class="login" style="padding-top: 15px; padding-bottom: 15px;"> |
|
172 |
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $admin->get_display_name(); ?> |
|
173 |
</td> |
|
174 |
</tr> |
|
175 |
<tr> |
|
176 |
<td class="login"> |
|
177 |
<input type="submit" name="submit" value="<?php echo $MENU['LOGOUT']; ?>" style="margin-top: 3px; text-transform: uppercase;" /> |
|
178 |
</td> |
|
179 |
</tr> |
|
180 |
<tr> |
|
181 |
<td class="login"> |
|
182 |
<a href="<?php echo PREFERENCES_URL; ?>"><?php echo $MENU['PREFERENCES']; ?></a> |
|
183 |
</td> |
|
184 |
</tr> |
|
185 |
<tr> |
|
186 |
<td class="border"> |
|
187 |
<img src="<?php echo TEMPLATE_DIR; ?>/menu_bottom.gif" border="0" alt="" /> |
|
188 |
</td> |
|
189 |
</tr> |
|
190 |
</table> |
|
191 |
|
|
192 |
</form> |
|
193 |
<?php |
|
194 |
} |
|
195 |
?> |
|
196 |
</td> |
|
197 |
<?php } ?> |
|
198 |
<td class="content" width="600" rowspan="2"> |
|
199 |
<?php page_content(); ?> |
|
200 |
</td> |
|
201 |
</tr> |
|
202 |
<tr> |
|
203 |
<?php |
|
204 |
// Only show menu items if we are supposed to |
|
205 |
if(defined('SHOW_MENU') AND SHOW_MENU == true) { |
|
206 |
?> |
|
207 |
<td height="20" width="155" valign="bottom" class="powered_by"> |
|
208 |
<a href="http://www.websitebaker.org/" target="_blank"> |
|
209 |
<img src="<?php echo TEMPLATE_DIR; ?>/powered.jpg" border="0" alt="Powered By Website Baker" /> |
|
210 |
</a> |
|
211 |
</td> |
|
212 |
<?php } ?> |
|
213 |
</tr> |
|
214 |
<tr> |
|
215 |
<td colspan="2" class="border"> |
|
216 |
<img src="<?php echo TEMPLATE_DIR; ?>/footer.png" border="0" alt="" /> |
|
217 |
</td> |
|
218 |
</tr> |
|
219 |
<tr> |
|
220 |
<td colspan="2" class="footer"> |
|
221 |
<?php page_footer(); ?> |
|
222 |
</td> |
|
223 |
</tr> |
|
224 |
</table> |
|
225 |
|
|
226 |
</body> |
|
227 |
</html> |
|
0 | 228 |
addons/templates/round/info.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
// $Id: info.php,v 1.4 2005/04/08 11:37:32 rdjurovich Exp $ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2005, 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.5'; |
|
29 |
$template_designed_for = '2.x'; |
|
30 |
$template_author = 'Ryan Djurovich'; |
|
31 |
$template_description = 'Default template for Website Baker 2.2.x. Simular to the box template, but with rounded edges.'; |
|
32 |
|
|
33 |
?> |
|
0 | 34 |
addons/templates/round/print.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: #FFFFFF; |
|
8 |
margin: 0px; |
|
9 |
} |
|
10 |
a:link, a:visited, a:active { |
|
11 |
color: #003366; |
|
12 |
text-decoration: none; |
|
13 |
} |
|
14 |
a:hover { |
|
15 |
color: #336699; |
|
16 |
text-decoration: none; |
|
17 |
} |
|
18 |
.header, .menu, .search, .powered_by, .footer { |
|
19 |
display: none; |
|
20 |
} |
|
21 |
.content { |
|
22 |
vertical-align: top; |
|
23 |
} |
|
0 | 24 |
addons/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 |
.border { |
|
78 |
font-size: 1px; |
|
79 |
height: 10px; |
|
80 |
} |
|
81 |
.login { |
|
82 |
padding: 2px 10px 2px 10px; |
|
83 |
font-size: 10px; |
|
84 |
background-color: #003366; |
|
85 |
color: #FFFFFF; |
|
86 |
text-align: center; |
|
87 |
} |
|
88 |
.login input { |
|
89 |
width: 95%; |
|
90 |
font-size: 10px; |
|
91 |
} |
|
92 |
.login a:link, .login a:visited, .login a:active { |
|
93 |
color: #DDDDDD; |
|
94 |
text-decoration: none; |
|
95 |
} |
|
96 |
.login a:hover { |
|
97 |
color: #FFFFFF; |
|
98 |
text-decoration: none; |
|
99 |
} |
|
100 |
.powered_by { |
|
101 |
padding: 3px 0px 0px 15px; |
|
102 |
background-color: #FFFFFF; |
|
103 |
} |
|
104 |
.content { |
|
105 |
padding: 10px; |
|
106 |
background-color: #FFFFFF; |
|
107 |
height: 300px; |
|
108 |
vertical-align: top; |
|
109 |
text-align: left; |
|
110 |
} |
|
111 |
.footer { |
|
112 |
padding: 5px; |
|
113 |
height: 20px; |
|
114 |
color: #FFFFFF; |
|
115 |
vertical-align: middle; |
|
116 |
text-align: center; |
|
117 |
} |
|
0 | 118 |
Also available in: Unified diff
Moved Round template