Ejemplo n.º 1
0
						<label for="04_logto_system">Log to System Log</label>
						<br />
						<input type="checkbox" id="04_logto_file" name="logto[]" value="file"<?php echo in_array('file', Installer::getValue('logto')) ? ' checked="checked"' : '' ?> />
						<label for="04_logto_file">Log to Text Files</label>
						<br />
						<input type="checkbox" id="04_logto_firephp" name="logto[]" value="firephp"<?php echo in_array('firephp', Installer::getValue('logto')) ? ' checked="checked"' : '' ?> />
						<label for="04_logto_firephp">Log to Firebug (via FirePHP)</label>
						<br />
						<input type="checkbox" id="04_logto_growl" name="logto[]" value="growl"<?php echo in_array('growl', Installer::getValue('logto')) ? ' checked="checked"' : '' ?> />
						<label for="04_logto_growl">Log to Growl</label>
					</td>
				</tr>
				<tr>
					<th>Growl Address:</th>
					<td>
						<input type="text" id="04_growl_address" name="growl_address" value="<?php Installer::printValue('growl_address') ?>" />
					</td>
				</tr>
			</table>
		</div>
		<div id="nav">
			<input type="hidden" id="step" name="step" value="4" />
			<input type="hidden" id="goto" name="goto" value="install" />
			<input type="button" id="goto_03_back" class="back" name="" value="" />
			<?php Installer::printNavButton(1) ?>
			<?php Installer::printNavButton(2) ?>
			<?php Installer::printNavButton(3) ?>
			<?php Installer::printNavButton(4, true) ?>
			<input type="submit" id="step_04_next" class="finish" name="" value="" />
		</div>
	</form>
Ejemplo n.º 2
0
					$('#03_database_username').val('');
					$('#03_database_password').val('');
				break;

				case 'mysql_5':
					$('#03_database_address').removeAttr('disabled');
					$('#03_database_name').removeAttr('disabled');
					$('#03_database_prefix').removeAttr('disabled');
					$('#03_database_username').removeAttr('disabled');
					$('#03_database_password').removeAttr('disabled');

					$('#03_database_address').val('<?php Installer::printValue('database_address') ?>');
					$('#03_database_name').val('<?php Installer::printValue('database_name') ?>');
					$('#03_database_prefix').val('<?php Installer::printValue('database_prefix') ?>');
					$('#03_database_username').val('<?php Installer::printValue('database_username') ?>');
					$('#03_database_password').val('<?php Installer::printValue('database_password') ?>');
					break;
			}
		});
	});

	//-->
</script>

<div id="main">
	<div id="logo"></div>
	<h2>Step 3: Database Settings</h2>
	<form id="form" method="post" action="">
		<div id="content">
			<p></p>
			<table>
Ejemplo n.º 3
0
				installation. The application's namespace should be formatted
				like any PHP class/namespace and should not contain spaces or
				special characters.
			</p>
			<table>
				<tr>
					<th><label for="01_app_name">Name:</label></th>
					<td><input type="text" id="01_app_name" name="app_name" value="<?php Installer::printValue('app_name') ?>" /></td>
				</tr>
				<tr>
					<th><label for="01_app_version">Version:</label></th>
					<td><input type="text" id="01_app_version" name="app_version" value="<?php Installer::printValue('app_version') ?>" /></td>
				</tr>
				<tr>
					<th><label for="01_app_namespace">Namespace:</label></th>
					<td><input type="text" id="01_app_namespace" name="app_namespace" value="<?php Installer::printValue('app_namespace') ?>" /></td>
				</tr>
			</table>
		</div>
		<div id="nav">
			<input type="hidden" id="step" name="step" value="1" />
			<input type="hidden" id="goto" name="goto" value="2" />
			<input type="button" id="goto_start" class="back" name="" value="" />
			<?php Installer::printNavButton(1, true) ?>
			<?php Installer::printNavButton(2) ?>
			<?php Installer::printNavButton(3) ?>
			<?php Installer::printNavButton(4) ?>
			<input type="submit" id="step_01_next" class="next" name="" value="" />
		</div>
	</form>
</div>
Ejemplo n.º 4
0
				</tr>
				<tr>
					<th>Web Root:</th>
					<td><input type="text" id="02_root_web" name="root_web" value="<?php Installer::printValue('root_web') ?>"<?php echo Installer::getValue('root') == 'default' ? ' disabled="disabled"' : '' ?> /></td>
				</tr>
				<tr>
					<th>Application (system):</th>
					<td><input type="text" id="02_root_system" name="root_system" value="<?php Installer::printValue('root_system') ?>"<?php echo Installer::getValue('root') == 'default' ? ' disabled="disabled"' : '' ?> /></td>
				</tr>
				<tr>
					<th>Logs (log):</th>
					<td><input type="text" id="02_root_log" name="root_log" value="<?php Installer::printValue('root_log') ?>"<?php echo Installer::getValue('root') == 'default' ? ' disabled="disabled"' : '' ?> /></td>
				</tr>
				<tr>
					<th>Public Root (pub):</th>
					<td><input type="text" id="02_root_pub" name="root_pub" value="<?php Installer::printValue('root_pub') ?>"<?php echo Installer::getValue('root') == 'default' ? ' disabled="disabled"' : '' ?> /></td>
				</tr>
			</table>
		</div>
		<div id="nav">
			<input type="hidden" id="step" name="step" value="2" />
			<input type="hidden" id="goto" name="goto" value="3" />
			<input type="button" id="goto_01_back" class="back" name="" value="" />
			<?php Installer::printNavButton(1) ?>
			<?php Installer::printNavButton(2, true) ?>
			<?php Installer::printNavButton(3) ?>
			<?php Installer::printNavButton(4) ?>
			<input type="submit" id="step_02_next" class="next" name="" value="" />
		</div>
	</form>
</div>