diff --git a/pages/run.php b/pages/run.php index 005baf2..e49af0d 100644 --- a/pages/run.php +++ b/pages/run.php @@ -245,8 +245,6 @@
- -
@@ -264,62 +262,53 @@
-
-
- + + + - - -
-
-
-
- - - - -
-
+ + + + + +
:
-
-
- - -
- 0): ?> - - + - $strInputTypeHTML = "text"; + + 0): ?> + + 0) - $strInputDefaultValue = $varInputs[5][$i]; + if ($strInputType == "datetime") + $strInputTypeHTML = "date"; - $varOptions = []; - if (strtolower($varInputs[4][$i]) == "options") - { - $strOptionsList = $varInputs[5][$i]; - $varOptions = explode(",", $strOptionsList); - } - ?> + $strInputDefaultValue = ""; + if (strtolower($varInputs[4][$i]) == "default") + if (strlen($varInputs[5][$i]) > 0) + $strInputDefaultValue = $varInputs[5][$i]; + + $varOptions = []; + if (strtolower($varInputs[4][$i]) == "options") + { + $strOptionsList = $varInputs[5][$i]; + $varOptions = explode(",", $strOptionsList); + } + ?> -
-
@@ -350,64 +339,46 @@
- -
-
-
- - - + + - -
-
Execute
-
-
- -
+ + - - -
-
+
The selected report requires being logged in as a user with permission to run it.
-
+
- + 0) - $varDirectories[$strDirectory] = 1; - } - - //Respond::json($varDirectoryKeys); - ?> - -
+ if (strlen($strDirectory) > 0) + $varDirectories[$strDirectory] = 1; + } + ?> +
@@ -425,8 +396,8 @@
- + @@ -467,7 +438,7 @@
- +