summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-09 18:10:22 +0300
committerAndrew Dolgov <[email protected]>2010-11-09 18:10:22 +0300
commit24e2bb3a9254f8f4f3ea72ec27a189dbca5f891d (patch)
tree766a0271e9303cc26dc05908c2ad8740141867fb /modules
parent4be1b04dcb400bc4d4be9967b28a21eade3c3f9e (diff)
move print_label_select to functions.php
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-filters.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/pref-filters.php b/modules/pref-filters.php
index 18d25a82f..88b4087ce 100644
--- a/modules/pref-filters.php
+++ b/modules/pref-filters.php
@@ -518,26 +518,4 @@
}
}
- function print_label_select($link, $name, $value, $style = "") {
-
- $result = db_query($link, "SELECT caption FROM ttrss_labels2
- WHERE owner_uid = '".$_SESSION["uid"]."' ORDER BY caption");
-
- print "<select default=\"$value\" name=\"" . htmlspecialchars($name) .
- "\" style=\"$style\" onchange=\"labelSelectOnChange(this)\" >";
-
- while ($line = db_fetch_assoc($result)) {
-
- $issel = ($line["caption"] == $value) ? "selected=\"1\"" : "";
-
- print "<option $issel>" . htmlspecialchars($line["caption"]) . "</option>";
-
- }
-
- print "<option value=\"ADD_LABEL\">" .__("Add label...") . "</option>";
-
- print "</select>";
-
-
- }
?>