mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-05 11:59:15 +00:00
mobile: fix headline ordering
mobile: fix htmlpurifier cache being included from wrong directory mobile: implement ability to mark article as unread (closes #367)
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
|
||||
require_once "../config.php";
|
||||
require_once "functions.php";
|
||||
require_once "../functions.php";
|
||||
require_once "../functions.php";
|
||||
|
||||
require_once "../sessions.php";
|
||||
|
||||
require_once "../version.php";
|
||||
require_once "../version.php";
|
||||
require_once "../db-prefs.php";
|
||||
|
||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
||||
@@ -35,6 +35,13 @@
|
||||
|
||||
publishArticlesById($link, array($id), $cmode);
|
||||
break;
|
||||
case "toggleUnread":
|
||||
$cmode = db_escape_string($_REQUEST["unread"]);
|
||||
$id = db_escape_string($_REQUEST["id"]);
|
||||
|
||||
catchupArticlesById($link, array($id), $cmode);
|
||||
break;
|
||||
|
||||
case "setPref":
|
||||
$id = db_escape_string($_REQUEST["id"]);
|
||||
$value = db_escape_string($_REQUEST["to"]);
|
||||
|
||||
Reference in New Issue
Block a user