Revision 449
Added by Matthias over 17 years ago
trunk/wb/install/save.php | ||
---|---|---|
63 | 63 |
$_SESSION['admin_username'] = $_POST['admin_username']; |
64 | 64 |
$_SESSION['admin_email'] = $_POST['admin_email']; |
65 | 65 |
$_SESSION['admin_password'] = $_POST['admin_password']; |
66 |
|
|
67 |
if(!isset($_POST['outgoing_mails'])) { |
|
68 |
$_SESSION['outgoing_mails'] = 'php'; |
|
69 |
} else { |
|
70 |
$_SESSION['outgoing_mails'] = $_POST['outgoing_mails']; |
|
71 |
} |
|
72 |
$_SESSION['smtp_server'] = $_POST['smtp_server']; |
|
73 |
|
|
66 | 74 |
} |
67 | 75 |
// Set the message |
68 | 76 |
$_SESSION['message'] = $message; |
... | ... | |
257 | 265 |
} |
258 | 266 |
// End admin user details code |
259 | 267 |
|
268 |
// Get the SMTP server settings and check if valid |
|
269 |
$smtp_server_used = "mail.example.com"; |
|
270 |
if(isset($_POST['outgoing_mails']) AND $_POST['outgoing_mails']=="smtp") { |
|
271 |
if($_POST['smtp_server'] == "" || $_POST['smtp_server'] == "mail.example.com") { |
|
272 |
set_error('Please define the SMTP host (Step 7) of your domain or choose option PHP mail().'); |
|
273 |
} else { |
|
274 |
$smtp_server_used = $_POST['smtp_server']; |
|
275 |
} |
|
276 |
} |
|
277 |
|
|
278 |
// Create SMTP server output string for the config.php file |
|
279 |
if($smtp_server_used == "mail.example.com") { |
|
280 |
$smtp_server_used = "// define('WBMAILER_SMTP_HOST', '" .$smtp_server_used ."');\n"; |
|
281 |
} else { |
|
282 |
$smtp_server_used = "define('WBMAILER_SMTP_HOST', '" .$smtp_server_used ."');\n"; |
|
283 |
} |
|
284 |
// End SMTP server settings |
|
285 |
|
|
260 | 286 |
// Try and write settings to config file |
261 | 287 |
$config_content = "" . |
262 | 288 |
"<?php\n". |
... | ... | |
273 | 299 |
"define('ADMIN_PATH', WB_PATH.'/admin');\n". |
274 | 300 |
"define('ADMIN_URL', '$wb_url/admin');\n". |
275 | 301 |
"\n". |
302 |
"// some mail provider do not deliver mails send via PHP mail() function as SMTP authentification is missing\n". |
|
303 |
"// in that case activate SMTP for outgoing mails: un-comment next line and specify SMTP host of your domain\n". |
|
304 |
$smtp_server_used. |
|
305 |
"\n". |
|
276 | 306 |
"require_once(WB_PATH.'/framework/initialize.php');\n". |
277 | 307 |
"\n". |
278 | 308 |
"?>"; |
... | ... | |
446 | 476 |
." ('media_directory', '/media')," |
447 | 477 |
." ('operating_system', '$operating_system')," |
448 | 478 |
." ('string_file_mode', '$file_mode')," |
449 |
." ('string_dir_mode', '$dir_mode')," |
|
450 |
." ('wbmailer_routine', 'phpmail')," |
|
451 |
." ('wbmailer_smtp_host', '')," |
|
452 |
." ('wbmailer_smtp_auth', '')," |
|
453 |
." ('wbmailer_smtp_username', '')," |
|
454 |
." ('wbmailer_smtp_password', '')"; |
|
479 |
." ('string_dir_mode', '$dir_mode')"; |
|
455 | 480 |
$database->query($settings_rows); |
456 | 481 |
|
482 |
|
|
457 | 483 |
// Users table |
458 | 484 |
$users = 'CREATE TABLE `'.TABLE_PREFIX.'users` ( `user_id` INT NOT NULL auto_increment,' |
459 | 485 |
. ' `group_id` INT NOT NULL DEFAULT \'0\',' |
trunk/wb/install/index.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2007, 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 |
// Start a session |
|
27 |
if(!defined('SESSION_STARTED')) { |
|
28 |
session_name('wb_session_id'); |
|
29 |
session_start(); |
|
30 |
define('SESSION_STARTED', true); |
|
31 |
} |
|
32 |
|
|
33 |
// Check if the page has been reloaded |
|
34 |
if(!isset($_GET['sessions_checked']) OR $_GET['sessions_checked'] != 'true') { |
|
35 |
// Set session variable |
|
36 |
$_SESSION['session_support'] = '<font class="good">Enabled</font>'; |
|
37 |
// Reload page |
|
38 |
header('Location: index.php?sessions_checked=true'); |
|
39 |
exit(0); |
|
40 |
} else { |
|
41 |
// Check if session variable has been saved after reload |
|
42 |
if(isset($_SESSION['session_support'])) { |
|
43 |
$session_support = $_SESSION['session_support']; |
|
44 |
} else { |
|
45 |
$session_support = '<font class="bad">Disabled</font>'; |
|
46 |
} |
|
47 |
} |
|
48 |
|
|
49 |
?> |
|
50 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
51 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
52 |
<head> |
|
53 |
<title>Website Baker Installation Wizard</title> |
|
54 |
<link href="stylesheet.css" rel="stylesheet" type="text/css"> |
|
55 |
<script language="javascript" type="text/javascript"> |
|
56 |
|
|
57 |
function confirm_link(message, url) { |
|
58 |
if(confirm(message)) location.href = url; |
|
59 |
} |
|
60 |
function change_os(type) { |
|
61 |
if(type == 'linux') { |
|
62 |
document.getElementById('operating_system_linux').checked = true; |
|
63 |
document.getElementById('operating_system_windows').checked = false; |
|
64 |
document.getElementById('file_perms_box').style.display = 'block'; |
|
65 |
} else if(type == 'windows') { |
|
66 |
document.getElementById('operating_system_linux').checked = false; |
|
67 |
document.getElementById('operating_system_windows').checked = true; |
|
68 |
document.getElementById('file_perms_box').style.display = 'none'; |
|
69 |
} |
|
70 |
} |
|
71 |
|
|
72 |
</script> |
|
73 |
</head> |
|
74 |
<body> |
|
75 |
|
|
76 |
<table cellpadding="0" cellspacing="0" border="0" width="750" align="center"> |
|
77 |
<tr> |
|
78 |
<td width="60" valign="top"> |
|
79 |
<img src="../admin/interface/logo.png" width="60" height="60" alt="Logo" /> |
|
80 |
</td> |
|
81 |
<td width="5"> </td> |
|
82 |
<td style="font-size: 20px;"> |
|
83 |
<font style="color: #FFFFFF;">Website Baker</font> |
|
84 |
<font style="color: #DDDDDD;">Installation Wizard</font> |
|
85 |
</td> |
|
86 |
</tr> |
|
87 |
</table> |
|
88 |
|
|
89 |
<form name="website_baker_installation_wizard" action="save.php" method="post"> |
|
90 |
<input type="hidden" name="url" value="" /> |
|
91 |
<input type="hidden" name="username_fieldname" value="admin_username" /> |
|
92 |
<input type="hidden" name="password_fieldname" value="admin_password" /> |
|
93 |
<input type="hidden" name="remember" id="remember" value="true" /> |
|
94 |
|
|
95 |
<table cellpadding="0" cellspacing="0" border="0" width="750" align="center" style="margin-top: 10px;"> |
|
96 |
<tr> |
|
97 |
<td class="content"> |
|
98 |
|
|
99 |
<center style="padding: 5px;"> |
|
100 |
Welcome to the Website Baker Installation Wizard. |
|
101 |
</center> |
|
102 |
|
|
103 |
<?php |
|
104 |
if(isset($_SESSION['message']) AND $_SESSION['message'] != '') { |
|
105 |
?><div style="width: 700px; padding: 10px; margin-bottom: 5px; border: 1px solid #FF0000; background-color: #FFDBDB;"><b>Error:</b> <?php echo $_SESSION['message']; ?></div><?php |
|
106 |
} |
|
107 |
?> |
|
108 |
<table cellpadding="3" cellspacing="0" width="100%" align="center"> |
|
109 |
<tr> |
|
110 |
<td colspan="8"><h1>Step 1</h1>Please check the following requirements are met before continuing...</td> |
|
111 |
</tr> |
|
112 |
<?php if($session_support != '<font class="good">Enabled</font>') { ?> |
|
113 |
<tr> |
|
114 |
<td colspan="8" style="font-size: 10px;" class="bad">Please note: PHP Session Support may appear disabled if your browser does not support cookies.</td> |
|
115 |
</tr> |
|
116 |
<?php } ?> |
|
117 |
<tr> |
|
118 |
<td width="140" style="color: #666666;">PHP Version > 4.1.0</td> |
|
119 |
<td width="35"> |
|
120 |
<?php |
|
121 |
$phpversion = substr(PHP_VERSION, 0, 6); |
|
122 |
if($phpversion > 4.1) { |
|
123 |
?><font class="good">Yes</font><?php |
|
124 |
} else { |
|
125 |
?><font class="bad">No</font><?php |
|
126 |
} |
|
127 |
?> |
|
128 |
</td> |
|
129 |
<td width="140" style="color: #666666;">PHP Session Support</td> |
|
130 |
<td width="115"><?php echo $session_support; ?></td> |
|
131 |
<td width="105" style="color: #666666;">PHP Safe Mode</td> |
|
132 |
<td> |
|
133 |
<?php |
|
134 |
if(ini_get('safe_mode')) { |
|
135 |
?><font class="bad">Enabled</font><?php |
|
136 |
} else { |
|
137 |
?><font class="good">Disabled</font><?php |
|
138 |
} |
|
139 |
?> |
|
140 |
</td> |
|
141 |
</tr> |
|
142 |
</table> |
|
143 |
<table cellpadding="3" cellspacing="0" width="100%" align="center"> |
|
144 |
<tr> |
|
145 |
<td colspan="8"><h1>Step 2</h1>Please check the following files/folders are writeable before continuing...</td> |
|
146 |
</tr> |
|
147 |
<tr> |
|
148 |
<td style="color: #666666;">wb/config.php</td> |
|
149 |
<td><?php if(is_writable('../config.php')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../config.php')) { echo '<font class="bad">File Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
150 |
<td style="color: #666666;">wb/pages/</td> |
|
151 |
<td><?php if(is_writable('../pages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../pages/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
152 |
<td style="color: #666666;">wb/media/</td> |
|
153 |
<td><?php if(is_writable('../media/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../media/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
154 |
<td style="color: #666666;">wb/templates/</td> |
|
155 |
<td><?php if(is_writable('../templates/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../templates/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
156 |
</tr> |
|
157 |
<tr> |
|
158 |
<td style="color: #666666;">wb/modules/</td> |
|
159 |
<td><?php if(is_writable('../modules/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../modules/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
160 |
<td style="color: #666666;">wb/languages/</td> |
|
161 |
<td><?php if(is_writable('../languages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../languages/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
162 |
<td style="color: #666666;">wb/temp/</td> |
|
163 |
<td><?php if(is_writable('../temp/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../temp/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
164 |
<td> </td> |
|
165 |
<td> </td> |
|
166 |
</tr> |
|
167 |
</table> |
|
168 |
<table cellpadding="3" cellspacing="0" width="100%" align="center"> |
|
169 |
<tr> |
|
170 |
<td colspan="2"><h1>Step 3</h1>Please check your path settings, and select your default timezone...</td> |
|
171 |
</tr> |
|
172 |
<tr> |
|
173 |
<td width="125" style="color: #666666;"> |
|
174 |
Absolute URL: |
|
175 |
</td> |
|
176 |
<td> |
|
177 |
<?php |
|
178 |
// Try to guess installation URL |
|
179 |
$guessed_url = 'http://'.$_SERVER["SERVER_NAME"].$_SERVER["SCRIPT_NAME"]; |
|
180 |
$guessed_url = rtrim(dirname($guessed_url), 'install'); |
|
181 |
?> |
|
182 |
<input type="text" tabindex="1" name="wb_url" style="width: 99%;" value="<?php if(isset($_SESSION['wb_url'])) { echo $_SESSION['wb_url']; } else { echo $guessed_url; } ?>" /> |
|
183 |
</td> |
|
184 |
</tr> |
|
185 |
<tr> |
|
186 |
<td style="color: #666666;"> |
|
187 |
Default Timezone: |
|
188 |
</td> |
|
189 |
<td> |
|
190 |
<select tabindex="3" name="default_timezone" style="width: 100%;"> |
|
191 |
<?php |
|
192 |
$TIMEZONES['-12'] = 'GMT - 12 Hours'; |
|
193 |
$TIMEZONES['-11'] = 'GMT -11 Hours'; |
|
194 |
$TIMEZONES['-10'] = 'GMT -10 Hours'; |
|
195 |
$TIMEZONES['-9'] = 'GMT -9 Hours'; |
|
196 |
$TIMEZONES['-8'] = 'GMT -8 Hours'; |
|
197 |
$TIMEZONES['-7'] = 'GMT -7 Hours'; |
|
198 |
$TIMEZONES['-6'] = 'GMT -6 Hours'; |
|
199 |
$TIMEZONES['-5'] = 'GMT -5 Hours'; |
|
200 |
$TIMEZONES['-4'] = 'GMT -4 Hours'; |
|
201 |
$TIMEZONES['-3.5'] = 'GMT -3.5 Hours'; |
|
202 |
$TIMEZONES['-3'] = 'GMT -3 Hours'; |
|
203 |
$TIMEZONES['-2'] = 'GMT -2 Hours'; |
|
204 |
$TIMEZONES['-1'] = 'GMT -1 Hour'; |
|
205 |
$TIMEZONES['0'] = 'GMT'; |
|
206 |
$TIMEZONES['1'] = 'GMT +1 Hour'; |
|
207 |
$TIMEZONES['2'] = 'GMT +2 Hours'; |
|
208 |
$TIMEZONES['3'] = 'GMT +3 Hours'; |
|
209 |
$TIMEZONES['3.5'] = 'GMT +3.5 Hours'; |
|
210 |
$TIMEZONES['4'] = 'GMT +4 Hours'; |
|
211 |
$TIMEZONES['4.5'] = 'GMT +4.5 Hours'; |
|
212 |
$TIMEZONES['5'] = 'GMT +5 Hours'; |
|
213 |
$TIMEZONES['5.5'] = 'GMT +5.5 Hours'; |
|
214 |
$TIMEZONES['6'] = 'GMT +6 Hours'; |
|
215 |
$TIMEZONES['6.5'] = 'GMT +6.5 Hours'; |
|
216 |
$TIMEZONES['7'] = 'GMT +7 Hours'; |
|
217 |
$TIMEZONES['8'] = 'GMT +8 Hours'; |
|
218 |
$TIMEZONES['9'] = 'GMT +9 Hours'; |
|
219 |
$TIMEZONES['9.5'] = 'GMT +9.5 Hours'; |
|
220 |
$TIMEZONES['10'] = 'GMT +10 Hours'; |
|
221 |
$TIMEZONES['11'] = 'GMT +11 Hours'; |
|
222 |
$TIMEZONES['12'] = 'GMT +12 Hours'; |
|
223 |
$TIMEZONES['13'] = 'GMT +13 Hours'; |
|
224 |
foreach($TIMEZONES AS $hour_offset => $title) { |
|
225 |
?> |
|
226 |
<option value="<?php echo $hour_offset; ?>"<?php if(isset($_SESSION['default_timezone']) AND $_SESSION['default_timezone'] == $hour_offset) { echo ' selected'; } elseif(!isset($_SESSION['default_timezone']) AND $hour_offset == 0) { echo 'selected'; } ?>><?php echo $title; ?></option> |
|
227 |
<?php |
|
228 |
} |
|
229 |
?> |
|
230 |
</select> |
|
231 |
</td> |
|
232 |
</tr> |
|
233 |
</table> |
|
234 |
<table cellpadding="5" cellspacing="0" width="100%" align="center"> |
|
235 |
<tr> |
|
236 |
<td colspan="3"><h1>Step 4</h1>Please specify your operating system information below...</td> |
|
237 |
</tr> |
|
238 |
<tr height="50"> |
|
239 |
<td width="170"> |
|
240 |
Server Operating System: |
|
241 |
</td> |
|
242 |
<td width="180"> |
|
243 |
<input type="radio" tabindex="4" name="operating_system" id="operating_system_linux" onclick="document.getElementById('file_perms_box').style.display = 'block';" value="linux"<?php if(!isset($_SESSION['operating_system']) OR $_SESSION['operating_system'] == 'linux') { echo ' checked'; } ?> /> |
|
244 |
<font style="cursor: pointer;" onclick="javascript: change_os('linux');">Linux/Unix based</font> |
|
245 |
<br /> |
|
246 |
<input type="radio" tabindex="5" name="operating_system" id="operating_system_windows" onclick="document.getElementById('file_perms_box').style.display = 'none';" value="windows"<?php if(isset($_SESSION['operating_system']) AND $_SESSION['operating_system'] == 'windows') { echo ' checked'; } ?> /> |
|
247 |
<font style="cursor: pointer;" onclick="javascript: change_os('windows');">Windows</font> |
|
248 |
</td> |
|
249 |
<td> |
|
250 |
<div name="file_perms_box" id="file_perms_box" style="margin: 0; padding: 0; display: <?php if(isset($_SESSION['operating_system']) AND $_SESSION['operating_system'] == 'windows') { echo 'none'; } else { echo 'block'; } ?>;"> |
|
251 |
<input type="checkbox" tabindex="6" name="world_writeable" id="world_writeable" value="true"<?php if(isset($_SESSION['world_writeable']) AND $_SESSION['world_writeable'] == true) { echo 'checked'; } ?> /> |
|
252 |
<label for="world_writeable"> |
|
253 |
World-writeable file permissions (777) |
|
254 |
</label> |
|
255 |
<br /> |
|
256 |
<font class="note">(Please note: this is only recommended for testing environments)</font> |
|
257 |
</div> |
|
258 |
</td> |
|
259 |
</tr> |
|
260 |
</table> |
|
261 |
<table cellpadding="5" cellspacing="0" width="100%" align="center"> |
|
262 |
<tr> |
|
263 |
<td colspan="5">Please enter your MySQL database server details below...</td> |
|
264 |
</tr> |
|
265 |
<tr> |
|
266 |
<td width="120" style="color: #666666;">Host Name:</td> |
|
267 |
<td width="230"> |
|
268 |
<input type="text" tabindex="7" name="database_host" style="width: 98%;" value="<?php if(isset($_SESSION['database_host'])) { echo $_SESSION['database_host']; } else { echo 'localhost'; } ?>" /> |
|
269 |
</td> |
|
270 |
<td width="7"> </td> |
|
271 |
<td width="70" style="color: #666666;">Username:</td> |
|
272 |
<td> |
|
273 |
<input type="text" tabindex="9" name="database_username" style="width: 98%;" value="<?php if(isset($_SESSION['database_username'])) { echo $_SESSION['database_username']; } else { echo 'root'; } ?>" /> |
|
274 |
</td> |
|
275 |
</tr> |
|
276 |
<tr> |
|
277 |
<td style="color: #666666;">Database Name:</td> |
|
278 |
<td> |
|
279 |
<input type="text" tabindex="8" name="database_name" style="width: 98%;" value="<?php if(isset($_SESSION['database_name'])) { echo $_SESSION['database_name']; } else { echo 'wb'; } ?>" /> |
|
280 |
</td> |
|
281 |
<td> </td> |
|
282 |
<td style="color: #666666;">Password:</td> |
|
283 |
<td> |
|
284 |
<input type="password" tabindex="10" name="database_password" style="width: 98%;"<?php if(isset($_SESSION['database_password'])) { echo ' value = "'.$_SESSION['database_password'].'"'; } ?> /> |
|
285 |
</td> |
|
286 |
</tr> |
|
287 |
<tr> |
|
288 |
<td style="color: #666666;">Table Prefix:</td> |
|
289 |
<td> |
|
290 |
<input type="text" tabindex="11" name="table_prefix" style="width: 250px;"<?php if(isset($_SESSION['table_prefix'])) { echo ' value = "'.$_SESSION['table_prefix'].'"'; } ?> /> |
|
291 |
</td> |
|
292 |
<td> </td> |
|
293 |
<td colspan="2"> |
|
294 |
<input type="checkbox" tabindex="12" name="install_tables" id="install_tables" value="true"<?php if(!isset($_SESSION['install_tables'])) { echo ' checked'; } elseif($_SESSION['install_tables'] == 'true') { echo ' checked'; } ?> /> |
|
295 |
<label for="install_tables" style="color: #666666;">Install Tables</label> |
|
296 |
<br /> |
|
297 |
<span style="font-size: 10px; color: #666666;">(Please note: May remove existing tables and data)</span></td> |
|
298 |
</td> |
|
299 |
</tr> |
|
300 |
<tr> |
|
301 |
<td colspan="5"><h1>Step 5</h1>Please enter your website title below...</td> |
|
302 |
</tr> |
|
303 |
<tr> |
|
304 |
<td style="color: #666666;" colspan="1">Website Title:</td> |
|
305 |
<td colspan="4"> |
|
306 |
<input type="text" tabindex="13" name="website_title" style="width: 99%;" value="<?php if(isset($_SESSION['website_title'])) { echo $_SESSION['website_title']; } ?>" /> |
|
307 |
</td> |
|
308 |
</tr> |
|
309 |
<tr> |
|
310 |
<td colspan="5"><h1>Step 6</h1>Please enter your Administrator account details below...</td> |
|
311 |
</tr> |
|
312 |
<tr> |
|
313 |
<td style="color: #666666;">Username:</td> |
|
314 |
<td> |
|
315 |
<input type="text" tabindex="14" name="admin_username" style="width: 98%;" value="<?php if(isset($_SESSION['admin_username'])) { echo $_SESSION['admin_username']; } else { echo 'admin'; } ?>" /> |
|
316 |
</td> |
|
317 |
<td> </td> |
|
318 |
<td style="color: #666666;">Password:</td> |
|
319 |
<td> |
|
320 |
<input type="password" tabindex="16" name="admin_password" style="width: 98%;"<?php if(isset($_SESSION['admin_password'])) { echo ' value = "'.$_SESSION['admin_password'].'"'; } ?> /> |
|
321 |
</td> |
|
322 |
</tr> |
|
323 |
<tr> |
|
324 |
<td style="color: #666666;">Email:</td> |
|
325 |
<td> |
|
326 |
<input type="text" tabindex="15" name="admin_email" style="width: 98%;"<?php if(isset($_SESSION['admin_email'])) { echo ' value = "'.$_SESSION['admin_email'].'"'; } ?> /> |
|
327 |
</td> |
|
328 |
<td> </td> |
|
329 |
<td style="color: #666666;">Re-Password:</td> |
|
330 |
<td> |
|
331 |
<input type="password" tabindex="17" name="admin_repassword" style="width: 98%;"<?php if(isset($_SESSION['admin_password'])) { echo ' value = "'.$_SESSION['admin_password'].'"'; } ?> /> |
|
332 |
</td> |
|
333 |
</tr> |
|
334 |
<tr> |
|
335 |
<td colspan="5" style="padding: 10px; padding-bottom: 0;"><h1 style="font-size: 0px;"> </h1></td> |
|
336 |
</tr> |
|
337 |
<tr> |
|
338 |
<td colspan="4"> |
|
339 |
<table cellpadding="0" cellspacing="0" width="100%" border="0"> |
|
340 |
<tr valign="top"> |
|
341 |
<td>Please note: </td> |
|
342 |
<td> |
|
343 |
Website Baker is released under the |
|
344 |
<a href="http://www.gnu.org/licenses/gpl.html" target="_blank" tabindex="19">GNU General Public License</a> |
|
345 |
<br /> |
|
346 |
By clicking install, you are accepting the license. |
|
347 |
</td> |
|
348 |
</tr> |
|
349 |
</table> |
|
350 |
</td> |
|
351 |
<td colspan="1" align="right"> |
|
352 |
<input type="submit" tabindex="20" name="submit" value="Install Website Baker" class="submit" /> |
|
353 |
</td> |
|
354 |
</tr> |
|
355 |
</table> |
|
356 |
</td> |
|
357 |
</tr> |
|
358 |
</table> |
|
359 |
|
|
360 |
</form> |
|
361 |
|
|
362 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;"> |
|
363 |
<tr> |
|
364 |
<td align="center" style="font-size: 10px;"> |
|
365 |
<!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
|
366 |
<a href="http://www.websitebaker.org/" style="color: #000000;" target="_blank">Website Baker</a> |
|
367 |
is released under the |
|
368 |
<a href="http://www.gnu.org/licenses/gpl.html" style="color: #000000;" target="_blank">GNU General Public License</a> |
|
369 |
<!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
|
370 |
</td> |
|
371 |
</tr> |
|
372 |
</table> |
|
373 |
|
|
374 |
</body> |
|
1 |
<?php |
|
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2007, 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 |
// Start a session |
|
27 |
if(!defined('SESSION_STARTED')) { |
|
28 |
session_name('wb_session_id'); |
|
29 |
session_start(); |
|
30 |
define('SESSION_STARTED', true); |
|
31 |
} |
|
32 |
|
|
33 |
// Check if the page has been reloaded |
|
34 |
if(!isset($_GET['sessions_checked']) OR $_GET['sessions_checked'] != 'true') { |
|
35 |
// Set session variable |
|
36 |
$_SESSION['session_support'] = '<font class="good">Enabled</font>'; |
|
37 |
// Reload page |
|
38 |
header('Location: index.php?sessions_checked=true'); |
|
39 |
exit(0); |
|
40 |
} else { |
|
41 |
// Check if session variable has been saved after reload |
|
42 |
if(isset($_SESSION['session_support'])) { |
|
43 |
$session_support = $_SESSION['session_support']; |
|
44 |
} else { |
|
45 |
$session_support = '<font class="bad">Disabled</font>'; |
|
46 |
} |
|
47 |
} |
|
48 |
|
|
49 |
?> |
|
50 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
51 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
52 |
<head> |
|
53 |
<title>Website Baker Installation Wizard</title> |
|
54 |
<link href="stylesheet.css" rel="stylesheet" type="text/css"> |
|
55 |
<script language="javascript" type="text/javascript"> |
|
56 |
|
|
57 |
function confirm_link(message, url) { |
|
58 |
if(confirm(message)) location.href = url; |
|
59 |
} |
|
60 |
function change_os(type) { |
|
61 |
if(type == 'linux') { |
|
62 |
document.getElementById('operating_system_linux').checked = true; |
|
63 |
document.getElementById('operating_system_windows').checked = false; |
|
64 |
document.getElementById('file_perms_box').style.display = 'block'; |
|
65 |
} else if(type == 'windows') { |
|
66 |
document.getElementById('operating_system_linux').checked = false; |
|
67 |
document.getElementById('operating_system_windows').checked = true; |
|
68 |
document.getElementById('file_perms_box').style.display = 'none'; |
|
69 |
} |
|
70 |
} |
|
71 |
function change_mail_type(type) { |
|
72 |
if(type == 'php') { |
|
73 |
document.getElementById('outgoing_mails_php').checked = true; |
|
74 |
document.getElementById('outgoing_mails_smtp').checked = false; |
|
75 |
document.getElementById('smtp_server').style.display = 'none'; |
|
76 |
document.getElementById('caption_smtp_server').style.color = '#FFF'; |
|
77 |
} else if(type == 'smtp') { |
|
78 |
document.getElementById('outgoing_mails_php').checked = false; |
|
79 |
document.getElementById('outgoing_mails_smtp').checked = true; |
|
80 |
document.getElementById('smtp_server').style.display = 'block'; |
|
81 |
document.getElementById('caption_smtp_server').style.color = '#666'; |
|
82 |
} |
|
83 |
} |
|
84 |
|
|
85 |
</script> |
|
86 |
</head> |
|
87 |
<body> |
|
88 |
|
|
89 |
<table cellpadding="0" cellspacing="0" border="0" width="750" align="center"> |
|
90 |
<tr> |
|
91 |
<td width="60" valign="top"> |
|
92 |
<img src="../admin/interface/logo.png" width="60" height="60" alt="Logo" /> |
|
93 |
</td> |
|
94 |
<td width="5"> </td> |
|
95 |
<td style="font-size: 20px;"> |
|
96 |
<font style="color: #FFFFFF;">Website Baker</font> |
|
97 |
<font style="color: #DDDDDD;">Installation Wizard</font> |
|
98 |
</td> |
|
99 |
</tr> |
|
100 |
</table> |
|
101 |
|
|
102 |
<form name="website_baker_installation_wizard" action="save.php" method="post"> |
|
103 |
<input type="hidden" name="url" value="" /> |
|
104 |
<input type="hidden" name="username_fieldname" value="admin_username" /> |
|
105 |
<input type="hidden" name="password_fieldname" value="admin_password" /> |
|
106 |
<input type="hidden" name="remember" id="remember" value="true" /> |
|
107 |
|
|
108 |
<table cellpadding="0" cellspacing="0" border="0" width="750" align="center" style="margin-top: 10px;"> |
|
109 |
<tr> |
|
110 |
<td class="content"> |
|
111 |
|
|
112 |
<center style="padding: 5px;"> |
|
113 |
Welcome to the Website Baker Installation Wizard. |
|
114 |
</center> |
|
115 |
|
|
116 |
<?php |
|
117 |
if(isset($_SESSION['message']) AND $_SESSION['message'] != '') { |
|
118 |
?><div style="width: 700px; padding: 10px; margin-bottom: 5px; border: 1px solid #FF0000; background-color: #FFDBDB;"><b>Error:</b> <?php echo $_SESSION['message']; ?></div><?php |
|
119 |
} |
|
120 |
?> |
|
121 |
<table cellpadding="3" cellspacing="0" width="100%" align="center"> |
|
122 |
<tr> |
|
123 |
<td colspan="8"><h1>Step 1</h1>Please check the following requirements are met before continuing...</td> |
|
124 |
</tr> |
|
125 |
<?php if($session_support != '<font class="good">Enabled</font>') { ?> |
|
126 |
<tr> |
|
127 |
<td colspan="8" style="font-size: 10px;" class="bad">Please note: PHP Session Support may appear disabled if your browser does not support cookies.</td> |
|
128 |
</tr> |
|
129 |
<?php } ?> |
|
130 |
<tr> |
|
131 |
<td width="140" style="color: #666666;">PHP Version > 4.1.0</td> |
|
132 |
<td width="35"> |
|
133 |
<?php |
|
134 |
$phpversion = substr(PHP_VERSION, 0, 6); |
|
135 |
if($phpversion > 4.1) { |
|
136 |
?><font class="good">Yes</font><?php |
|
137 |
} else { |
|
138 |
?><font class="bad">No</font><?php |
|
139 |
} |
|
140 |
?> |
|
141 |
</td> |
|
142 |
<td width="140" style="color: #666666;">PHP Session Support</td> |
|
143 |
<td width="115"><?php echo $session_support; ?></td> |
|
144 |
<td width="105" style="color: #666666;">PHP Safe Mode</td> |
|
145 |
<td> |
|
146 |
<?php |
|
147 |
if(ini_get('safe_mode')) { |
|
148 |
?><font class="bad">Enabled</font><?php |
|
149 |
} else { |
|
150 |
?><font class="good">Disabled</font><?php |
|
151 |
} |
|
152 |
?> |
|
153 |
</td> |
|
154 |
</tr> |
|
155 |
</table> |
|
156 |
<table cellpadding="3" cellspacing="0" width="100%" align="center"> |
|
157 |
<tr> |
|
158 |
<td colspan="8"><h1>Step 2</h1>Please check the following files/folders are writeable before continuing...</td> |
|
159 |
</tr> |
|
160 |
<tr> |
|
161 |
<td style="color: #666666;">wb/config.php</td> |
|
162 |
<td><?php if(is_writable('../config.php')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../config.php')) { echo '<font class="bad">File Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
163 |
<td style="color: #666666;">wb/pages/</td> |
|
164 |
<td><?php if(is_writable('../pages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../pages/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
165 |
<td style="color: #666666;">wb/media/</td> |
|
166 |
<td><?php if(is_writable('../media/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../media/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
167 |
<td style="color: #666666;">wb/templates/</td> |
|
168 |
<td><?php if(is_writable('../templates/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../templates/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
169 |
</tr> |
|
170 |
<tr> |
|
171 |
<td style="color: #666666;">wb/modules/</td> |
|
172 |
<td><?php if(is_writable('../modules/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../modules/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
173 |
<td style="color: #666666;">wb/languages/</td> |
|
174 |
<td><?php if(is_writable('../languages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../languages/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
175 |
<td style="color: #666666;">wb/temp/</td> |
|
176 |
<td><?php if(is_writable('../temp/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../temp/')) { echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
177 |
<td> </td> |
|
178 |
<td> </td> |
|
179 |
</tr> |
|
180 |
</table> |
|
181 |
<table cellpadding="3" cellspacing="0" width="100%" align="center"> |
|
182 |
<tr> |
|
183 |
<td colspan="2"><h1>Step 3</h1>Please check your path settings, and select your default timezone...</td> |
|
184 |
</tr> |
|
185 |
<tr> |
|
186 |
<td width="125" style="color: #666666;"> |
|
187 |
Absolute URL: |
|
188 |
</td> |
|
189 |
<td> |
|
190 |
<?php |
|
191 |
// Try to guess installation URL |
|
192 |
$guessed_url = 'http://'.$_SERVER["SERVER_NAME"].$_SERVER["SCRIPT_NAME"]; |
|
193 |
$guessed_url = rtrim(dirname($guessed_url), 'install'); |
|
194 |
?> |
|
195 |
<input type="text" tabindex="1" name="wb_url" style="width: 99%;" value="<?php if(isset($_SESSION['wb_url'])) { echo $_SESSION['wb_url']; } else { echo $guessed_url; } ?>" /> |
|
196 |
</td> |
|
197 |
</tr> |
|
198 |
<tr> |
|
199 |
<td style="color: #666666;"> |
|
200 |
Default Timezone: |
|
201 |
</td> |
|
202 |
<td> |
|
203 |
<select tabindex="3" name="default_timezone" style="width: 100%;"> |
|
204 |
<?php |
|
205 |
$TIMEZONES['-12'] = 'GMT - 12 Hours'; |
|
206 |
$TIMEZONES['-11'] = 'GMT -11 Hours'; |
|
207 |
$TIMEZONES['-10'] = 'GMT -10 Hours'; |
|
208 |
$TIMEZONES['-9'] = 'GMT -9 Hours'; |
|
209 |
$TIMEZONES['-8'] = 'GMT -8 Hours'; |
|
210 |
$TIMEZONES['-7'] = 'GMT -7 Hours'; |
|
211 |
$TIMEZONES['-6'] = 'GMT -6 Hours'; |
|
212 |
$TIMEZONES['-5'] = 'GMT -5 Hours'; |
|
213 |
$TIMEZONES['-4'] = 'GMT -4 Hours'; |
|
214 |
$TIMEZONES['-3.5'] = 'GMT -3.5 Hours'; |
|
215 |
$TIMEZONES['-3'] = 'GMT -3 Hours'; |
|
216 |
$TIMEZONES['-2'] = 'GMT -2 Hours'; |
|
217 |
$TIMEZONES['-1'] = 'GMT -1 Hour'; |
|
218 |
$TIMEZONES['0'] = 'GMT'; |
|
219 |
$TIMEZONES['1'] = 'GMT +1 Hour'; |
|
220 |
$TIMEZONES['2'] = 'GMT +2 Hours'; |
|
221 |
$TIMEZONES['3'] = 'GMT +3 Hours'; |
|
222 |
$TIMEZONES['3.5'] = 'GMT +3.5 Hours'; |
|
223 |
$TIMEZONES['4'] = 'GMT +4 Hours'; |
|
224 |
$TIMEZONES['4.5'] = 'GMT +4.5 Hours'; |
|
225 |
$TIMEZONES['5'] = 'GMT +5 Hours'; |
|
226 |
$TIMEZONES['5.5'] = 'GMT +5.5 Hours'; |
|
227 |
$TIMEZONES['6'] = 'GMT +6 Hours'; |
|
228 |
$TIMEZONES['6.5'] = 'GMT +6.5 Hours'; |
|
229 |
$TIMEZONES['7'] = 'GMT +7 Hours'; |
|
230 |
$TIMEZONES['8'] = 'GMT +8 Hours'; |
|
231 |
$TIMEZONES['9'] = 'GMT +9 Hours'; |
|
232 |
$TIMEZONES['9.5'] = 'GMT +9.5 Hours'; |
|
233 |
$TIMEZONES['10'] = 'GMT +10 Hours'; |
|
234 |
$TIMEZONES['11'] = 'GMT +11 Hours'; |
|
235 |
$TIMEZONES['12'] = 'GMT +12 Hours'; |
|
236 |
$TIMEZONES['13'] = 'GMT +13 Hours'; |
|
237 |
foreach($TIMEZONES AS $hour_offset => $title) { |
|
238 |
?> |
|
239 |
<option value="<?php echo $hour_offset; ?>"<?php if(isset($_SESSION['default_timezone']) AND $_SESSION['default_timezone'] == $hour_offset) { echo ' selected'; } elseif(!isset($_SESSION['default_timezone']) AND $hour_offset == 0) { echo 'selected'; } ?>><?php echo $title; ?></option> |
|
240 |
<?php |
|
241 |
} |
|
242 |
?> |
|
243 |
</select> |
|
244 |
</td> |
|
245 |
</tr> |
|
246 |
</table> |
|
247 |
<table cellpadding="5" cellspacing="0" width="100%" align="center"> |
|
248 |
<tr> |
|
249 |
<td colspan="3"><h1>Step 4</h1>Please specify your operating system information below...</td> |
|
250 |
</tr> |
|
251 |
<tr height="50"> |
|
252 |
<td width="170"> |
|
253 |
Server Operating System: |
|
254 |
</td> |
|
255 |
<td width="180"> |
|
256 |
<input type="radio" tabindex="4" name="operating_system" id="operating_system_linux" onclick="document.getElementById('file_perms_box').style.display = 'block';" value="linux"<?php if(!isset($_SESSION['operating_system']) OR $_SESSION['operating_system'] == 'linux') { echo ' checked'; } ?> /> |
|
257 |
<font style="cursor: pointer;" onclick="javascript: change_os('linux');">Linux/Unix based</font> |
|
258 |
<br /> |
|
259 |
<input type="radio" tabindex="5" name="operating_system" id="operating_system_windows" onclick="document.getElementById('file_perms_box').style.display = 'none';" value="windows"<?php if(isset($_SESSION['operating_system']) AND $_SESSION['operating_system'] == 'windows') { echo ' checked'; } ?> /> |
|
260 |
<font style="cursor: pointer;" onclick="javascript: change_os('windows');">Windows</font> |
|
261 |
</td> |
|
262 |
<td> |
|
263 |
<div name="file_perms_box" id="file_perms_box" style="margin: 0; padding: 0; display: <?php if(isset($_SESSION['operating_system']) AND $_SESSION['operating_system'] == 'windows') { echo 'none'; } else { echo 'block'; } ?>;"> |
|
264 |
<input type="checkbox" tabindex="6" name="world_writeable" id="world_writeable" value="true"<?php if(isset($_SESSION['world_writeable']) AND $_SESSION['world_writeable'] == true) { echo 'checked'; } ?> /> |
|
265 |
<label for="world_writeable"> |
|
266 |
World-writeable file permissions (777) |
|
267 |
</label> |
|
268 |
<br /> |
|
269 |
<font class="note">(Please note: this is only recommended for testing environments)</font> |
|
270 |
</div> |
|
271 |
</td> |
|
272 |
</tr> |
|
273 |
</table> |
|
274 |
<table cellpadding="5" cellspacing="0" width="100%" align="center"> |
|
275 |
<tr> |
|
276 |
<td colspan="5">Please enter your MySQL database server details below...</td> |
|
277 |
</tr> |
|
278 |
<tr> |
|
279 |
<td width="120" style="color: #666666;">Host Name:</td> |
|
280 |
<td width="230"> |
|
281 |
<input type="text" tabindex="7" name="database_host" style="width: 98%;" value="<?php if(isset($_SESSION['database_host'])) { echo $_SESSION['database_host']; } else { echo 'localhost'; } ?>" /> |
|
282 |
</td> |
|
283 |
<td width="7"> </td> |
|
284 |
<td width="70" style="color: #666666;">Username:</td> |
|
285 |
<td> |
|
286 |
<input type="text" tabindex="9" name="database_username" style="width: 98%;" value="<?php if(isset($_SESSION['database_username'])) { echo $_SESSION['database_username']; } else { echo 'root'; } ?>" /> |
|
287 |
</td> |
|
288 |
</tr> |
|
289 |
<tr> |
|
290 |
<td style="color: #666666;">Database Name:</td> |
|
291 |
<td> |
|
292 |
<input type="text" tabindex="8" name="database_name" style="width: 98%;" value="<?php if(isset($_SESSION['database_name'])) { echo $_SESSION['database_name']; } else { echo 'wb'; } ?>" /> |
|
293 |
</td> |
|
294 |
<td> </td> |
|
295 |
<td style="color: #666666;">Password:</td> |
|
296 |
<td> |
|
297 |
<input type="password" tabindex="10" name="database_password" style="width: 98%;"<?php if(isset($_SESSION['database_password'])) { echo ' value = "'.$_SESSION['database_password'].'"'; } ?> /> |
|
298 |
</td> |
|
299 |
</tr> |
|
300 |
<tr> |
|
301 |
<td style="color: #666666;">Table Prefix:</td> |
|
302 |
<td> |
|
303 |
<input type="text" tabindex="11" name="table_prefix" style="width: 250px;"<?php if(isset($_SESSION['table_prefix'])) { echo ' value = "'.$_SESSION['table_prefix'].'"'; } ?> /> |
|
304 |
</td> |
|
305 |
<td> </td> |
|
306 |
<td colspan="2"> |
|
307 |
<input type="checkbox" tabindex="12" name="install_tables" id="install_tables" value="true"<?php if(!isset($_SESSION['install_tables'])) { echo ' checked'; } elseif($_SESSION['install_tables'] == 'true') { echo ' checked'; } ?> /> |
|
308 |
<label for="install_tables" style="color: #666666;">Install Tables</label> |
|
309 |
<br /> |
|
310 |
<span style="font-size: 10px; color: #666666;">(Please note: May remove existing tables and data)</span></td> |
|
311 |
</td> |
|
312 |
</tr> |
|
313 |
<tr> |
|
314 |
<td colspan="5"><h1>Step 5</h1>Please enter your website title below...</td> |
|
315 |
</tr> |
|
316 |
<tr> |
|
317 |
<td style="color: #666666;" colspan="1">Website Title:</td> |
|
318 |
<td colspan="4"> |
|
319 |
<input type="text" tabindex="13" name="website_title" style="width: 99%;" value="<?php if(isset($_SESSION['website_title'])) { echo $_SESSION['website_title']; } ?>" /> |
|
320 |
</td> |
|
321 |
</tr> |
|
322 |
<tr> |
|
323 |
<td colspan="5"><h1>Step 6</h1>Please enter your Administrator account details below...</td> |
|
324 |
</tr> |
|
325 |
<tr> |
|
326 |
<td style="color: #666666;">Username:</td> |
|
327 |
<td> |
|
328 |
<input type="text" tabindex="14" name="admin_username" style="width: 98%;" value="<?php if(isset($_SESSION['admin_username'])) { echo $_SESSION['admin_username']; } else { echo 'admin'; } ?>" /> |
|
329 |
</td> |
|
330 |
<td> </td> |
|
331 |
<td style="color: #666666;">Password:</td> |
|
332 |
<td> |
|
333 |
<input type="password" tabindex="16" name="admin_password" style="width: 98%;"<?php if(isset($_SESSION['admin_password'])) { echo ' value = "'.$_SESSION['admin_password'].'"'; } ?> /> |
|
334 |
</td> |
|
335 |
</tr> |
|
336 |
<tr> |
|
337 |
<td style="color: #666666;">Email:</td> |
|
338 |
<td> |
|
339 |
<input type="text" tabindex="15" name="admin_email" style="width: 98%;"<?php if(isset($_SESSION['admin_email'])) { echo ' value = "'.$_SESSION['admin_email'].'"'; } ?> /> |
|
340 |
</td> |
|
341 |
<td> </td> |
|
342 |
<td style="color: #666666;">Re-Password:</td> |
|
343 |
<td> |
|
344 |
<input type="password" tabindex="17" name="admin_repassword" style="width: 98%;"<?php if(isset($_SESSION['admin_password'])) { echo ' value = "'.$_SESSION['admin_password'].'"'; } ?> /> |
|
345 |
</td> |
|
346 |
</tr> |
|
347 |
<tr> |
|
348 |
<td colspan="5"><h1>Step 7 (optional)</h1>Please specify options for outgoing mails below...</td> |
|
349 |
</tr> |
|
350 |
<tr> |
|
351 |
<td width="170"> |
|
352 |
Send outgoing mails via: |
|
353 |
</td> |
|
354 |
<td> |
|
355 |
<input type="radio" tabindex="18" name="outgoing_mails" id="outgoing_mails_php" onclick="document.getElementById('smtp_server').style.display = 'none';" value="php"<?php if(!isset($_SESSION['outgoing_mails']) OR $_SESSION['outgoing_mails'] == 'php') { echo ' checked'; } ?> /> |
|
356 |
<font style="cursor: pointer;" onclick="javascript: change_mail_type('php');">PHP mail()</font> |
|
357 |
<br /> |
|
358 |
<input type="radio" tabindex="19" name="outgoing_mails" id="outgoing_mails_smtp" onclick="document.getElementById('smtp_server').style.display = 'block';" value="smtp"<?php if(isset($_SESSION['outgoing_mails']) AND $_SESSION['outgoing_mails'] == 'smtp') { echo ' checked'; } ?> /> |
|
359 |
<font style="cursor: pointer;" onclick="javascript: change_mail_type('smtp');">SMTP</font> |
|
360 |
</td> |
|
361 |
<td id="caption_smtp_server" colspan="2" style="color: <?php if(!isset($_SESSION['outgoing_mails']) OR $_SESSION['outgoing_mails'] == 'php') { echo '#FFF'; } else { echo '#666'; } ?>;">SMTP host:</td> |
|
362 |
<td> |
|
363 |
<input type="text" tabindex="20" id="smtp_server" name="smtp_server" style="display: <?php if(!isset($_SESSION['outgoing_mails']) OR $_SESSION['outgoing_mails'] == 'php') { echo 'none'; } else { echo 'block'; } ?>;" value="<?php if(isset($_SESSION['smtp_server'])) { echo $_SESSION['smtp_server']; } else { echo 'mail.example.com'; } ?>" /> |
|
364 |
</td> |
|
365 |
</tr> |
|
366 |
<tr> |
|
367 |
<td colspan="5"> |
|
368 |
<div style="border: 1px solid #CCC; background-color: #EEE; padding: 5px;"> |
|
369 |
<strong> Please Note:</strong> |
|
370 |
<br \> |
|
371 |
Some service providers do not support sending mail via PHP. |
|
372 |
If your provider requires you to use SMTP for sending mail, you must know the SMTP host address. |
|
373 |
If you are not sure about these settings, or you do not know the SMTP host of your domain, use the default "PHP mail()" setting. |
|
374 |
You can change the settings later if needed. |
|
375 |
</div> |
|
376 |
</td> |
|
377 |
</tr> |
|
378 |
<tr> |
|
379 |
<td colspan="5" style="padding: 10px; padding-bottom: 0;"><h1 style="font-size: 0px;"> </h1></td> |
|
380 |
</tr> |
|
381 |
<tr> |
|
382 |
<td colspan="4"> |
|
383 |
<table cellpadding="0" cellspacing="0" width="100%" border="0"> |
|
384 |
<tr valign="top"> |
|
385 |
<td>Please note: </td> |
|
386 |
<td> |
|
387 |
Website Baker is released under the |
|
388 |
<a href="http://www.gnu.org/licenses/gpl.html" target="_blank" tabindex="19">GNU General Public License</a> |
|
389 |
<br /> |
|
390 |
By clicking install, you are accepting the license. |
|
391 |
</td> |
|
392 |
</tr> |
|
393 |
</table> |
|
394 |
</td> |
|
395 |
<td colspan="1" align="right"> |
|
396 |
<input type="submit" tabindex="20" name="submit" value="Install Website Baker" class="submit" /> |
|
397 |
</td> |
|
398 |
</tr> |
|
399 |
</table> |
|
400 |
|
|
401 |
</td> |
|
402 |
</tr> |
|
403 |
</table> |
|
404 |
|
|
405 |
</form> |
|
406 |
|
|
407 |
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;"> |
|
408 |
<tr> |
|
409 |
<td align="center" style="font-size: 10px;"> |
|
410 |
<!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
|
411 |
<a href="http://www.websitebaker.org/" style="color: #000000;" target="_blank">Website Baker</a> |
|
412 |
is released under the |
|
413 |
<a href="http://www.gnu.org/licenses/gpl.html" style="color: #000000;" target="_blank">GNU General Public License</a> |
|
414 |
<!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. --> |
|
415 |
</td> |
|
416 |
</tr> |
|
417 |
</table> |
|
418 |
|
|
419 |
</body> |
|
375 | 420 |
</html> |
trunk/wb/languages/EN.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2007, 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 |
// Define that this file is loaded |
|
27 |
if(!defined('LANGUAGE_LOADED')) { |
|
28 |
define('LANGUAGE_LOADED', true); |
|
29 |
} |
|
30 |
|
|
31 |
// Set the language information |
|
32 |
$language_code = 'EN'; |
|
33 |
$language_name = 'English'; |
|
34 |
$language_version = '2.7'; |
|
35 |
$language_platform = '2.7.x'; |
|
36 |
$language_author = 'Ryan Djurovich, Christian Sommer'; |
|
37 |
$language_license = 'GNU General Public License'; |
|
38 |
|
|
39 |
// Menu titles |
|
40 |
$MENU['START'] = 'Start'; |
|
41 |
$MENU['PAGES'] = 'Pages'; |
|
42 |
$MENU['MEDIA'] = 'Media'; |
|
43 |
$MENU['ADDONS'] = 'Add-ons'; |
|
44 |
$MENU['MODULES'] = 'Modules'; |
|
45 |
$MENU['TEMPLATES'] = 'Templates'; |
|
46 |
$MENU['LANGUAGES'] = 'Languages'; |
|
47 |
$MENU['PREFERENCES'] = 'Preferences'; |
|
48 |
$MENU['SETTINGS'] = 'Settings'; |
|
49 |
$MENU['ACCESS'] = 'Access'; |
|
50 |
$MENU['USERS'] = 'Users'; |
|
51 |
$MENU['GROUPS'] = 'Groups'; |
|
52 |
$MENU['HELP'] = 'Help'; |
|
53 |
$MENU['VIEW'] = 'View'; |
|
54 |
$MENU['LOGOUT'] = 'Log-out'; |
|
55 |
$MENU['LOGIN'] = 'Login'; |
|
56 |
$MENU['FORGOT'] = 'Retrieve Login Details'; |
|
57 |
|
|
58 |
// Section overviews |
|
59 |
$OVERVIEW['START'] = 'Administration overview'; |
|
60 |
$OVERVIEW['PAGES'] = 'Manage your websites pages...'; |
|
61 |
$OVERVIEW['MEDIA'] = 'Manage files stored in the media folder...'; |
|
62 |
$OVERVIEW['MODULES'] = 'Manage Website Baker modules...'; |
|
63 |
$OVERVIEW['TEMPLATES'] = 'Change the look and feel of your website with templates...'; |
|
64 |
$OVERVIEW['LANGUAGES'] = 'Manage Website Baker languages...'; |
|
65 |
$OVERVIEW['PREFERENCES'] = 'Change preferences such as email address, password, etc... '; |
|
66 |
$OVERVIEW['SETTINGS'] = 'Changes settings for Website Baker...'; |
|
67 |
$OVERVIEW['USERS'] = 'Manage users who can log-in to Website Baker...'; |
|
68 |
$OVERVIEW['GROUPS'] = 'Manage user groups and their system permissions...'; |
|
69 |
$OVERVIEW['HELP'] = 'Got a questions? Find your answer...'; |
|
70 |
$OVERVIEW['VIEW'] = 'Quickly view and browse your website in a new window...'; |
|
71 |
|
|
72 |
// Headings |
|
73 |
$HEADING['MODIFY_DELETE_PAGE'] = 'Modify/Delete Page'; |
|
74 |
$HEADING['DELETED_PAGES'] = 'Deleted Pages'; |
|
75 |
$HEADING['ADD_PAGE'] = 'Add Page'; |
|
76 |
$HEADING['ADD_HEADING'] = 'Add Heading'; |
|
77 |
$HEADING['MODIFY_PAGE'] = 'Modify Page'; |
|
78 |
$HEADING['MODIFY_PAGE_SETTINGS'] = 'Modify Page Settings'; |
|
79 |
$HEADING['MODIFY_ADVANCED_PAGE_SETTINGS'] = 'Modify Advanced Page Settings'; |
|
80 |
$HEADING['MANAGE_SECTIONS'] = 'Manage Sections'; |
|
81 |
$HEADING['MODIFY_INTRO_PAGE'] = 'Modify Intro Page'; |
|
82 |
|
|
83 |
$HEADING['BROWSE_MEDIA'] = 'Browse Media'; |
|
84 |
$HEADING['CREATE_FOLDER'] = 'Create Folder'; |
|
85 |
$HEADING['UPLOAD_FILES'] = 'Upload File(s)'; |
|
86 |
|
|
87 |
$HEADING['INSTALL_MODULE'] = 'Install Module'; |
|
88 |
$HEADING['UNINSTALL_MODULE'] = 'Uninstall Module'; |
|
89 |
$HEADING['MODULE_DETAILS'] = 'Module Details'; |
|
90 |
|
|
91 |
$HEADING['INSTALL_TEMPLATE'] = 'Install Template'; |
|
92 |
$HEADING['UNINSTALL_TEMPLATE'] = 'Uninstall Template'; |
|
93 |
$HEADING['TEMPLATE_DETAILS'] = 'Template Details'; |
|
94 |
|
|
95 |
$HEADING['INSTALL_LANGUAGE'] = 'Install Language'; |
|
96 |
$HEADING['UNINSTALL_LANGUAGE'] = 'Uninstall Language'; |
|
97 |
$HEADING['LANGUAGE_DETAILS'] = 'Language Details'; |
|
98 |
|
|
99 |
$HEADING['MY_SETTINGS'] = 'My Settings'; |
|
100 |
$HEADING['MY_EMAIL'] = 'My Email'; |
|
101 |
$HEADING['MY_PASSWORD'] = 'My Password'; |
|
102 |
|
|
103 |
$HEADING['GENERAL_SETTINGS'] = 'General Settings'; |
|
104 |
$HEADING['DEFAULT_SETTINGS'] = 'Default Settings'; |
|
105 |
$HEADING['SEARCH_SETTINGS'] = 'Search Settings'; |
|
106 |
$HEADING['FILESYSTEM_SETTINGS'] = 'Filesystem Settings'; |
|
107 |
$HEADING['SERVER_SETTINGS'] = 'Server Settings'; |
|
108 |
$HEADING['WBMAILER_SETTINGS'] = 'Mailer Settings'; |
|
109 |
$HEADING['ADMINISTRATION_TOOLS'] = 'Administration Tools'; |
|
110 |
|
|
111 |
$HEADING['MODIFY_DELETE_USER'] = 'Modify/Delete User'; |
|
112 |
$HEADING['ADD_USER'] = 'Add User'; |
|
113 |
$HEADING['MODIFY_USER'] = 'Modify User'; |
|
114 |
|
|
115 |
$HEADING['MODIFY_DELETE_GROUP'] = 'Modify/Delete Group'; |
|
116 |
$HEADING['ADD_GROUP'] = 'Add Group'; |
|
117 |
$HEADING['MODIFY_GROUP'] = 'Modify Group'; |
|
118 |
|
|
119 |
// Other text |
|
120 |
$TEXT['ADD'] = 'Add'; |
|
121 |
$TEXT['MODIFY'] = 'Modify'; |
|
122 |
$TEXT['SETTINGS'] = 'Settings'; |
|
123 |
$TEXT['DELETE'] = 'Delete'; |
|
124 |
$TEXT['SAVE'] = 'Save'; |
|
125 |
$TEXT['RESET'] = 'Reset'; |
|
126 |
$TEXT['LOGIN'] = 'Login'; |
|
127 |
$TEXT['RELOAD'] = 'Reload'; |
|
128 |
$TEXT['CANCEL'] = 'Cancel'; |
|
129 |
$TEXT['NAME'] = 'Name'; |
|
130 |
$TEXT['PLEASE_SELECT'] = 'Please select'; |
|
131 |
$TEXT['TITLE'] = 'Title'; |
|
132 |
$TEXT['PARENT'] = 'Parent'; |
|
133 |
$TEXT['TYPE'] = 'Type'; |
|
134 |
$TEXT['VISIBILITY'] = 'Visibility'; |
|
135 |
$TEXT['PRIVATE'] = 'Private'; |
|
136 |
$TEXT['PUBLIC'] = 'Public'; |
|
137 |
$TEXT['NONE'] = 'None'; |
|
138 |
$TEXT['NONE_FOUND'] = 'None Found'; |
|
139 |
$TEXT['CURRENT'] = 'Current'; |
|
140 |
$TEXT['CHANGE'] = 'Change'; |
|
141 |
$TEXT['WINDOW'] = 'Window'; |
|
142 |
$TEXT['DESCRIPTION'] = 'Description'; |
|
143 |
$TEXT['KEYWORDS'] = 'Keywords'; |
|
144 |
$TEXT['ADMINISTRATORS'] = 'Administrators'; |
|
145 |
$TEXT['PRIVATE_VIEWERS'] = 'Private Viewers'; |
|
146 |
$TEXT['EXPAND'] = 'Expand'; |
|
147 |
$TEXT['COLLAPSE'] = 'Collapse'; |
|
148 |
$TEXT['MOVE_UP'] = 'Move Up'; |
|
149 |
$TEXT['MOVE_DOWN'] = 'Move Down'; |
|
150 |
$TEXT['RENAME'] = 'Rename'; |
|
151 |
$TEXT['MODIFY_SETTINGS'] = 'Modify Settings'; |
|
152 |
$TEXT['MODIFY_CONTENT'] = 'Modify Content'; |
|
153 |
$TEXT['VIEW'] = 'View'; |
|
154 |
$TEXT['UP'] = 'Up'; |
|
155 |
$TEXT['FORGOTTEN_DETAILS'] = 'Forgotten your details?'; |
|
156 |
$TEXT['NEED_TO_LOGIN'] = 'Need to log-in?'; |
|
157 |
$TEXT['SEND_DETAILS'] = 'Send Details'; |
|
158 |
$TEXT['USERNAME'] = 'Username'; |
|
159 |
$TEXT['PASSWORD'] = 'Password'; |
|
160 |
$TEXT['HOME'] = 'Home'; |
|
161 |
$TEXT['TARGET_FOLDER'] = 'Target folder'; |
|
162 |
$TEXT['OVERWRITE_EXISTING'] = 'Overwrite existing'; |
|
163 |
$TEXT['FILE'] = 'File'; |
|
164 |
$TEXT['FILES'] = 'Files'; |
|
165 |
$TEXT['FOLDER'] = 'Folder'; |
|
166 |
$TEXT['FOLDERS'] = 'Folders'; |
|
167 |
$TEXT['CREATE_FOLDER'] = 'Create Folder'; |
|
168 |
$TEXT['UPLOAD_FILES'] = 'Upload File(s)'; |
|
169 |
$TEXT['CURRENT_FOLDER'] = 'Current Folder'; |
|
170 |
$TEXT['TO'] = 'To'; |
|
171 |
$TEXT['FROM'] = 'From'; |
|
172 |
$TEXT['INSTALL'] = 'Install'; |
|
173 |
$TEXT['UNINSTALL'] = 'Uninstall'; |
|
174 |
$TEXT['VIEW_DETAILS'] = 'View Details'; |
|
175 |
$TEXT['DISPLAY_NAME'] = 'Display Name'; |
|
176 |
$TEXT['AUTHOR'] = 'Author'; |
|
177 |
$TEXT['VERSION'] = 'Version'; |
|
178 |
$TEXT['DESIGNED_FOR'] = 'Designed For'; |
|
179 |
$TEXT['DESCRIPTION'] = 'Description'; |
|
180 |
$TEXT['EMAIL'] = 'Email'; |
|
181 |
$TEXT['LANGUAGE'] = 'Language'; |
|
182 |
$TEXT['TIMEZONE'] = 'Timezone'; |
|
183 |
$TEXT['CURRENT_PASSWORD'] = 'Current Password'; |
|
184 |
$TEXT['NEW_PASSWORD'] = 'New Password'; |
|
185 |
$TEXT['RETYPE_NEW_PASSWORD'] = 'Re-type New Password'; |
|
186 |
$TEXT['ACTIVE'] = 'Active'; |
|
187 |
$TEXT['DISABLED'] = 'Disabled'; |
|
188 |
$TEXT['ENABLED'] = 'Enabled'; |
|
189 |
$TEXT['RETYPE_PASSWORD'] = 'Re-type Password'; |
|
190 |
$TEXT['GROUP'] = 'Group'; |
|
191 |
$TEXT['SYSTEM_PERMISSIONS'] = 'System Permissions'; |
|
192 |
$TEXT['MODULE_PERMISSIONS'] = 'Module Permissions'; |
|
193 |
$TEXT['SHOW_ADVANCED'] = 'Show Advanced Options'; |
|
194 |
$TEXT['HIDE_ADVANCED'] = 'Hide Advanced Options'; |
|
195 |
$TEXT['BASIC'] = 'Basic'; |
|
196 |
$TEXT['ADVANCED'] = 'Advanced'; |
|
197 |
$TEXT['WEBSITE'] = 'Website'; |
|
198 |
$TEXT['DEFAULT'] = 'Default'; |
|
199 |
$TEXT['KEYWORDS'] = 'Keywords'; |
|
200 |
$TEXT['TEXT'] = 'Text'; |
|
201 |
$TEXT['HEADER'] = 'Header'; |
|
202 |
$TEXT['FOOTER'] = 'Footer'; |
|
203 |
$TEXT['TEMPLATE'] = 'Template'; |
|
204 |
$TEXT['INSTALLATION'] = 'Installation'; |
|
205 |
$TEXT['DATABASE'] = 'Database'; |
|
206 |
$TEXT['HOST'] = 'Host'; |
|
207 |
$TEXT['INTRO'] = 'Intro'; |
|
208 |
$TEXT['PAGE'] = 'Page'; |
|
209 |
$TEXT['SIGNUP'] = 'Sign-up'; |
|
210 |
$TEXT['PHP_ERROR_LEVEL'] = 'PHP Error Reporting Level'; |
|
211 |
$TEXT['ADMIN'] = 'Admin'; |
|
212 |
$TEXT['PATH'] = 'Path'; |
|
213 |
$TEXT['URL'] = 'URL'; |
|
214 |
$TEXT['FRONTEND'] = 'Front-end'; |
|
215 |
$TEXT['EXTENSION'] = 'Extension'; |
|
216 |
$TEXT['TABLE_PREFIX'] = 'Table Prefix'; |
|
217 |
$TEXT['CHANGES'] = 'Changes'; |
|
218 |
$TEXT['ADMINISTRATION'] = 'Administration'; |
|
219 |
$TEXT['FORGOT_DETAILS'] = 'Forgot Details?'; |
|
220 |
$TEXT['LOGGED_IN'] = 'Logged-In'; |
|
221 |
$TEXT['WELCOME_BACK'] = 'Welcome back'; |
|
222 |
$TEXT['FULL_NAME'] = 'Full Name'; |
|
223 |
$TEXT['ACCOUNT_SIGNUP'] = 'Account Sign-Up'; |
|
224 |
$TEXT['LINK'] = 'Link'; |
|
225 |
$TEXT['TARGET'] = 'Target'; |
|
226 |
$TEXT['NEW_WINDOW'] = 'New Window'; |
|
227 |
$TEXT['SAME_WINDOW'] = 'Same Window'; |
|
228 |
$TEXT['TOP_FRAME'] = 'Top Frame'; |
|
229 |
$TEXT['PAGE_LEVEL_LIMIT'] = 'Page Level Limit'; |
|
230 |
$TEXT['SUCCESS'] = 'Success'; |
|
231 |
$TEXT['ERROR'] = 'Error'; |
|
232 |
$TEXT['ARE_YOU_SURE'] = 'Are you sure?'; |
|
233 |
$TEXT['YES'] = 'Yes'; |
|
234 |
$TEXT['NO'] = 'No'; |
|
235 |
$TEXT['SYSTEM_DEFAULT'] = 'System Default'; |
|
236 |
$TEXT['PAGE_TITLE'] = 'Page Title'; |
|
237 |
$TEXT['MENU_TITLE'] = 'Menu Title'; |
|
238 |
$TEXT['ACTIONS'] = 'Actions'; |
|
239 |
$TEXT['UNKNOWN'] = 'Unknown'; |
|
240 |
$TEXT['BLOCK'] = 'Block'; |
|
241 |
$TEXT['SEARCH'] = 'Search'; |
|
242 |
$TEXT['SEARCHING'] = 'Searching'; |
|
243 |
$TEXT['POST'] = 'Post'; |
|
244 |
$TEXT['COMMENT'] = 'Comment'; |
|
245 |
$TEXT['COMMENTS'] = 'Comments'; |
|
246 |
$TEXT['COMMENTING'] = 'Commenting'; |
|
247 |
$TEXT['SHORT'] = 'Short'; |
|
248 |
$TEXT['LONG'] = 'Long'; |
|
249 |
$TEXT['LOOP'] = 'Loop'; |
|
250 |
$TEXT['FIELD'] = 'Field'; |
|
251 |
$TEXT['REQUIRED'] = 'Required'; |
|
252 |
$TEXT['LENGTH'] = 'Length'; |
|
253 |
$TEXT['MESSAGE'] = 'Message'; |
|
254 |
$TEXT['SUBJECT'] = 'Subject'; |
|
255 |
$TEXT['MATCH'] = 'Match'; |
|
256 |
$TEXT['ALL_WORDS'] = 'All Words'; |
|
257 |
$TEXT['ANY_WORDS'] = 'Any Words'; |
|
258 |
$TEXT['EXACT_MATCH'] = 'Exact Match'; |
|
259 |
$TEXT['SHOW'] = 'Show'; |
|
260 |
$TEXT['HIDE'] = 'Hide'; |
|
261 |
$TEXT['START_PUBLISHING'] = 'Start Publishing'; |
|
262 |
$TEXT['FINISH_PUBLISHING'] = 'Finish Publishing'; |
|
263 |
$TEXT['DATE'] = 'Date'; |
|
264 |
$TEXT['START'] = 'Start'; |
|
265 |
$TEXT['END'] = 'End'; |
|
266 |
$TEXT['IMAGE'] = 'Image'; |
|
267 |
$TEXT['ICON'] = 'Icon'; |
|
268 |
$TEXT['SECTION'] = 'Section'; |
|
269 |
$TEXT['DATE_FORMAT'] = 'Date Format'; |
|
270 |
$TEXT['TIME_FORMAT'] = 'Time Format'; |
|
271 |
$TEXT['RESULTS'] = 'Results'; |
|
272 |
$TEXT['RESIZE'] = 'Re-size'; |
|
273 |
$TEXT['MANAGE'] = 'Manage'; |
|
274 |
$TEXT['CODE'] = 'Code'; |
|
275 |
$TEXT['WIDTH'] = 'Width'; |
|
276 |
$TEXT['HEIGHT'] = 'Height'; |
|
277 |
$TEXT['MORE'] = 'More'; |
|
278 |
$TEXT['READ_MORE'] = 'Read More'; |
|
279 |
$TEXT['CHANGE_SETTINGS'] = 'Change Settings'; |
|
280 |
$TEXT['CURRENT_PAGE'] = 'Current Page'; |
|
281 |
$TEXT['CLOSE'] = 'Close'; |
|
282 |
$TEXT['INTRO_PAGE'] = 'Intro Page'; |
|
283 |
$TEXT['INSTALLATION_URL'] = 'Installation URL'; |
|
284 |
$TEXT['INSTALLATION_PATH'] = 'Installation Path'; |
|
285 |
$TEXT['PAGE_EXTENSION'] = 'Page Extension'; |
|
286 |
$TEXT['NO_RESULTS'] = 'No Results'; |
|
287 |
$TEXT['WEBSITE_TITLE'] = 'Website Title'; |
|
288 |
$TEXT['WEBSITE_DESCRIPTION'] = 'Website Description'; |
|
289 |
$TEXT['WEBSITE_KEYWORDS'] = 'Website Keywords'; |
|
290 |
$TEXT['WEBSITE_HEADER'] = 'Website Header'; |
|
291 |
$TEXT['WEBSITE_FOOTER'] = 'Website Footer'; |
|
292 |
$TEXT['RESULTS_HEADER'] = 'Results Header'; |
|
293 |
$TEXT['RESULTS_LOOP'] = 'Results Loop'; |
|
294 |
$TEXT['RESULTS_FOOTER'] = 'Results Footer'; |
|
295 |
$TEXT['LEVEL'] = 'Level'; |
|
296 |
$TEXT['NOT_FOUND'] = 'Not Found'; |
|
297 |
$TEXT['PAGE_SPACER'] = 'Page Spacer'; |
|
298 |
$TEXT['MATCHING'] = 'Matching'; |
|
299 |
$TEXT['TEMPLATE_PERMISSIONS'] = 'Template Permissions'; |
|
300 |
$TEXT['PAGES_DIRECTORY'] = 'Pages Directory'; |
|
301 |
$TEXT['MEDIA_DIRECTORY'] = 'Media Directory'; |
|
302 |
$TEXT['FILE_MODE'] = 'File Mode'; |
|
303 |
$TEXT['USER'] = 'User'; |
|
304 |
$TEXT['OTHERS'] = 'Others'; |
|
305 |
$TEXT['READ'] = 'Read'; |
|
306 |
$TEXT['WRITE'] = 'Write'; |
|
307 |
$TEXT['EXECUTE'] = 'Execute'; |
|
308 |
$TEXT['SMART_LOGIN'] = 'Smart Login'; |
|
309 |
$TEXT['REMEMBER_ME'] = 'Remember Me'; |
|
310 |
$TEXT['FILESYSTEM_PERMISSIONS'] = 'Filesystem Permissions'; |
|
311 |
$TEXT['DIRECTORIES'] = 'Directories'; |
|
312 |
$TEXT['DIRECTORY_MODE'] = 'Directory Mode'; |
|
313 |
$TEXT['LIST_OPTIONS'] = 'List Options'; |
|
314 |
$TEXT['OPTION'] = 'Option'; |
|
315 |
$TEXT['ALLOW_MULTIPLE_SELECTIONS'] = 'Allow Multiple Selections'; |
|
316 |
$TEXT['TEXTFIELD'] = 'Textfield'; |
|
317 |
$TEXT['TEXTAREA'] = 'Textarea'; |
|
318 |
$TEXT['SELECT_BOX'] = 'Select Box'; |
|
319 |
$TEXT['CHECKBOX_GROUP'] = 'Checkbox Group'; |
|
320 |
$TEXT['RADIO_BUTTON_GROUP'] = 'Radio Button Group'; |
|
321 |
$TEXT['SIZE'] = 'Size'; |
|
322 |
$TEXT['DEFAULT_TEXT'] = 'Default Text'; |
|
323 |
$TEXT['SEPERATOR'] = 'Separator'; |
|
324 |
$TEXT['BACK'] = 'Back'; |
|
325 |
$TEXT['UNDER_CONSTRUCTION'] = 'Under Construction'; |
|
326 |
$TEXT['MULTISELECT'] = 'Multi-select'; |
|
327 |
$TEXT['SHORT_TEXT'] = 'Short Text'; |
|
328 |
$TEXT['LONG_TEXT'] = 'Long Text'; |
|
329 |
$TEXT['HOMEPAGE_REDIRECTION'] = 'Homepage Redirection'; |
|
330 |
$TEXT['HEADING'] = 'Heading'; |
|
331 |
$TEXT['MULTIPLE_MENUS'] = 'Multiple Menus'; |
|
332 |
$TEXT['REGISTERED'] = 'Registered'; |
|
333 |
$TEXT['START'] = 'Start'; |
|
334 |
$TEXT['SECTION_BLOCKS'] = 'Section Blocks'; |
|
335 |
$TEXT['REGISTERED_VIEWERS'] = 'Registered Viewers'; |
|
336 |
$TEXT['ALLOWED_VIEWERS'] = 'Allowed Viewers'; |
|
337 |
$TEXT['SUBMISSION_ID'] = 'Submission ID'; |
|
338 |
$TEXT['SUBMISSIONS'] = 'Submissions'; |
|
339 |
$TEXT['SUBMITTED'] = 'Submitted'; |
|
340 |
$TEXT['MAX_SUBMISSIONS_PER_HOUR'] = 'Max. Submissions Per Hour'; |
|
341 |
$TEXT['SUBMISSIONS_STORED_IN_DATABASE'] = 'Submissions Stored In Database'; |
|
342 |
$TEXT['EMAIL_ADDRESS'] = 'Email Address'; |
|
343 |
$TEXT['CUSTOM'] = 'Custom'; |
|
344 |
$TEXT['ANONYMOUS'] = 'Anonymous'; |
|
345 |
$TEXT['SERVER_OPERATING_SYSTEM'] = 'Server Operating System'; |
|
346 |
$TEXT['WORLD_WRITEABLE_FILE_PERMISSIONS'] = 'World-writeable file permissions'; |
|
347 |
$TEXT['LINUX_UNIX_BASED'] = 'Linux/Unix based'; |
|
348 |
$TEXT['WINDOWS'] = 'Windows'; |
|
349 |
$TEXT['HOME_FOLDER'] = 'Home Folder'; |
|
350 |
$TEXT['HOME_FOLDERS'] = 'Home Folders'; |
|
351 |
$TEXT['PAGE_TRASH'] = 'Page Trash'; |
|
352 |
$TEXT['INLINE'] = 'In-line'; |
|
353 |
$TEXT['SEPARATE'] = 'Separate'; |
|
354 |
$TEXT['DELETED'] = 'Deleted'; |
|
355 |
$TEXT['VIEW_DELETED_PAGES'] = 'View Deleted Pages'; |
|
356 |
$TEXT['EMPTY_TRASH'] = 'Empty Trash'; |
|
357 |
$TEXT['TRASH_EMPTIED'] = 'Trash Emptied'; |
|
358 |
$TEXT['ADD_SECTION'] = 'Add Section'; |
|
359 |
$TEXT['POST_HEADER'] = 'Post Header'; |
|
360 |
$TEXT['POST_FOOTER'] = 'Post Footer'; |
|
361 |
$TEXT['POSTS_PER_PAGE'] = 'Posts Per Page'; |
|
362 |
$TEXT['RESIZE_IMAGE_TO'] = 'Resize Image To'; |
|
363 |
$TEXT['UNLIMITED'] = 'Unlimited'; |
|
364 |
$TEXT['OF'] = 'Of'; |
|
365 |
$TEXT['OUT_OF'] = 'Out Of'; |
|
366 |
$TEXT['NEXT'] = 'Next'; |
|
367 |
$TEXT['PREVIOUS'] = 'Previous'; |
|
368 |
$TEXT['NEXT_PAGE'] = 'Next Page'; |
|
369 |
$TEXT['PREVIOUS_PAGE'] = 'Previous Page'; |
|
370 |
$TEXT['ON'] = 'On'; |
|
371 |
$TEXT['LAST_UPDATED_BY'] = 'Last Updated By'; |
|
372 |
$TEXT['RESULTS_FOR'] = 'Results For'; |
|
373 |
$TEXT['TIME'] = 'Time'; |
|
374 |
$TEXT['WYSIWYG_STYLE'] = 'WYSIWYG Style'; |
|
375 |
$TEXT['WYSIWYG_EDITOR'] = "WYSIWYG Editor"; |
|
376 |
$TEXT['SERVER_EMAIL'] = 'Server Email'; |
|
377 |
$TEXT['MENU'] = 'Menu'; |
|
378 |
$TEXT['MANAGE_GROUPS'] = 'Manage Groups'; |
|
379 |
$TEXT['MANAGE_USERS'] = 'Manage Users'; |
|
380 |
$TEXT['PAGE_LANGUAGES'] = 'Page Languages'; |
|
381 |
$TEXT['HIDDEN'] = 'Hidden'; |
|
382 |
$TEXT['MAIN'] = 'Main'; |
|
383 |
$TEXT['RENAME_FILES_ON_UPLOAD'] = 'Rename Files On Upload'; |
|
384 |
$TEXT['APP_NAME'] = 'Application Name'; |
|
385 |
$TEXT['SESSION_IDENTIFIER'] = 'Session Identifier'; |
|
386 |
$TEXT['BACKUP'] = 'Backup'; |
|
387 |
$TEXT['RESTORE'] = 'Restore'; |
|
388 |
$TEXT['BACKUP_DATABASE'] = 'Backup Database'; |
|
389 |
$TEXT['RESTORE_DATABASE'] = 'Restore Database'; |
|
390 |
$TEXT['BACKUP_ALL_TABLES'] = 'Backup all tables in database'; |
|
391 |
$TEXT['BACKUP_WB_SPECIFIC'] = 'Backup only WB-specific tables'; |
|
392 |
$TEXT['BACKUP_MEDIA'] = 'Backup Media'; |
|
393 |
$TEXT['RESTORE_MEDIA'] = 'Restore Media'; |
|
394 |
$TEXT['ADMINISTRATION_TOOL'] = 'Administration tool'; |
|
395 |
$TEXT['CAPTCHA_VERIFICATION'] = 'Captcha Verification'; |
|
396 |
$TEXT['VERIFICATION'] = 'Verification'; |
|
397 |
$TEXT['DEFAULT_CHARSET'] = 'Default Charset'; |
|
398 |
$TEXT['CHARSET'] = 'Charset'; |
|
399 |
$TEXT['WBMAILER_NOTICE'] = 'Some service providers do not support sending mail via PHP. If your provider requires you to use SMTP for sending mail, you must know the SMTP host address. If you are not sure about these settings, or you do not know the SMTP host of your domain, use the default "PHP mail()" setting. You can change the settings later if needed.'; |
|
400 |
$TEXT['WBMAILER_FUNCTION'] = 'Mail routine'; |
|
401 |
$TEXT['WBMAILER_SMTP_HOST'] = 'SMTP host'; |
|
402 |
$TEXT['WBMAILER_PHP'] = 'PHP MAIL'; |
|
403 |
$TEXT['WBMAILER_SMTP'] = 'SMTP'; |
|
404 |
$TEXT['WBMAILER_SMTP_AUTH'] = 'SMTP authentification'; |
|
405 |
$TEXT['WBMAILER_SMTP_AUTH_NOTICE'] = 'only activate if your SMTP host requires authentification'; |
|
406 |
$TEXT['WBMAILER_SMTP_USERNAME'] = 'SMTP username'; |
|
407 |
$TEXT['WBMAILER_SMTP_PASSWORD'] = 'SMTP password'; |
|
408 |
|
|
409 |
// Success/error messages |
|
410 |
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sorry, you do not have permissions to view this page'; |
|
411 |
|
|
412 |
$MESSAGE['ADMIN']['INSUFFICIENT_PRIVELLIGES'] = 'Insufficient privelliges to be here'; |
|
413 |
|
|
414 |
$MESSAGE['LOGIN']['BOTH_BLANK'] = 'Please enter your username and password below'; |
|
415 |
$MESSAGE['LOGIN']['USERNAME_BLANK'] = 'Please enter a username'; |
|
416 |
$MESSAGE['LOGIN']['PASSWORD_BLANK'] = 'Please enter a password'; |
|
417 |
$MESSAGE['LOGIN']['USERNAME_TOO_SHORT'] = 'Supplied username to short'; |
|
418 |
$MESSAGE['LOGIN']['PASSWORD_TOO_SHORT'] = 'Supplied password to short'; |
|
419 |
$MESSAGE['LOGIN']['USERNAME_TOO_LONG'] = 'Supplied username to long'; |
|
420 |
$MESSAGE['LOGIN']['PASSWORD_TOO_LONG'] = 'Supplied password to long'; |
|
421 |
$MESSAGE['LOGIN']['AUTHENTICATION_FAILED'] = 'Username or password incorrect'; |
|
422 |
|
|
423 |
$MESSAGE['SIGNUP']['NO_EMAIL'] = 'You must enter an email address'; |
|
424 |
|
|
425 |
$MESSAGE['FORGOT_PASS']['NO_DATA'] = 'Please enter your email address below'; |
|
426 |
$MESSAGE['FORGOT_PASS']['EMAIL_NOT_FOUND'] = 'The email that you entered cannot be found in the database'; |
|
427 |
$MESSAGE['FORGOT_PASS']['CANNOT_EMAIL'] = 'Unable to email password, please contact system administrator'; |
|
428 |
$MESSAGE['FORGOT_PASS']['PASSWORD_RESET'] = 'Your username and password have been sent to your email address'; |
|
429 |
$MESSAGE['FORGOT_PASS']['ALREADY_RESET'] = 'Password cannot be reset more than once per hour, sorry'; |
|
430 |
|
|
431 |
$MESSAGE['START']['WELCOME_MESSAGE'] = 'Welcome to Website Baker Administration'; |
|
432 |
$MESSAGE['START']['INSTALL_DIR_EXISTS'] = 'Warning, Installation Directory Still Exists!'; |
|
433 |
$MESSAGE['START']['CURRENT_USER'] = 'You are currently logged in as:'; |
|
434 |
|
|
435 |
$MESSAGE['SETTINGS']['UNABLE_OPEN_CONFIG'] = 'Unable to open the configuration file'; |
|
436 |
$MESSAGE['SETTINGS']['UNABLE_WRITE_CONFIG'] = 'Cannot write to configuration file'; |
|
437 |
$MESSAGE['SETTINGS']['SAVED'] = 'Settings saved successfully'; |
|
438 |
$MESSAGE['SETTINGS']['MODE_SWITCH_WARNING'] = 'Please Note: Pressing this button resets all unsaved changes'; |
|
439 |
$MESSAGE['SETTINGS']['WORLD_WRITEABLE_WARNING'] = 'Please note: this is only recommended for testing environments'; |
|
440 |
|
|
441 |
$MESSAGE['USERS']['ADDED'] = 'User added successfully'; |
|
442 |
$MESSAGE['USERS']['SAVED'] = 'User saved successfully'; |
|
443 |
$MESSAGE['USERS']['DELETED'] = 'User deleted successfully'; |
|
444 |
$MESSAGE['USERS']['NO_GROUP'] = 'No group was selected'; |
|
445 |
$MESSAGE['USERS']['USERNAME_TOO_SHORT'] = 'The username you entered was too short'; |
|
446 |
$MESSAGE['USERS']['PASSWORD_TOO_SHORT'] = 'The password you entered was too short'; |
|
447 |
$MESSAGE['USERS']['PASSWORD_MISMATCH'] = 'The passwords you entered do not match'; |
|
448 |
$MESSAGE['USERS']['INVALID_EMAIL'] = 'The email address you entered is invalid'; |
|
449 |
$MESSAGE['USERS']['EMAIL_TAKEN'] = 'The email you entered is already in use'; |
|
450 |
$MESSAGE['USERS']['USERNAME_TAKEN'] = 'The username you entered is already taken'; |
|
451 |
$MESSAGE['USERS']['CHANGING_PASSWORD'] = 'Please note: You should only enter values in the above fields if you wish to change this users password'; |
|
452 |
$MESSAGE['USERS']['CONFIRM_DELETE'] = 'Are you sure you want to delete the selected user?'; |
|
453 |
|
|
454 |
$MESSAGE['GROUPS']['ADDED'] = 'Group added successfully'; |
|
455 |
$MESSAGE['GROUPS']['SAVED'] = 'Group saved successfully'; |
|
456 |
$MESSAGE['GROUPS']['DELETED'] = 'Group deleted successfully'; |
|
457 |
$MESSAGE['GROUPS']['GROUP_NAME_BLANK'] = 'Group name is blank'; |
|
458 |
$MESSAGE['GROUPS']['CONFIRM_DELETE'] = 'Are you sure you want to delete the selected group (and any users that belong to it)?'; |
|
459 |
$MESSAGE['GROUPS']['NO_GROUPS_FOUND'] = 'No groups found'; |
|
460 |
$MESSAGE['GROUPS']['GROUP_NAME_EXISTS'] = 'Group name already exists'; |
|
461 |
|
|
462 |
$MESSAGE['PREFERENCES']['DETAILS_SAVED'] = 'Details saved successfully'; |
|
463 |
$MESSAGE['PREFERENCES']['EMAIL_UPDATED'] = 'Email updated successfully'; |
|
464 |
$MESSAGE['PREFERENCES']['CURRENT_PASSWORD_INCORRECT'] = 'The (current) password you entered is incorrect'; |
|
465 |
$MESSAGE['PREFERENCES']['PASSWORD_CHANGED'] = 'Password changed successfully'; |
|
466 |
|
|
467 |
$MESSAGE['TEMPLATES']['CHANGE_TEMPLATE_NOTICE'] = 'Please note: to change the template you must go to the Settings section'; |
|
468 |
|
|
469 |
$MESSAGE['MEDIA']['DIR_DOT_DOT_SLASH'] = 'Cannot include ../ in the folder name'; |
|
470 |
$MESSAGE['MEDIA']['DIR_DOES_NOT_EXIST'] = 'Directory does not exist'; |
|
471 |
$MESSAGE['MEDIA']['TARGET_DOT_DOT_SLASH'] = 'Cannot have ../ in the folder target'; |
|
472 |
$MESSAGE['MEDIA']['NAME_DOT_DOT_SLASH'] = 'Cannot include ../ in the name'; |
|
473 |
$MESSAGE['MEDIA']['NAME_INDEX_PHP'] = 'Cannot use index.php as the name'; |
|
474 |
$MESSAGE['MEDIA']['NONE_FOUND'] = 'No media found in the current folder'; |
|
475 |
$MESSAGE['MEDIA']['FILE_NOT_FOUND'] = 'File not found'; |
|
476 |
$MESSAGE['MEDIA']['DELETED_FILE'] = 'File deleted successfully'; |
|
477 |
$MESSAGE['MEDIA']['DELETED_DIR'] = 'Folder deleted successfully'; |
|
478 |
$MESSAGE['MEDIA']['CONFIRM_DELETE'] = 'Are you sure you want to delete the following file or folder?'; |
|
479 |
$MESSAGE['MEDIA']['CANNOT_DELETE_FILE'] = 'Cannot delete the selected file'; |
|
480 |
$MESSAGE['MEDIA']['CANNOT_DELETE_DIR'] = 'Cannot delete the selected folder'; |
|
481 |
$MESSAGE['MEDIA']['BLANK_NAME'] = 'You did not enter a new name'; |
|
482 |
$MESSAGE['MEDIA']['BLANK_EXTENSION'] = 'You did not enter a file extension'; |
|
483 |
$MESSAGE['MEDIA']['RENAMED'] = 'Rename successful'; |
|
484 |
$MESSAGE['MEDIA']['CANNOT_RENAME'] = 'Rename unsuccessful'; |
|
485 |
$MESSAGE['MEDIA']['FILE_EXISTS'] = 'A file matching the name you entered already exists'; |
|
486 |
$MESSAGE['MEDIA']['DIR_EXISTS'] = 'A folder matching the name you entered already exists'; |
|
487 |
$MESSAGE['MEDIA']['DIR_MADE'] = 'Folder created successfully'; |
|
488 |
$MESSAGE['MEDIA']['DIR_NOT_MADE'] = 'Unable to create folder'; |
|
489 |
$MESSAGE['MEDIA']['SINGLE_UPLOADED'] = ' file was successfully uploaded'; |
|
490 |
$MESSAGE['MEDIA']['UPLOADED'] = ' files were successfully uploaded'; |
|
491 |
|
|
492 |
$MESSAGE['PAGES']['ADDED'] = 'Page added successfully'; |
|
493 |
$MESSAGE['PAGES']['ADDED_HEADING'] = 'Page heading added successfully'; |
|
494 |
$MESSAGE['PAGES']['PAGE_EXISTS'] = 'A page with the same or similar title exists'; |
|
495 |
$MESSAGE['PAGES']['CANNOT_CREATE_ACCESS_FILE'] = 'Error creating access file in the /pages directory (insufficient privileges)'; |
|
496 |
$MESSAGE['PAGES']['CANNOT_DELETE_ACCESS_FILE'] = 'Error deleting access file in the /pages directory (insufficient privileges)'; |
|
497 |
$MESSAGE['PAGES']['NOT_FOUND'] = 'Page not found'; |
|
498 |
$MESSAGE['PAGES']['SAVED'] = 'Page saved successfully'; |
|
499 |
$MESSAGE['PAGES']['SAVED_SETTINGS'] = 'Page settings saved successfully'; |
|
500 |
$MESSAGE['PAGES']['NOT_SAVED'] = 'Error saving page'; |
|
501 |
$MESSAGE['PAGES']['DELETE_CONFIRM'] = 'Are you sure you want to delete the selected page (and all of its sub-pages)'; |
|
502 |
$MESSAGE['PAGES']['DELETED'] = 'Page deleted successfully'; |
|
503 |
$MESSAGE['PAGES']['RESTORED'] = 'Page restored successfully'; |
|
504 |
$MESSAGE['PAGES']['BLANK_PAGE_TITLE'] = 'Please enter a page title'; |
|
505 |
$MESSAGE['PAGES']['BLANK_MENU_TITLE'] = 'Please enter a menu title'; |
|
506 |
$MESSAGE['PAGES']['REORDERED'] = 'Page re-ordered successfully'; |
|
507 |
$MESSAGE['PAGES']['CANNOT_REORDER'] = 'Error re-ordering page'; |
|
508 |
$MESSAGE['PAGES']['INSUFFICIENT_PERMISSIONS'] = 'You do not have permissions to modify this page'; |
|
509 |
$MESSAGE['PAGES']['INTRO_NOT_WRITABLE'] = 'Cannot write to file /pages/intro.php (insufficient privileges)'; |
|
510 |
$MESSAGE['PAGES']['INTRO_SAVED'] = 'Intro page saved successfully'; |
|
511 |
$MESSAGE['PAGES']['LAST_MODIFIED'] = 'Last modification by'; |
|
512 |
$MESSAGE['PAGES']['INTRO_LINK'] = 'Click HERE to modify the intro page'; |
|
513 |
$MESSAGE['PAGES']['SECTIONS_PROPERTIES_SAVED'] = 'Section properties saved successfully'; |
|
514 |
$MESSAGE['PAGES']['RETURN_TO_PAGES'] = 'Return to pages'; |
|
515 |
|
|
516 |
$MESSAGE['GENERIC']['FILL_IN_ALL'] = 'Please go back and fill-in all fields'; |
|
517 |
$MESSAGE['GENERIC']['FILE_TYPE'] = 'Please note that the file you upload must be of the following format:'; |
|
518 |
$MESSAGE['GENERIC']['FILE_TYPES'] = 'Please note that the file you upload must be in one of the following formats:'; |
|
519 |
$MESSAGE['GENERIC']['CANNOT_UPLOAD'] = 'Cannot upload file'; |
|
520 |
$MESSAGE['GENERIC']['ALREADY_INSTALLED'] = 'Already installed'; |
|
521 |
$MESSAGE['GENERIC']['NOT_INSTALLED'] = 'Not installed'; |
|
522 |
$MESSAGE['GENERIC']['CANNOT_UNINSTALL'] = 'Cannot uninstall'; |
|
523 |
$MESSAGE['GENERIC']['CANNOT_UNZIP'] = 'Cannot unzip file'; |
|
524 |
$MESSAGE['GENERIC']['INSTALLED'] = 'Installed successfully'; |
|
525 |
$MESSAGE['GENERIC']['UPGRADED'] = 'Upgraded successfully'; |
|
526 |
$MESSAGE['GENERIC']['UNINSTALLED'] = 'Uninstalled successfully'; |
|
527 |
$MESSAGE['GENERIC']['BAD_PERMISSIONS'] = 'Unable to write to the target directory'; |
|
528 |
$MESSAGE['GENERIC']['INVALID'] = 'The file you uploaded is invalid'; |
|
529 |
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN_USE'] = 'Cannot Uninstall: the selected file is in use'; |
|
530 |
$MESSAGE['GENERIC']['WEBSITE_UNDER_CONSTRUCTION'] = 'Website Under Construction'; |
|
531 |
$MESSAGE['GENERIC']['PLEASE_CHECK_BACK_SOON'] = 'Please check back soon...'; |
|
532 |
$MESSAGE['GENERIC']['PLEASE_BE_PATIENT'] = 'Please be patient, this might take a while.'; |
|
533 |
$MESSAGE['GENERIC']['ERROR_OPENING_FILE'] = 'Error opening file.'; |
|
534 |
|
|
535 |
$MESSAGE['MOD_FORM']['REQUIRED_FIELDS'] = 'You must enter details for the following fields'; |
|
536 |
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, this form has been submitted too many times so far this hour. Please retry in the next hour.'; |
|
537 |
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL; |
|
538 |
|
|
539 |
$MESSAGE['MOD_RELOAD']['PLEASE_SELECT'] = 'Please selected which add-ons you would like to have reloaded'; |
|
540 |
$MESSAGE['MOD_RELOAD']['MODULES_RELOADED'] = 'Modules reloaded successfully'; |
|
541 |
$MESSAGE['MOD_RELOAD']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully'; |
|
542 |
$MESSAGE['MOD_RELOAD']['LANGUAGES_RELOADED'] = 'Languages reloaded successfully'; |
|
543 |
|
|
544 |
?> |
|
1 |
<?php |
|
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2007, 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 |
// Define that this file is loaded |
|
27 |
if(!defined('LANGUAGE_LOADED')) { |
|
28 |
define('LANGUAGE_LOADED', true); |
|
29 |
} |
|
30 |
|
|
31 |
// Set the language information |
|
32 |
$language_code = 'EN'; |
|
33 |
$language_name = 'English'; |
|
34 |
$language_version = '2.6'; |
|
35 |
$language_platform = '2.6.x'; |
|
36 |
$language_author = 'Ryan Djurovich'; |
|
37 |
$language_license = 'GNU General Public License'; |
|
38 |
|
|
39 |
// Menu titles |
|
40 |
$MENU['START'] = 'Start'; |
|
41 |
$MENU['PAGES'] = 'Pages'; |
|
42 |
$MENU['MEDIA'] = 'Media'; |
|
43 |
$MENU['ADDONS'] = 'Add-ons'; |
|
44 |
$MENU['MODULES'] = 'Modules'; |
|
45 |
$MENU['TEMPLATES'] = 'Templates'; |
|
46 |
$MENU['LANGUAGES'] = 'Languages'; |
|
47 |
$MENU['PREFERENCES'] = 'Preferences'; |
|
48 |
$MENU['SETTINGS'] = 'Settings'; |
|
49 |
$MENU['ACCESS'] = 'Access'; |
|
50 |
$MENU['USERS'] = 'Users'; |
|
51 |
$MENU['GROUPS'] = 'Groups'; |
|
52 |
$MENU['HELP'] = 'Help'; |
|
53 |
$MENU['VIEW'] = 'View'; |
|
54 |
$MENU['LOGOUT'] = 'Log-out'; |
|
55 |
$MENU['LOGIN'] = 'Login'; |
|
56 |
$MENU['FORGOT'] = 'Retrieve Login Details'; |
|
57 |
|
|
58 |
// Section overviews |
|
59 |
$OVERVIEW['START'] = 'Administration overview'; |
|
60 |
$OVERVIEW['PAGES'] = 'Manage your websites pages...'; |
|
61 |
$OVERVIEW['MEDIA'] = 'Manage files stored in the media folder...'; |
|
62 |
$OVERVIEW['MODULES'] = 'Manage Website Baker modules...'; |
|
63 |
$OVERVIEW['TEMPLATES'] = 'Change the look and feel of your website with templates...'; |
|
64 |
$OVERVIEW['LANGUAGES'] = 'Manage Website Baker languages...'; |
|
65 |
$OVERVIEW['PREFERENCES'] = 'Change preferences such as email address, password, etc... '; |
|
66 |
$OVERVIEW['SETTINGS'] = 'Changes settings for Website Baker...'; |
|
67 |
$OVERVIEW['USERS'] = 'Manage users who can log-in to Website Baker...'; |
|
68 |
$OVERVIEW['GROUPS'] = 'Manage user groups and their system permissions...'; |
|
69 |
$OVERVIEW['HELP'] = 'Got a questions? Find your answer...'; |
|
70 |
$OVERVIEW['VIEW'] = 'Quickly view and browse your website in a new window...'; |
|
71 |
|
|
72 |
// Headings |
|
73 |
$HEADING['MODIFY_DELETE_PAGE'] = 'Modify/Delete Page'; |
|
74 |
$HEADING['DELETED_PAGES'] = 'Deleted Pages'; |
|
75 |
$HEADING['ADD_PAGE'] = 'Add Page'; |
|
76 |
$HEADING['ADD_HEADING'] = 'Add Heading'; |
|
77 |
$HEADING['MODIFY_PAGE'] = 'Modify Page'; |
|
78 |
$HEADING['MODIFY_PAGE_SETTINGS'] = 'Modify Page Settings'; |
|
79 |
$HEADING['MODIFY_ADVANCED_PAGE_SETTINGS'] = 'Modify Advanced Page Settings'; |
|
80 |
$HEADING['MANAGE_SECTIONS'] = 'Manage Sections'; |
Also available in: Unified diff
Removed changeset [417] from the 2.6.x branches because it is for WB 2.7.x versions