]> git.wh0rd.org - tt-rss.git/blobdiff - classes/dlg.php
simplify search, remove search_mode as useless
[tt-rss.git] / classes / dlg.php
index eee720ed40a25c271c706e26790d9a400b90d1dd..7b1abca3a49ce1857a7248e2a95ab19afd84a96c 100644 (file)
@@ -161,37 +161,6 @@ class Dlg extends Handler_Protected {
 
        }
 
-       function printTagSelect() {
-
-               print __("Match:"). " " .
-                       "<input class=\"noborder\" dojoType=\"dijit.form.RadioButton\" type=\"radio\" checked value=\"any\" name=\"tag_mode\" id=\"tag_mode_any\">";
-               print "<label for=\"tag_mode_any\">".__("Any")."</label>";
-               print "&nbsp;";
-               print "<input class=\"noborder\" dojoType=\"dijit.form.RadioButton\" type=\"radio\" value=\"all\" name=\"tag_mode\" id=\"tag_mode_all\">";
-               print "<label for=\"tag_mode_all\">".__("All tags.")."</input>";
-
-               print "<select id=\"all_tags\" name=\"all_tags\" title=\"" . __('Which Tags?') . "\" multiple=\"multiple\" size=\"10\" style=\"width : 100%\">";
-               $result = $this->dbh->query("SELECT DISTINCT tag_name FROM ttrss_tags WHERE owner_uid = ".$_SESSION['uid']."
-                       AND LENGTH(tag_name) <= 30 ORDER BY tag_name ASC");
-
-               while ($row = $this->dbh->fetch_assoc($result)) {
-                       $tmp = htmlspecialchars($row["tag_name"]);
-                       print "<option value=\"$tmp\">$tmp</option>";
-               }
-
-               print "</select>";
-
-               print "<div align='right'>";
-               print "<button dojoType=\"dijit.form.Button\" onclick=\"viewfeed(get_all_tags($('all_tags')),
-                       get_radio_checked($('tag_mode')));\">" . __('Display entries') . "</button>";
-               print "&nbsp;";
-               print "<button dojoType=\"dijit.form.Button\"
-               onclick=\"return closeInfoBox()\">" .
-                       __('Close this window') . "</button>";
-               print "</div>";
-
-       }
-
        function generatedFeed() {
 
                $this->params = explode(":", $this->param, 3);