diff options
author | Andrew Dolgov <[email protected]> | 2021-02-12 09:02:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-12 09:02:44 +0300 |
commit | d466284fabe945dbc3c8034ac1468bf97b38ed94 (patch) | |
tree | c500c2f43d8f6dae470072febe9177339c0c3bc3 /classes/pref/prefs.php | |
parent | cb7c075cd2db606f251b852342c2ed90ac591252 (diff) |
* customizeCSS: client dialog
* remove hardcoded width from most dialogs (move to css)
* add helper to easily get dialog from its widget
* rework some dialog buttons to use current object instead of calling dialog by name
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 50a1f39c8..df4540c5e 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -1168,7 +1168,9 @@ class Pref_Prefs extends Handler_Protected { $value = get_pref("USER_STYLESHEET"); $value = str_replace("<br/>", "\n", $value); - print_notice(__("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here.")); + print json_encode(["value" => $value]); + + /*print_notice(__("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here.")); print_hidden("op", "rpc"); print_hidden("method", "setpref"); @@ -1188,7 +1190,7 @@ class Pref_Prefs extends Handler_Protected { onclick=\"dijit.byId('cssEditDlg').execute()\">".__('Save and reload')."</button> "; print "<button dojoType='dijit.form.Button' onclick=\"dijit.byId('cssEditDlg').hide()\">".__('Cancel')."</button>"; - print "</footer>"; + print "</footer>";*/ } |