1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 12:49:15 +00:00

allow adding labels on the fly

This commit is contained in:
Andrew Dolgov
2010-11-09 01:04:00 +03:00
parent ec16da866b
commit 1c31e1908a
3 changed files with 54 additions and 6 deletions

View File

@@ -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>";