summaryrefslogtreecommitdiff
path: root/classes/dlg.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-01 12:30:34 +0400
committerAndrew Dolgov <[email protected]>2013-04-01 12:30:34 +0400
commit00e347410e4ba71601ee8b938fe7b2e09ec54649 (patch)
treec8f727397e236d0e53b460df0f9cb5af5d6a4180 /classes/dlg.php
parent022af85b1915383a3802565dc6f4e79cfaa5c16f (diff)
move customizeCSS to pref-prefs
Diffstat (limited to 'classes/dlg.php')
-rw-r--r--classes/dlg.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/classes/dlg.php b/classes/dlg.php
index 75cbbd74d..36f3ee075 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -383,33 +383,6 @@ class Dlg extends Handler_Protected {
}
- function customizeCSS() {
- $value = get_pref($this->link, "USER_STYLESHEET");
-
- $value = str_replace("<br/>", "\n", $value);
-
- print_notice(T_sprintf("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here. <a target=\"_blank\" class=\"visibleLink\" href=\"%s\">This file</a> can be used as a baseline.", "tt-rss.css"));
-
- print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"rpc\">";
- print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"setpref\">";
- print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"key\" value=\"USER_STYLESHEET\">";
-
- print "<table width='100%'><tr><td>";
- print "<textarea dojoType=\"dijit.form.SimpleTextarea\"
- style='font-size : 12px; width : 100%; 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\"
- onclick=\"dijit.byId('cssEditDlg').execute()\">".__('Save')."</button> ";
- print "<button dojoType=\"dijit.form.Button\"
- onclick=\"dijit.byId('cssEditDlg').hide()\">".__('Cancel')."</button>";
- print "</div>";
-
- }
-
function addInstance() {
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"pref-instances\">";
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"add\">";