From 79f3553b8b82e9b62b82456bdcdf74a4abe162fe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 20 May 2006 12:39:22 +0100 Subject: create filter dialog uses prototype --- functions.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 0f05f8aec..d9df9ca3a 100644 --- a/functions.php +++ b/functions.php @@ -653,7 +653,7 @@ } function print_select($id, $default, $values, $attributes = "") { - print ""; foreach ($values as $v) { if ($v == $default) $sel = " selected"; @@ -665,8 +665,8 @@ print ""; } - function print_select_hash($id, $values, $default, $attributes = "") { - print ""; foreach (array_keys($values) as $v) { if ($v == $default) $sel = "selected"; @@ -1582,9 +1582,9 @@ function print_feed_select($link, $id, $default_id = "", $attributes = "", $include_all_feeds = true) { - print ""; if ($include_all_feeds) { - print ""; + print ""; } $result = db_query($link, "SELECT id,title FROM ttrss_feeds @@ -1600,7 +1600,7 @@ } else { $is_selected = ""; } - printf("", + printf("", $line["id"], db_unescape_string($line["title"])); } @@ -1610,7 +1610,7 @@ function print_feed_cat_select($link, $id, $default_id = "", $attributes = "", $include_all_cats = true) { - print ""; if ($include_all_cats) { print ""; -- cgit v1.2.3