diff --git a/classes/feeds.php b/classes/feeds.php
index 4e6fdbaf8..43c8bf584 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -608,7 +608,7 @@ class Feeds extends Handler_Protected {
print "
";
}
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php
index 636f2d69b..ce2d321bd 100755
--- a/classes/pref/feeds.php
+++ b/classes/pref/feeds.php
@@ -644,8 +644,10 @@ class Pref_Feeds extends Handler_Protected {
$local_purge_intervals = [ T_nsprintf('%d day', '%d days', $purge_interval, $purge_interval) ];
}
- print \Controls\select_hash("purge_interval", $purge_interval, $local_purge_intervals,
- ((FORCE_ARTICLE_PURGE == 0) ? "" : 'disabled="1"'));
+ print \Controls\select_hash("purge_interval",
+ $purge_interval,
+ $local_purge_intervals,
+ (FORCE_ARTICLE_PURGE == 0) ? [] : ["disabled" => 1]);
print "";
@@ -815,8 +817,6 @@ class Pref_Feeds extends Handler_Protected {
print_notice("Enable the options you wish to apply using checkboxes on the right:");
- print "";
-
print \Controls\hidden_tag("ids", "$feed_ids");
print \Controls\hidden_tag("op", "pref-feeds");
print \Controls\hidden_tag("method", "batchEditSave");
@@ -846,8 +846,7 @@ class Pref_Feeds extends Handler_Protected {
print "
diff --git a/plugins/mail/init.php b/plugins/mail/init.php
index ffd0397e0..c054196df 100644
--- a/plugins/mail/init.php
+++ b/plugins/mail/init.php
@@ -160,7 +160,8 @@ class Mail extends Plugin {
style=\"width : 30em;\"
name=\"destination\" id=\"emailArticleDlg_destination\">"; */
- print \Controls\select_tag("destination", "", $addresslist, 'style="width: 30em" dojoType="dijit.form.ComboBox"');
+ print \Controls\select_tag("destination", "", $addresslist,
+ ["style" => "width: 30em", "dojoType" => "dijit.form.ComboBox"]);
/* print ""; */