diff options
author | Andrew Dolgov <[email protected]> | 2018-12-06 08:56:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-06 08:56:28 +0300 |
commit | 814e49f8f78c349b471726c01d7a7cd2eb5121c3 (patch) | |
tree | 8c43323f673478d24885723ce5316a9f8262b8d2 /classes/pref/prefs.php | |
parent | 7d5be47a2e0e6ddc545fa9db3ed8844f67f42ffd (diff) |
add icons to accordion panels in preferences
fix typo in pref-prefs closing panel tag
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 92a5f0818..045e0bc98 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -176,7 +176,8 @@ class Pref_Prefs extends Handler_Protected { $_SESSION["prefs_op_result"] = ""; print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">"; - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Personal data / Authentication')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" + title=\"<i class='material-icons'>person</i> ".__('Personal data / Authentication')."\">"; print "<form dojoType=\"dijit.form.Form\" id=\"changeUserdataForm\">"; @@ -422,7 +423,8 @@ class Pref_Prefs extends Handler_Protected { print "</div>"; #pane - print "<div dojoType=\"dijit.layout.AccordionPane\" selected=\"true\" title=\"".__('Preferences')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" selected=\"true\" + title=\"<i class='material-icons'>settings</i> ".__('Preferences')."\">"; print "<form dojoType=\"dijit.form.Form\" id=\"changeSettingsForm\">"; @@ -675,7 +677,8 @@ class Pref_Prefs extends Handler_Protected { print "</div>"; #pane - print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Plugins')."\">"; + print "<div dojoType=\"dijit.layout.AccordionPane\" + title=\"<i class='material-icons'>extension</i> ".__('Plugins')."\">"; print "<form dojoType=\"dijit.form.Form\" id=\"changePluginsForm\">"; @@ -839,14 +842,16 @@ class Pref_Prefs extends Handler_Protected { print "</div>"; #pane print "</div>"; #pane - print "</doiv>"; #border-container + print "</div>"; #border-container print "</form>"; + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, "hook_prefs_tab", "prefPrefs"); print "</div>"; #container + } function toggleAdvanced() { |