aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/setup_dbsetup.html
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-21 22:00:33 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-21 22:00:33 +0100
commita36e46d44db24622eeed4438342dfdbd98a28727 (patch)
tree189748224c65613991f9975feafb60b7d543b29e /ratatoeskr/templates/src/systemtemplates/setup_dbsetup.html
parenteaabdafbcbad712a82878c8a08e0b8b097cae2be (diff)
downloadratatoeskr-cms-a36e46d44db24622eeed4438342dfdbd98a28727.tar.gz
ratatoeskr-cms-a36e46d44db24622eeed4438342dfdbd98a28727.tar.bz2
ratatoeskr-cms-a36e46d44db24622eeed4438342dfdbd98a28727.zip
Setup script and clean config file.
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/setup_dbsetup.html')
-rw-r--r--ratatoeskr/templates/src/systemtemplates/setup_dbsetup.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/setup_dbsetup.html b/ratatoeskr/templates/src/systemtemplates/setup_dbsetup.html
new file mode 100644
index 0000000..e43d2ef
--- /dev/null
+++ b/ratatoeskr/templates/src/systemtemplates/setup_dbsetup.html
@@ -0,0 +1,41 @@
+<ste:load name="setup_master.html" />
+<ste:block name="content">
+ <ste:if>$error
+ <ste:then>
+ <div class="error"><ste:escape>$error</ste:escape></div>
+ </ste:then>
+ </ste:if>
+ <form action="setup.php?lang=$lang" method="POST" accept-charset="UTF-8">
+ <h2><ste:get_translation for="dbsetup" /></h2>
+ <p>
+ <ste:get_translation for="dbsetup_mysql_host" /><br />
+ <input type="text" name="mysql_host" value="localhost" />
+ </p>
+ <p>
+ <ste:get_translation for="dbsetup_mysql_user" /><br />
+ <input type="text" name="mysql_user" />
+ </p>
+ <p>
+ <ste:get_translation for="dbsetup_mysql_passwd" /><br />
+ <input type="password" name="mysql_password" />
+ </p>
+ <p>
+ <ste:get_translation for="dbsetup_mysql_database" /><br />
+ <input type="text" name="mysql_database" />
+ </p>
+ <p>
+ <ste:get_translation for="dbsetup_table_prefix" /><br />
+ <input type="text" name="table_prefix" value="ratatoeskr_" />
+ </p>
+ <h2><ste:get_translation for="admin_setup" /></h2>
+ <p>
+ <ste:get_translation for="username" /><br />
+ <input type="text" name="admin_username" />
+ </p>
+ <p>
+ <ste:get_translation for="initial_password" /><br />
+ <input type="password" name="admin_init_password" />
+ </p>
+ <p><input type="submit" name="apply_setup" /></p>
+ </form>
+</ste:block>