From 4498e62c889c4851001583f0b47107a48df08055 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 22 Mar 2015 18:13:11 +0000 Subject: [PATCH] relative URI syntax in form actions, link references and redirects svn path=/trunk/; revision=62 --- action.sh | 2 +- templates/Admin.page | 2 +- templates/Home.page | 8 ++++---- templates/Tasks.page | 8 ++++---- templates/Wiki_list.page | 10 +++++----- templates/Wiki_show.page | 10 +++++----- templates/frame.html.sh | 10 +++++----- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/action.sh b/action.sh index 0c46d73..a0240d9 100755 --- a/action.sh +++ b/action.sh @@ -19,6 +19,6 @@ ACTION="$(echo "$_GET[\"action\"]" |egrep '^[a-zA-Z0-9_-]+$')" ACTION="${_EXEC}/actions/${ACTION}.sh" -[ -x "$ACTION" ] || echo -n "Location: http://$HTTP_HOST/?page=error\n\n" +[ -x "$ACTION" ] || echo -n "Location: ?page=error\n\n" . $ACTION diff --git a/templates/Admin.page b/templates/Admin.page index e869e4b..d5427fd 100644 --- a/templates/Admin.page +++ b/templates/Admin.page @@ -3,7 +3,7 @@ cat <
-
+

General

Title Display diff --git a/templates/Home.page b/templates/Home.page index e12b78f..ab36ee4 100644 --- a/templates/Home.page +++ b/templates/Home.page @@ -12,7 +12,7 @@ EOF edit_intro(){ cat <