From bf6d0f28173ca38968e5a23b86758d1dce133e1d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Feb 2021 10:35:13 +0300 Subject: various dialog-related fixes; stop referring to many dialogs by name; move filter test initial dialog to client side --- classes/pref/prefs.php | 42 ++++++++++-------------------------------- 1 file changed, 10 insertions(+), 32 deletions(-) (limited to 'classes/pref/prefs.php') diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index df4540c5e..7385ae28c 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -1169,29 +1169,6 @@ class Pref_Prefs extends Handler_Protected { $value = str_replace("
", "\n", $value); 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"); - print_hidden("key", "USER_STYLESHEET"); - - print ""; - - print ""; - - print "";*/ - } function editPrefProfiles() { @@ -1220,9 +1197,9 @@ class Pref_Prefs extends Handler_Protected { WHERE owner_uid = ? ORDER BY title"); $sth->execute([$_SESSION['uid']]); - print "
"; + print "
"; - print ""; + print "
"; print ""; @@ -1277,18 +1254,19 @@ class Pref_Prefs extends Handler_Protected { } print "
"; - print ""; print "
"; print ""; + print ""; + } private function getShortDesc($pref_name) { -- cgit v1.2.3-54-g00ecf