mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-20 13:55:27 +00:00
label editor: simple control to add common rules
This commit is contained in:
@@ -5646,4 +5646,28 @@
|
||||
print "</table>";
|
||||
}
|
||||
|
||||
function print_label_dlg_common_examples() {
|
||||
|
||||
print __("Match ") . " ";
|
||||
|
||||
print "<select name=\"label_fields\" onchange=\"labelFieldsCheck(this)\">";
|
||||
print "<option value=\"unread\">".__("Unread articles")."</option>";
|
||||
print "<option value=\"updated\">".__("Updated articles")."</option>";
|
||||
print "<option value=\"kw_title\">".__("Title contains")."</option>";
|
||||
print "<option value=\"kw_content\">".__("Content contains")."</option>";
|
||||
print "<option value=\"scoreE\">".__("Score is equals")."</option>";
|
||||
print "<option value=\"scoreG\">".__("Score is less than")."</option>";
|
||||
print "<option value=\"scoreL\">".__("Score is greater than")."</option>";
|
||||
print "<option value=\"newerH\">".__("Articles newer than X hours")."</option>";
|
||||
print "<option value=\"newerD\">".__("Articles newer than X days")."</option>";
|
||||
|
||||
print "</select>";
|
||||
|
||||
print "<input style=\"display : none\" name=\"label_fields_param\"
|
||||
size=\"10\">";
|
||||
|
||||
print " <input type=\"submit\"
|
||||
onclick=\"return addLabelExample()\"
|
||||
value=\"".__("Add")."\">";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user