Example #1
0
formfield('sql_host', 'MySQL Host', 'localhost');
formfield('sql_user', 'MySQL Username');
formfield('sql_pass', 'MySQL Password', '', 'password');
formfield('sql_db', 'MySQL Database', 'iv-cms-5');
?>
<hr>

					<div class="control-group">
						<label class="control-label" for="use_ftp">Use FTP upload</label>
						<div class="controls">
							<input type="checkbox" id="use_ftp" name="use_ftp" value="1" onchange="$('#ftpdata').toggle( 300 );">
						</div>
					</div>

					<div id="ftpdata" style="display: none"><?php 
formfield('ftp_host', 'FTP Host', 'localhost');
formfield('ftp_user', 'FTP Username');
formfield('ftp_pass', 'FTP Password', '', 'password');
formfield('ftp_dir', 'FTP Directory', '/');
?>
</div>

				</div>

				<div class="modal-footer">
					<button type="submit" class="btn btn-primary">Continue</button>
				</div>
			</div>
		</form>
	</body>
</html>
Example #2
0
} else {
    ?>
<form>
<?php 
    echo formfield('id_i', 'text');
    echo formfield('param_name', 'text');
    echo formfield('translate_x', 'text');
    echo formfield('translate_y', 'text');
    echo formfield('translate_z', 'text');
    echo formfield('translate_x1', 'text');
    echo formfield('translate_y1', 'text');
    echo formfield('translate_z1', 'text');
    echo formfield('rotate_x', 'text');
    echo formfield('rotate_y', 'text');
    echo formfield('rotate_z', 'text');
    echo formfield('rotate_x1', 'text');
    echo formfield('rotate_y1', 'text');
    echo formfield('rotate_z1', 'text');
    echo formfield('scale_x', 'text');
    echo formfield('scale_y', 'text');
    echo formfield('scale_z', 'text');
    echo formfield('scale_x1', 'text');
    echo formfield('scale_y1', 'text');
    echo formfield('scale_z1', 'text');
    echo formfield('color', 'text');
    ?>
<input type="hidden" name="submitted" value="1" />
<input type="submit" />
</form>
<?php 
}
Example #3
0
<body>

<form class="form-horizontal" action="<?php 
echo IV_SELF;
?>
complete" method="post">
	<div class="modal">
		<div class="modal-header">
			<h3>Adminaccount anlegen</h3>
		</div>

		<div class="modal-body" style="overflow: visible; max-height: none;"><?php 
if ($error) {
    echo '<div class="alert alert-danger">' . $error . '</div>';
}
formfield('register_name', 'Admin Name');
formfield('register_pass', 'Passwort', '', 'password');
formfield('register_repetition', 'Wiederholung', '', 'password');
formfield('register_mail', 'E-Mail');
?>

		</div>

		<div class="modal-footer">
			<button type="submit" class="btn btn-primary">Installation abschließen</button>
		</div>
	</div>
</form>
</body>
</html>