aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/head.tpl2
-rw-r--r--view/install_checks.tpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/view/head.tpl b/view/head.tpl
index 0fffc1344..8a75a4b8e 100644
--- a/view/head.tpl
+++ b/view/head.tpl
@@ -29,7 +29,7 @@
<script>
var updateInterval = $update_interval;
- var localUser = $local_user;
+ var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
function confirmDelete() { return confirm("$delitem"); }
function commentOpen(obj,id) {
diff --git a/view/install_checks.tpl b/view/install_checks.tpl
index 8a76c454c..176611d4b 100644
--- a/view/install_checks.tpl
+++ b/view/install_checks.tpl
@@ -1,6 +1,6 @@
<h1>$title</h1>
<h2>$pass</h2>
-<form action="$baseurl/install" method="post">
+<form action="$baseurl/index.php?q=install" method="post">
<table>
{{ for $checks as $check }}
<tr><td>$check.title </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if$check.required}}off{{else}}yellow{{endif}}{{endif}}"></td><td>{{if $check.required}}(required){{endif}}</td></tr>
@@ -19,6 +19,6 @@
<input type="submit" value="$next">
{{ else }}
<input type="hidden" name="pass" value="1">
- <input type="button" value="$reload" onclick="document.location.reload()">
+ <input type="submit" value="$reload">
{{ endif }}
</form>