Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 9a84bdf210
Fetching contributors…

Cannot retrieve contributors at this time

119 lines (83 sloc) 2.326 kB
<title>Disco Map Editor &mdash; Installation</title>
<link rel="stylesheet" href="styles/main.css" />
<div id="install">
<? if (!$_POST): ?>
<h1>Disco Map Editor &mdash; Installation</h1>
<p>Thank you for downloading the Disco Map Editor!</p>
<p>Currently, this application supports the following output formats:</p>
<li>DikiMUD/CircleMUD + derivations</li>
<b>Note:</b> DiscoMUD format can be obtained by running the generated
CircleMUD files through the DiscoMUD/CircleMUD converter script,
written in Ruby and available
<a href="">here</a>.
<h2>Let&rsquo;s Install!</h2>
<? $showForm = true; ?>
<? else: ?>
try {
} catch (Exception $e) {
$error = $e->getMessage();
<?if ($error):?>
<h1 class="error">Installation Error</h1>
<p class="error"><?=$error?></p>
<h1>Installation Complete</h1>
<? endif; ?>
<? if ($showForm) : ?>
<form action="" method="post">
<fieldset class="standalone">
<legend>MySQL Configuration</legend>
<div class="info">
This application uses a MySQL database. In order to
install, you must provide valid connection information.
For more information on how to create and use MySQL
databases, contact your server administrator, hosting
company, or friend who knows a lot about computers.
<? $fill = ($_POST) ? $_POST : Array('prefix'=>'disco_'); ?>
<? $form = Array(
'Server Location'=>'server',
'Table Prefix'=>'prefix'
foreach ($form as $label=>$name):
<label for="<?=$label?>"><?=$label?>: </label>
<input type="text" name="<?=$name?>" value="<?=@$p[$name]?>" />
<button type="submit" class="ok">
<span>Finish Installation</span>
<? endif; ?>
<p>&copy; 2010 Michelle Steigerwalt.</p>
Jump to Line
Something went wrong with that request. Please try again.