2010-03-16 19:25:05 +00:00
|
|
|
<?php
|
2010-03-18 20:37:25 +00:00
|
|
|
global $FIRSTRUN;
|
2010-03-16 19:25:05 +00:00
|
|
|
if(!isset($fillDB)) $fillDB=true;
|
|
|
|
?>
|
|
|
|
</script>
|
2010-03-29 14:13:26 +00:00
|
|
|
<form method="post" enctype="multipart/form-data">
|
2010-03-16 07:48:36 +00:00
|
|
|
<table cellpadding="5" cellspacing="5" border="0" class="loginform">
|
2010-03-18 20:37:25 +00:00
|
|
|
<?php
|
|
|
|
if(!$FIRSTRUN){?>
|
|
|
|
<tr><td>current password</td><td><input type="password" name="currentpassword" size="30" class="formstyle"></input></td></tr>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
2010-03-16 07:48:36 +00:00
|
|
|
<tr><td>admin login:</td><td><input type="text" name="adminlogin" size="30" class="formstyle" value="<?php echo($CONFIG_ADMINLOGIN);?>"></input></td></tr>
|
2010-03-29 14:13:26 +00:00
|
|
|
<tr><td>admin password:</td><td><input type="password" name="adminpassword" size="30" class="formstyle"></input></td><td>(leave empty to keep current pass
|
2010-03-18 20:37:25 +00:00
|
|
|
<tr><td>retype admin password:</td><td><input type="password" name="adminpassword2" size="30" class="formstyle"></input></td></tr>
|
2010-03-29 14:13:26 +00:00
|
|
|
<tr><td>data directory:</td><td><input type="text" name="datadirectory" size="30" class="formstyle" value="<?php echo($CONFIG_DATADIRECTORY);?>"></input><
|
|
|
|
<tr><td>force ssl:</td><td><input type="checkbox" name="forcessl" size="30" class="formstyle" value='<?php echo($CONFIG_HTTPFORCESSL);?>'></input></td></t
|
2010-03-16 07:48:36 +00:00
|
|
|
<tr><td>date format:</td><td><input type="text" name="dateformat" size="30" class="formstyle" value='<?php echo($CONFIG_DATEFORMAT);?>'></input></td></tr>
|
|
|
|
<tr><td>database name:</td><td><input type="text" name="dbname" size="30" class="formstyle" value='<?php echo($CONFIG_DBNAME);?>'></input></td></tr>
|
2010-03-29 14:13:26 +00:00
|
|
|
<tr><td>automaticly fill initial database:</td><td><input type="checkbox" name="filldb" size="30" class="formstyle" value='1' <?php if($FIRSTRUN) echo 'ch
|
2010-03-16 07:48:36 +00:00
|
|
|
<tr><td></td><td><input type="submit" name="set_config" alt="save" value="save" class="formstyle" /></td></tr>
|
|
|
|
</table></form>
|