From: Andrew Dolgov Date: Tue, 9 Nov 2010 15:10:22 +0000 (+0300) Subject: move print_label_select to functions.php X-Git-Tag: 1.5.0~334 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=24e2bb3a9254f8f4f3ea72ec27a189dbca5f891d;p=tt-rss.git move print_label_select to functions.php --- diff --git a/functions.php b/functions.php index 2d0f4061..bc3b2882 100644 --- a/functions.php +++ b/functions.php @@ -7086,4 +7086,28 @@ return true; } + + 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 ""; + + + } + ?> diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 18d25a82..88b4087c 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 ""; - - - } ?>