1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-02 11:09:15 +00:00

rework controls to accept parameters as array

This commit is contained in:
Andrew Dolgov
2021-02-16 16:59:21 +03:00
parent 627af2c236
commit bdbbdbb0ed
8 changed files with 49 additions and 35 deletions

View File

@@ -142,7 +142,8 @@
<label> </label>
<label id="bw_limit_label">
<?= \Controls\checkbox_tag("safe_mode", false, "", "onchange='UtilityApp.bwLimitChange(this)'", 'bw_limit') ?>
<?= \Controls\checkbox_tag("bw_limit", false, "",
["onchange" => 'UtilityApp.bwLimitChange(this)'], 'bw_limit') ?>
<?= __("Use less traffic") ?></label>
</fieldset>