diff options
author | Andrew Dolgov <[email protected]> | 2006-03-27 09:59:48 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-27 09:59:48 +0100 |
commit | 24ac67762bd554f6585c6b1b873575828b0ad6ca (patch) | |
tree | ce4d2aa1e2d57ba9084a7c5d9b7a561a8ab63fc6 /mobile/tt-rss.php | |
parent | 0d6b26ba729b3e3b246f1bfcef2b55d99801ef0e (diff) |
mobile: interface tweaks
Diffstat (limited to 'mobile/tt-rss.php')
-rw-r--r-- | mobile/tt-rss.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mobile/tt-rss.php b/mobile/tt-rss.php index eb212be0d..bd799dc65 100644 --- a/mobile/tt-rss.php +++ b/mobile/tt-rss.php @@ -39,6 +39,15 @@ return; } + $ts_id = db_escape_string($_GET["ts"]); + + if ($go == "vf" && $ts_id) { + $result = db_query($link, "UPDATE ttrss_user_entries SET marked = NOT marked + WHERE ref_id = '$ts_id' AND owner_uid = " . $_SESSION["uid"]); + $query_string = preg_replace("/&ts=[0-9]*/", "", $_SERVER["QUERY_STRING"]); + header("Location: tt-rss.php?$query_string"); + return; + } ?> <html> <head> |