summaryrefslogtreecommitdiffstats
path: root/templates/show_install.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-31 09:46:22 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-31 09:46:22 +0000
commitfb3f5189882db644e443ebaf4e5e1efdb84d4348 (patch)
tree23bb5b6a297102d31a8fcdf56141c8f52f2907d6 /templates/show_install.inc
parent621f007155dc1e3a8a5b916e246018df4a25d4f3 (diff)
downloadampache-fb3f5189882db644e443ebaf4e5e1efdb84d4348.tar.gz
ampache-fb3f5189882db644e443ebaf4e5e1efdb84d4348.tar.bz2
ampache-fb3f5189882db644e443ebaf4e5e1efdb84d4348.zip
fixed up install script and updated sql file
Diffstat (limited to 'templates/show_install.inc')
-rw-r--r--templates/show_install.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/show_install.inc b/templates/show_install.inc
index 994cce73..8203af62 100644
--- a/templates/show_install.inc
+++ b/templates/show_install.inc
@@ -29,6 +29,7 @@
<title>Ampache :: For The Love Of Music - Install</title>
</head>
<body>
+<script src="lib/general.js" language="javascript" type="text/javascript"></script>
<?php require_once(conf('prefix') . "/templates/style.inc"); ?>
<div class="text-box">
<span class="header1"><?php echo _("Ampache Installation"); ?></span>
@@ -51,6 +52,7 @@
<?php echo _("Step 3 - Setup Initial Account"); ?><br />
<br /><br />
<span class="header2">Insert Ampache Database</span>
+<?php echo $GLOBALS['error']->print_error('general'); ?>
<form method="post" action="<?php echo $http_type . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . "?action=create_db"; ?>" enctype="multipart/form-data" >
<table cellpadding="5" cellspacing="0" border="0">
<tr>
@@ -70,6 +72,19 @@
<td><input type="password" name="local_pass" /></td>
</tr>
<tr>
+ <td><?php echo _("Create Database User for New Database"); ?>? </td>
+ <td>
+ <input type="checkbox" value="create_db_user" name="db_user" onclick="flipField('db_username');flipField('db_password');">
+ </td>
+<tr>
+ <td><?php echo _("Ampache Database Username"); ?></td>
+ <td><input type="textbox" id="db_username" name="db_username" value="ampache" disabled="disabled" /></td>
+</tr>
+<tr>
+ <td><?php echo _("Ampache Database User Password"); ?></td>
+ <td><input type="password" id="db_password" name="db_password" value="" disabled="disabled" /></td>
+</tr>
+<tr>
<td>&nbsp;</td>
<td><input type="submit" value="<?php echo _("Insert Database"); ?>" /></td>
</tr>