From d7127cead362ba00b0defd93b2091ce15aeae2f3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Feb 2021 14:42:27 +0300 Subject: feed debugger: use hidden helpers; add button helpers --- include/controls.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/controls.php') diff --git a/include/controls.php b/include/controls.php index 34a4af1f2..78f02233f 100755 --- a/include/controls.php +++ b/include/controls.php @@ -1,6 +1,14 @@ ".htmlspecialchars($value).""; + } + + function submit_tag(string $value, $attributes = "") { + return button_tag($value, "submit", "class=\"alt-primary\" $attributes"); + } + function select_tag(string $name, $value, array $values, string $attributes = "", string $id = "") { $dojo_type = strpos($attributes, "dojoType") === false ? "dojoType='fox.form.Select'" : ""; -- cgit v1.2.3