| 45 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 46 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 47 |
<head> |
<head> |
| 48 |
<title>Mambo - Web Installer</title> |
<title><?php echo T_('Mambo - Web Installer') ?></title> |
| 49 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| 50 |
<link rel="shortcut icon" href="../../images/favicon.ico" /> |
<link rel="shortcut icon" href="../../images/favicon.ico" /> |
| 51 |
<link rel="stylesheet" href="install.css" type="text/css" /> |
<link rel="stylesheet" href="install.css" type="text/css" /> |
| 56 |
var formValid = true; |
var formValid = true; |
| 57 |
var f = document.form; |
var f = document.form; |
| 58 |
if ( f.siteUrl.value == '' ) { |
if ( f.siteUrl.value == '' ) { |
| 59 |
alert('Please enter Site URL'); |
alert('<?php echo T_('Please enter Site URL') ?>'); |
| 60 |
f.siteUrl.focus(); |
f.siteUrl.focus(); |
| 61 |
formValid = false; |
formValid = false; |
| 62 |
} else if ( f.absolutePath.value == '' ) { |
} else if ( f.absolutePath.value == '' ) { |
| 63 |
alert('Please enter the absolute path to your site'); |
alert('<?php echo T_('Please enter the absolute path to your site') ?>'); |
| 64 |
f.absolutePath.focus(); |
f.absolutePath.focus(); |
| 65 |
formValid = false; |
formValid = false; |
| 66 |
} else if ( f.adminEmail.value == '' ) { |
} else if ( f.adminEmail.value == '' ) { |
| 67 |
alert('Please enter an email address to contact your administrator'); |
alert('<?php echo T_('Please enter an email address to contact your administrator') ?>'); |
| 68 |
f.adminEmail.focus(); |
f.adminEmail.focus(); |
| 69 |
formValid = false; |
formValid = false; |
| 70 |
} else if ( f.adminPassword.value == '' ) { |
} else if ( f.adminPassword.value == '' ) { |
| 71 |
alert('Please enter a password for you administrator'); |
alert('<?php echo T_('Please enter a password for you administrator') ?>'); |
| 72 |
f.adminPassword.focus(); |
f.adminPassword.focus(); |
| 73 |
formValid = false; |
formValid = false; |
| 74 |
} |
} |
| 120 |
<input type="hidden" name="sitename" value="<?php echo "$sitename"; ?>" /> |
<input type="hidden" name="sitename" value="<?php echo "$sitename"; ?>" /> |
| 121 |
<div class="install"> |
<div class="install"> |
| 122 |
<div id="stepbar"> |
<div id="stepbar"> |
| 123 |
<div class="step-off">pre-installation check</div> |
<div class="step-off"><?php echo T_('pre-installation check') ?></div> |
| 124 |
<div class="step-off">license</div> |
<div class="step-off"><?php echo T_('license') ?></div> |
| 125 |
<div class="step-off">step 1</div> |
<div class="step-off"><?php echo T_('step 1') ?></div> |
| 126 |
<div class="step-off">step 2</div> |
<div class="step-off"><?php echo T_('step 2') ?></div> |
| 127 |
<div class="step-on">step 3</div> |
<div class="step-on"><?php echo T_('step 3') ?></div> |
| 128 |
<div class="step-off">step 4</div> |
<div class="step-off"><?php echo T_('step 4') ?></div> |
| 129 |
</div> |
</div> |
| 130 |
<div id="right"> |
<div id="right"> |
| 131 |
<div id="step">step 3</div> |
<div id="step"><?php echo T_('step 3') ?></div> |
| 132 |
<div class="far-right"> |
<div class="far-right"> |
| 133 |
<input class="button" type="submit" name="next" value="Next >>"/> |
<input class="button" type="submit" name="next" value="Next >>"/> |
| 134 |
</div> |
</div> |
| 135 |
<div class="clr"></div> |
<div class="clr"></div> |
| 136 |
<h1>Confirm the site URL, path, admin e-mail and file/directory chmods</h1> |
<h1><?php echo T_('Confirm the site URL, path, admin e-mail and file/directory chmods') ?></h1> |
| 137 |
<div class="install-text"> |
<div class="install-text"><?php echo T_(' |
| 138 |
<p>If URL and Path looks correct then please do not change. |
<p>If URL and Path looks correct then please do not change. |
| 139 |
If you are not sure then please contact your ISP or administrator. Usually |
If you are not sure then please contact your ISP or administrator. Usually |
| 140 |
the values displayed will work for your site.<br/> |
the values displayed will work for your site.<br/> |
| 145 |
The permission settings will be used while installing mambo itself, by |
The permission settings will be used while installing mambo itself, by |
| 146 |
the mambo addon-installers and by the media manager. If you are unsure |
the mambo addon-installers and by the media manager. If you are unsure |
| 147 |
what flags shall be set, leave the default settings at the moment. |
what flags shall be set, leave the default settings at the moment. |
| 148 |
You can still change these flags later in the site global configuration.</p> |
You can still change these flags later in the site global configuration.</p>') ?> |
| 149 |
</div> |
</div> |
| 150 |
<div class="install-form"> |
<div class="install-form"> |
| 151 |
<div class="form-block"> |
<div class="form-block"> |
| 197 |
} // if |
} // if |
| 198 |
?> |
?> |
| 199 |
<td colspan="2"> |
<td colspan="2"> |
| 200 |
<fieldset><legend>File Permissions</legend> |
<fieldset><legend><?php echo T_('File Permissions') ?></legend> |
| 201 |
<table cellpadding="1" cellspacing="1" border="0"> |
<table cellpadding="1" cellspacing="1" border="0"> |
| 202 |
<tr> |
<tr> |
| 203 |
<td><input type="radio" id="filePermsMode0" name="filePermsMode" value="0" onclick="changeFilePermsMode(0)"<?php if (!$mode) echo ' checked="checked"'; ?>/></td> |
<td><input type="radio" id="filePermsMode0" name="filePermsMode" value="0" onclick="changeFilePermsMode(0)"<?php if (!$mode) echo ' checked="checked"'; ?>/></td> |
| 204 |
<td><label for="filePermsMode0">Dont CHMOD files (use server defaults)</label></td> |
<td><label for="filePermsMode0"><?php echo T_('Dont CHMOD files (use server defaults)') ?></label></td> |
| 205 |
</tr> |
</tr> |
| 206 |
<tr> |
<tr> |
| 207 |
<td><input type="radio" id="filePermsMode1" name="filePermsMode" value="1" onclick="changeFilePermsMode(1)"<?php if ($mode) echo ' checked="checked"'; ?>/></td> |
<td><input type="radio" id="filePermsMode1" name="filePermsMode" value="1" onclick="changeFilePermsMode(1)"<?php if ($mode) echo ' checked="checked"'; ?>/></td> |
| 208 |
<td><label for="filePermsMode1"> CHMOD files to:</label></td> |
<td><label for="filePermsMode1"> <?php echo T_('CHMOD files to:') ?></label></td> |
| 209 |
</tr> |
</tr> |
| 210 |
<tr id="filePermsFlags"<?php if (!$mode) echo ' style="display:none"'; ?>> |
<tr id="filePermsFlags"<?php if (!$mode) echo ' style="display:none"'; ?>> |
| 211 |
<td> </td> |
<td> </td> |
| 212 |
<td> |
<td> |
| 213 |
<table cellpadding="1" cellspacing="0" border="0"> |
<table cellpadding="1" cellspacing="0" border="0"> |
| 214 |
<tr> |
<tr> |
| 215 |
<td>User:</td> |
<td><?php echo T_('User:') ?></td> |
| 216 |
<td><input type="checkbox" id="filePermsUserRead" name="filePermsUserRead" value="1"<?php if ($flags & 0400) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsUserRead" name="filePermsUserRead" value="1"<?php if ($flags & 0400) echo ' checked="checked"'; ?>/></td> |
| 217 |
<td><label for="filePermsUserRead">read</label></td> |
<td><label for="filePermsUserRead"><?php echo T_('read') ?></label></td> |
| 218 |
<td><input type="checkbox" id="filePermsUserWrite" name="filePermsUserWrite" value="1"<?php if ($flags & 0200) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsUserWrite" name="filePermsUserWrite" value="1"<?php if ($flags & 0200) echo ' checked="checked"'; ?>/></td> |
| 219 |
<td><label for="filePermsUserWrite">write</label></td> |
<td><label for="filePermsUserWrite"><?php echo T_('write') ?></label></td> |
| 220 |
<td><input type="checkbox" id="filePermsUserExecute" name="filePermsUserExecute" value="1"<?php if ($flags & 0100) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsUserExecute" name="filePermsUserExecute" value="1"<?php if ($flags & 0100) echo ' checked="checked"'; ?>/></td> |
| 221 |
<td width="100%"><label for="filePermsUserExecute">execute</label></td> |
<td width="100%"><label for="filePermsUserExecute"><?php echo T_('execute') ?></label></td> |
| 222 |
</tr> |
</tr> |
| 223 |
<tr> |
<tr> |
| 224 |
<td>Group:</td> |
<td><?php echo T_('Group:') ?></td> |
| 225 |
<td><input type="checkbox" id="filePermsGroupRead" name="filePermsGroupRead" value="1"<?php if ($flags & 040) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsGroupRead" name="filePermsGroupRead" value="1"<?php if ($flags & 040) echo ' checked="checked"'; ?>/></td> |
| 226 |
<td><label for="filePermsGroupRead">read</label></td> |
<td><label for="filePermsGroupRead"><?php echo T_('read') ?></label></td> |
| 227 |
<td><input type="checkbox" id="filePermsGroupWrite" name="filePermsGroupWrite" value="1"<?php if ($flags & 020) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsGroupWrite" name="filePermsGroupWrite" value="1"<?php if ($flags & 020) echo ' checked="checked"'; ?>/></td> |
| 228 |
<td><label for="filePermsGroupWrite">write</label></td> |
<td><label for="filePermsGroupWrite"><?php echo T_('write') ?></label></td> |
| 229 |
<td><input type="checkbox" id="filePermsGroupExecute" name="filePermsGroupExecute" value="1"<?php if ($flags & 010) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsGroupExecute" name="filePermsGroupExecute" value="1"<?php if ($flags & 010) echo ' checked="checked"'; ?>/></td> |
| 230 |
<td width="100%"><label for="filePermsGroupExecute">execute</label></td> |
<td width="100%"><label for="filePermsGroupExecute"><?php echo T_('execute') ?></label></td> |
| 231 |
</tr> |
</tr> |
| 232 |
<tr> |
<tr> |
| 233 |
<td>World:</td> |
<td><?php echo T_('World:') ?></td> |
| 234 |
<td><input type="checkbox" id="filePermsWorldRead" name="filePermsWorldRead" value="1"<?php if ($flags & 04) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsWorldRead" name="filePermsWorldRead" value="1"<?php if ($flags & 04) echo ' checked="checked"'; ?>/></td> |
| 235 |
<td><label for="filePermsWorldRead">read</label></td> |
<td><label for="filePermsWorldRead"><?php echo T_('read') ?></label></td> |
| 236 |
<td><input type="checkbox" id="filePermsWorldWrite" name="filePermsWorldWrite" value="1"<?php if ($flags & 02) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsWorldWrite" name="filePermsWorldWrite" value="1"<?php if ($flags & 02) echo ' checked="checked"'; ?>/></td> |
| 237 |
<td><label for="filePermsWorldWrite">write</label></td> |
<td><label for="filePermsWorldWrite"><?php echo T_('write') ?></label></td> |
| 238 |
<td><input type="checkbox" id="filePermsWorldExecute" name="filePermsWorldExecute" value="1"<?php if ($flags & 01) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="filePermsWorldExecute" name="filePermsWorldExecute" value="1"<?php if ($flags & 01) echo ' checked="checked"'; ?>/></td> |
| 239 |
<td width="100%"><label for="filePermsWorldExecute">execute</label></td> |
<td width="100%"><label for="filePermsWorldExecute"><?php echo T_('execute') ?></label></td> |
| 240 |
</tr> |
</tr> |
| 241 |
</table> |
</table> |
| 242 |
</td> |
</td> |
| 255 |
} // if |
} // if |
| 256 |
?> |
?> |
| 257 |
<td colspan="2"> |
<td colspan="2"> |
| 258 |
<fieldset><legend>Directory Permissions</legend> |
<fieldset><legend><?php echo T_('Directory Permissions') ?></legend> |
| 259 |
<table cellpadding="1" cellspacing="1" border="0"> |
<table cellpadding="1" cellspacing="1" border="0"> |
| 260 |
<tr> |
<tr> |
| 261 |
<td><input type="radio" id="dirPermsMode0" name="dirPermsMode" value="0" onclick="changeDirPermsMode(0)"<?php if (!$mode) echo ' checked="checked"'; ?>/></td> |
<td><input type="radio" id="dirPermsMode0" name="dirPermsMode" value="0" onclick="changeDirPermsMode(0)"<?php if (!$mode) echo ' checked="checked"'; ?>/></td> |
| 262 |
<td><label for="dirPermsMode0">Dont CHMOD directories (use server defaults)</label></td> |
<td><label for="dirPermsMode0"><?php echo T_('Dont CHMOD directories (use server defaults)') ?></label></td> |
| 263 |
</tr> |
</tr> |
| 264 |
<tr> |
<tr> |
| 265 |
<td><input type="radio" id="dirPermsMode1" name="dirPermsMode" value="1" onclick="changeDirPermsMode(1)"<?php if ($mode) echo ' checked="checked"'; ?>/></td> |
<td><input type="radio" id="dirPermsMode1" name="dirPermsMode" value="1" onclick="changeDirPermsMode(1)"<?php if ($mode) echo ' checked="checked"'; ?>/></td> |
| 266 |
<td><label for="dirPermsMode1"> CHMOD directories to:</label></td> |
<td><label for="dirPermsMode1"> <?php echo T_('CHMOD directories to:') ?></label></td> |
| 267 |
</tr> |
</tr> |
| 268 |
<tr id="dirPermsFlags"<?php if (!$mode) echo ' style="display:none"'; ?>> |
<tr id="dirPermsFlags"<?php if (!$mode) echo ' style="display:none"'; ?>> |
| 269 |
<td> </td> |
<td> </td> |
| 272 |
<tr> |
<tr> |
| 273 |
<td>User:</td> |
<td>User:</td> |
| 274 |
<td><input type="checkbox" id="dirPermsUserRead" name="dirPermsUserRead" value="1"<?php if ($flags & 0400) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsUserRead" name="dirPermsUserRead" value="1"<?php if ($flags & 0400) echo ' checked="checked"'; ?>/></td> |
| 275 |
<td><label for="dirPermsUserRead">read</label></td> |
<td><label for="dirPermsUserRead"><?php echo T_('read') ?></label></td> |
| 276 |
<td><input type="checkbox" id="dirPermsUserWrite" name="dirPermsUserWrite" value="1"<?php if ($flags & 0200) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsUserWrite" name="dirPermsUserWrite" value="1"<?php if ($flags & 0200) echo ' checked="checked"'; ?>/></td> |
| 277 |
<td><label for="dirPermsUserWrite">write</label></td> |
<td><label for="dirPermsUserWrite"><?php echo T_('write') ?></label></td> |
| 278 |
<td><input type="checkbox" id="dirPermsUserSearch" name="dirPermsUserSearch" value="1"<?php if ($flags & 0100) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsUserSearch" name="dirPermsUserSearch" value="1"<?php if ($flags & 0100) echo ' checked="checked"'; ?>/></td> |
| 279 |
<td width="100%"><label for="dirPermsUserSearch">search</label></td> |
<td width="100%"><label for="dirPermsUserSearch"><?php echo T_('search') ?></label></td> |
| 280 |
</tr> |
</tr> |
| 281 |
<tr> |
<tr> |
| 282 |
<td>Group:</td> |
<td>Group:</td> |
| 283 |
<td><input type="checkbox" id="dirPermsGroupRead" name="dirPermsGroupRead" value="1"<?php if ($flags & 040) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsGroupRead" name="dirPermsGroupRead" value="1"<?php if ($flags & 040) echo ' checked="checked"'; ?>/></td> |
| 284 |
<td><label for="dirPermsGroupRead">read</label></td> |
<td><label for="dirPermsGroupRead"><?php echo T_('read') ?></label></td> |
| 285 |
<td><input type="checkbox" id="dirPermsGroupWrite" name="dirPermsGroupWrite" value="1"<?php if ($flags & 020) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsGroupWrite" name="dirPermsGroupWrite" value="1"<?php if ($flags & 020) echo ' checked="checked"'; ?>/></td> |
| 286 |
<td><label for="dirPermsGroupWrite">write</label></td> |
<td><label for="dirPermsGroupWrite"><?php echo T_('write') ?></label></td> |
| 287 |
<td><input type="checkbox" id="dirPermsGroupSearch" name="dirPermsGroupSearch" value="1"<?php if ($flags & 010) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsGroupSearch" name="dirPermsGroupSearch" value="1"<?php if ($flags & 010) echo ' checked="checked"'; ?>/></td> |
| 288 |
<td width="100%"><label for="dirPermsGroupSearch">search</label></td> |
<td width="100%"><label for="dirPermsGroupSearch"><?php echo T_('search') ?></label></td> |
| 289 |
</tr> |
</tr> |
| 290 |
<tr> |
<tr> |
| 291 |
<td>World:</td> |
<td>World:</td> |
| 292 |
<td><input type="checkbox" id="dirPermsWorldRead" name="dirPermsWorldRead" value="1"<?php if ($flags & 04) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsWorldRead" name="dirPermsWorldRead" value="1"<?php if ($flags & 04) echo ' checked="checked"'; ?>/></td> |
| 293 |
<td><label for="dirPermsWorldRead">read</label></td> |
<td><label for="dirPermsWorldRead"><?php echo T_('read') ?></label></td> |
| 294 |
<td><input type="checkbox" id="dirPermsWorldWrite" name="dirPermsWorldWrite" value="1"<?php if ($flags & 02) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsWorldWrite" name="dirPermsWorldWrite" value="1"<?php if ($flags & 02) echo ' checked="checked"'; ?>/></td> |
| 295 |
<td><label for="dirPermsWorldWrite">write</label></td> |
<td><label for="dirPermsWorldWrite"><?php echo T_('write') ?></label></td> |
| 296 |
<td><input type="checkbox" id="dirPermsWorldSearch" name="dirPermsWorldSearch" value="1"<?php if ($flags & 01) echo ' checked="checked"'; ?>/></td> |
<td><input type="checkbox" id="dirPermsWorldSearch" name="dirPermsWorldSearch" value="1"<?php if ($flags & 01) echo ' checked="checked"'; ?>/></td> |
| 297 |
<td width="100%"><label for="dirPermsWorldSearch">search</label></td> |
<td width="100%"><label for="dirPermsWorldSearch"><?php echo T_('search') ?></label></td> |
| 298 |
</tr> |
</tr> |
| 299 |
</table> |
</table> |
| 300 |
</td> |
</td> |