summaryrefslogtreecommitdiff
path: root/classes/dlg.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-07 15:59:32 +0300
committerAndrew Dolgov <[email protected]>2015-07-07 15:59:32 +0300
commit9090b874abd254954a11d393a162bcf4ea7eb160 (patch)
tree5373d614bb8a14f2ea7a630d5e2fae1a530a142c /classes/dlg.php
parent2374294529305dde857a8f7966217ead9b93dc0e (diff)
simplify search, remove search_mode as useless
remove dialog to select by tags, simplify browsing by tag query
Diffstat (limited to 'classes/dlg.php')
-rw-r--r--classes/dlg.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/classes/dlg.php b/classes/dlg.php
index eee720ed4..7b1abca3a 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -161,37 +161,6 @@ class Dlg extends Handler_Protected {
}
- function printTagSelect() {
-
- print __("Match:"). "&nbsp;" .
- "<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);