summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-11 20:48:17 +0300
committerAndrew Dolgov <[email protected]>2018-12-11 20:48:17 +0300
commitbe49b77b14ac724cf8b35f2f077cdfaf990c0a7e (patch)
tree5a745339c6ff2ee397c5aa3f18e50f818d45c9c2 /classes/pref
parent6c9509ebae43a10b54c838ed7b027e4288a4c3b5 (diff)
Revert "use codeflask for user css editor"
This reverts commit daa43e05727d4cd4d7b261a5be3faefab4263dcd.
Diffstat (limited to 'classes/pref')
-rw-r--r--classes/pref/prefs.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index af8f86284..1e7180f17 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -992,7 +992,12 @@ class Pref_Prefs extends Handler_Protected {
print_hidden("method", "setpref");
print_hidden("key", "USER_STYLESHEET");
- print "<div class='panel' id='user-css-editor'>$value</div>";
+ print "<table width='100%'><tr><td>";
+ print "<textarea dojoType=\"dijit.form.SimpleTextarea\"
+ style='font-size : 12px; width : 98%; height: 200px;'
+ placeHolder='body#ttrssMain { font-size : 14px; };'
+ name='value'>$value</textarea>";
+ print "</td></tr></table>";
print "<div class='dlgButtons'>";
print "<button dojoType=\"dijit.form.Button\"