From 87b0c5930a0daae00412f6bdd7a83ff017204f21 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:44:04 -0500 Subject: [PATCH] Update createAllskyOptions.php: add "usage" field --- html/includes/createAllskyOptions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/includes/createAllskyOptions.php b/html/includes/createAllskyOptions.php index 82d6c67c0..2fa829167 100755 --- a/html/includes/createAllskyOptions.php +++ b/html/includes/createAllskyOptions.php @@ -319,6 +319,7 @@ function add_options_field($field, $options, $setting) { // description [string] // label [string] // type [string] + // usage [string] // options [array with 1 or more entries] (only if "type" == "select") // popup-yesno [string] // popup-yesno-value [number or string] @@ -410,6 +411,7 @@ function add_options_field($field, $options, $setting) { add_non_null_field($repo, "description", $name); add_non_null_field($repo, "label", $name); add_non_null_field($repo, "type", $name); + add_non_null_field($repo, "usage", $name); add_non_null_field($repo, "options", $name); add_non_null_field($repo, "popup-yesno", $name); add_non_null_field($repo, "popup-yesno-value", $name);