summaryrefslogtreecommitdiff
path: root/modules/pref-filters.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pref-filters.php')
-rw-r--r--modules/pref-filters.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/pref-filters.php b/modules/pref-filters.php
index f3ca8e4cb..c629f9c18 100644
--- a/modules/pref-filters.php
+++ b/modules/pref-filters.php
@@ -523,7 +523,8 @@
$result = db_query($link, "SELECT caption FROM ttrss_labels2
WHERE owner_uid = '".$_SESSION["uid"]."' ORDER BY caption");
- print "<select name=\"$name\" style=\"$style\">";
+ print "<select default=\"$value\" name=\"$name\" style=\"$style\"
+ onchange=\"labelSelectOnChange(this)\" >";
while ($line = db_fetch_assoc($result)) {
@@ -533,6 +534,8 @@
}
+ print "<option value=\"ADD_LABEL\">" .__("Add label...") . "</option>";
+
print "</select>";