From d7127cead362ba00b0defd93b2091ce15aeae2f3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Feb 2021 14:42:27 +0300 Subject: [PATCH] feed debugger: use hidden helpers; add button helpers --- classes/feeds.php | 14 +++++++------- include/controls.php | 8 ++++++++ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/classes/feeds.php b/classes/feeds.php index aa1f889e0..400c302d6 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -697,12 +697,12 @@ class Feeds extends Handler_Protected {

Feed Debugger: _get_title($feed_id) ?>

-
- - - - - + + + + + +
- +

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'" : "";