summaryrefslogtreecommitdiff
path: root/classes/pref/system.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-16 14:23:00 +0300
committerAndrew Dolgov <[email protected]>2021-02-16 14:23:00 +0300
commit26d6b84a572b5cbd99acffc5ae727ea6d1be543a (patch)
treedd1f491b0e46efa92f0b1eeed85253120e519347 /classes/pref/system.php
parentcb6b3584ce6160b69ee03f1a31660a430cb06854 (diff)
add namespaced controls with unified naming; deprecated old-style control shortcuts
Diffstat (limited to 'classes/pref/system.php')
-rw-r--r--classes/pref/system.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/system.php b/classes/pref/system.php
index f0a5f7b7f..d3b733364 100644
--- a/classes/pref/system.php
+++ b/classes/pref/system.php
@@ -90,12 +90,12 @@ class Pref_System extends Handler_Administrative {
<div class='pull-right'>
<?= __("Severity:") ?>
- <?php print_select_hash("severity", $severity,
+ <?= \Controls\select_hash("severity", $severity,
[
E_USER_ERROR => __("Errors"),
E_USER_WARNING => __("Warnings"),
E_USER_NOTICE => __("Everything")
- ], 'dojoType="fox.form.Select" onchange="Helpers.EventLog.refresh()"') ?>
+ ], 'onchange="Helpers.EventLog.refresh()"', "severity") ?>
</div>
</div>