diff options
Diffstat (limited to 'classes/dlg.php')
-rw-r--r-- | classes/dlg.php | 31 |
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:"). " " . - "<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 " "; - 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 " "; - print "<button dojoType=\"dijit.form.Button\" - onclick=\"return closeInfoBox()\">" . - __('Close this window') . "</button>"; - print "</div>"; - - } - function generatedFeed() { $this->params = explode(":", $this->param, 3); |