Project

General

Profile

« Previous | Next » 

Revision 1654

Added by Dietmar over 12 years ago

Fixed SERVER_EMAIL in languages, needs double brackets
Installer redesign Step 2

View differences:

index.php
188 188
</table>
189 189
<table summary="" cellpadding="3" cellspacing="0">
190 190
<tr>
191
	<td colspan="8" class="step-row"><h1 class="step-row">Step 2</h1>&nbsp;Please check the following files/folders are writeable before continuing...</td>
191
	<td colspan="6" class="step-row"><h1 class="step-row">Step 2</h1>&nbsp;Please check the following files/folders are writeable before continuing...</td>
192 192
</tr>
193 193
<?php
194 194
	$config = '<font class="good">Writeable</font>';
......
206 206
				if ( filesize($wb_path.$configFile) > 128)
207 207
				{
208 208
					$installFlag = false;
209
					$config = '<font class="bad">Not empty!!?</font>';
209
					$config = '<font class="bad">Already installed? Check!</font>';
210 210
// try to open and to write
211 211
				} elseif( !$handle = fopen($wb_path.$configFile, 'w') )
212 212
				{
......
241 241
	}
242 242
?>
243 243
		<tr>
244
			<td style="color: #666666;"><?php print $wb_root.$configFile ?></td>
245
			<td colspan="2" ><?php echo $config ?></td>
244
			<td colspan="2" style="color: #666666;"><?php print $wb_root.$configFile ?></td>
245
			<td><?php echo $config ?></td>
246
			<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/pages/</td>
247
			<td><?php if(is_writable('../pages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../pages/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td>
246 248
		</tr>
247 249
		<tr>
248
			<td style="color: #666666;"><?php print $wb_root ?>/pages/</td>
249
			<td><?php if(is_writable('../pages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../pages/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td>
250
			<td style="color: #666666;"><?php print $wb_root ?>/media/</td>
250
			<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/media/</td>
251 251
			<td><?php if(is_writable('../media/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../media/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td>
252
			<td style="color: #666666;"><?php print $wb_root ?>/templates/</td>
252
			<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/templates/</td>
253 253
			<td><?php if(is_writable('../templates/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../templates/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td>
254 254
		</tr>
255 255
		<tr>
256
			<td style="color: #666666;"><?php print $wb_root ?>/modules/</td>
256
			<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/modules/</td>
257 257
			<td><?php if(is_writable('../modules/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../modules/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td>
258
			<td style="color: #666666;"><?php print $wb_root ?>/languages/</td>
258
			<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/languages/</td>
259 259
			<td><?php if(is_writable('../languages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../languages/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td>
260
			<td style="color: #666666;"><?php print $wb_root ?>/temp/</td>
260
		</tr>
261
		<tr>
262
			<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/temp/</td>
261 263
			<td><?php if(is_writable('../temp/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../temp/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td>
264
			<td colspan="2">&nbsp;</td>
262 265
			<td>&nbsp;</td>
263
			<td>&nbsp;</td>
264 266
		</tr>
265 267
		</table>
266 268
		<table summary="" cellpadding="3" cellspacing="0" >

Also available in: Unified diff