1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

more i18n work, add some report notices

This commit is contained in:
Andrew Dolgov
2007-03-05 14:45:34 +01:00
parent 4dccf1ed93
commit 5e6f933a32
5 changed files with 52 additions and 24 deletions

View File

@@ -149,7 +149,11 @@
inverse = $inverse,
action_param = '$action_param'
WHERE id = '$filter_id' AND owner_uid = " . $_SESSION["uid"]);
if (db_affected_rows($link, $result) != 0) {
print_notice(T_sprintf("Saved filter <b>%s</b>", htmlspecialchars($reg_exp)));
}
}
if ($subop == "remove") {
@@ -186,7 +190,11 @@
('$regexp', '$filter_type','".$_SESSION["uid"]."',
$feed_id, '$action_id', '$action_param', $inverse)");
print_notice(T_sprintf("Created filter <b>%s</b>", htmlspecialchars($regexp)));
if (db_affected_rows($link, $result) != 0) {
print T_sprintf("Created filter <b>%s</b>", htmlspecialchars($regexp));
}
return;
}
if ($quiet) return;