Skip to content

Commit

Permalink
Update createAllskyOptions.php: add "usage" field
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Sep 20, 2023
1 parent a586c3d commit 87b0c59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions html/includes/createAllskyOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 87b0c59

Please sign in to comment.