X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=classes%2Fdlg.php;h=d13a9ecb6891d8b1859ef073a7d9f76c3a7cdc04;hb=fb54e3b1887ae2d365c139296ebb03dc523478f5;hp=e03489505a8bab301ad8af2f73c37196d1a6e1e7;hpb=a2a3d5a3aa937441e8cf29fd2d7626e6dade879c;p=tt-rss.git diff --git a/classes/dlg.php b/classes/dlg.php index e0348950..d13a9ecb 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -4,21 +4,15 @@ class Dlg extends Handler_Protected { function before($method) { if (parent::before($method)) { - header("Content-Type: text/xml; charset=utf-8"); + header("Content-Type: text/html"); # required for iframe + $this->param = db_escape_string($this->link, $_REQUEST["param"]); - print ""; return true; } return false; } - function after() { - print ""; - } - function importOpml() { - header("Content-Type: text/html"); # required for iframe - print __("If you have imported labels and/or filters, you might need to reload preferences to see your new data.") . "

"; print "
"; @@ -165,9 +159,6 @@ class Dlg extends Handler_Protected { } function pubOPMLUrl() { - print "".__('Public OPML URL').""; - print "link); print __("Your Public OPML URL is:"); @@ -185,15 +176,11 @@ class Dlg extends Handler_Protected { __('Close this window').""; print "
"; - print "]]>"; //return; } function explainError() { - print "".__('Notice').""; - print ""; if ($this->param == 1) { @@ -222,7 +209,6 @@ class Dlg extends Handler_Protected { __('Close this window').""; print ""; - print "]]>"; //return; } @@ -442,9 +428,6 @@ class Dlg extends Handler_Protected { } function printTagCloud() { - print "".__('Tag Cloud').""; - print ""; // from here: http://www.roscripts.com/Create_tag_cloud-71.html @@ -506,14 +489,10 @@ class Dlg extends Handler_Protected { __('Close this window').""; print ""; - print "]]>"; } function printTagSelect() { - print "" . __('Select item(s) by tags') . ""; - print ""; print ""; @@ -541,14 +520,10 @@ class Dlg extends Handler_Protected { __('Close this window') . ""; print ""; - print "]]>"; } function generatedFeed() { - print "".__('View as RSS').""; - print "params = explode(":", $this->param, 3); $feed_id = db_escape_string($this->link, $this->params[0]); $is_cat = (bool) $this->params[1]; @@ -572,7 +547,6 @@ class Dlg extends Handler_Protected { __('Close this window').""; print ""; - print "]]>"; //return; }