From a3b946e96703cc75ca3f8fc0406b4de21ecc5adc Mon Sep 17 00:00:00 2001 From: Dennis Ried Date: Wed, 18 Sep 2024 07:59:12 +0200 Subject: [PATCH 1/7] redirecting if no edition --- add/controller.xql | 7 ++++++- add/index-empty.html | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 add/index-empty.html diff --git a/add/controller.xql b/add/controller.xql index b3046c85b..b3584e34c 100755 --- a/add/controller.xql +++ b/add/controller.xql @@ -29,7 +29,12 @@ return else if ($exist:path eq "/") then (: redirect root path to index.html :) - + { + if (request:get-parameter("edition", "") = "") then + + else + + } else if ($exist:path eq "/index.html") then (: forward index.html to index.xql :) diff --git a/add/index-empty.html b/add/index-empty.html new file mode 100644 index 000000000..964f9a942 --- /dev/null +++ b/add/index-empty.html @@ -0,0 +1,43 @@ + + + + Edirom-Online + + + + + + + + + + - - -