diff options
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates')
4 files changed, 80 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> diff --git a/ratatoeskr/templates/src/systemtemplates/setup_done.html b/ratatoeskr/templates/src/systemtemplates/setup_done.html new file mode 100644 index 0000000..e21efca --- /dev/null +++ b/ratatoeskr/templates/src/systemtemplates/setup_done.html @@ -0,0 +1,14 @@ +<ste:load name="setup_master.html" /> +<ste:block name="content"> + <h2><ste:get_translation for="setup_almost_done" /></h2> + + <p><ste:get_translation for="setup_configfile_instructions" /></p> + <textarea cols="80" rows="15" readonly="readonly"><ste:escape>$config</ste:escape></textarea> + + <p><ste:get_translation for="setup_delete_setup_instructions_and_pointers" /></p> + + <p> + <a href="$rel_path_to_root"><ste:get_translation for="setup_link_yourpage" /></a><br /> + <a href="$rel_path_to_root/backend"><ste:get_translation for="setup_link_backend" /></a></a> + </p> +</ste:block> diff --git a/ratatoeskr/templates/src/systemtemplates/setup_master.html b/ratatoeskr/templates/src/systemtemplates/setup_master.html new file mode 100644 index 0000000..484f600 --- /dev/null +++ b/ratatoeskr/templates/src/systemtemplates/setup_master.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>Ratatöskr Setup</title> + <link rel="stylesheet" type="text/css" media="screen" href="$rel_path_to_root/ratatoeskr/cms_style/setup.css" /> +</head> +<head> + <h1><img src="$rel_path_to_root/ratatoeskr/cms_style/images/r7rlogo_dropshadow.png" alt="Ratatöskr" /></h1> + + <div id="content"> + <ste:block name="content" /> + </div> +</head> +</html> diff --git a/ratatoeskr/templates/src/systemtemplates/setup_select_lang.html b/ratatoeskr/templates/src/systemtemplates/setup_select_lang.html new file mode 100644 index 0000000..6361df3 --- /dev/null +++ b/ratatoeskr/templates/src/systemtemplates/setup_select_lang.html @@ -0,0 +1,11 @@ +<ste:load name="setup_master.html" /> +<ste:block name="content"> + <form action="$rel_path_to_root/setup.php" method="GET" accept-charset="UTF-8"> + <select name="lang"> + <ste:foreach array="translations" key="langcode" value="language"> + <option value="$langcode"?{~{$langcode|eq|en}| selected="selected"|}><ste:escape>$langcode: $language</ste:escape></option> + </ste:foreach> + </select> + <input type="submit" /> + </form> +</ste:block> |