From: Andrew Dolgov Date: Tue, 29 Mar 2011 12:00:06 +0000 (+0400) Subject: mobile/classic: remove USER_STYLESHEET_URL X-Git-Tag: 1.5.3~92 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7fc715a997cae462c1d036975a1878b4a4d5f7df;p=tt-rss.git mobile/classic: remove USER_STYLESHEET_URL --- diff --git a/mobile/classic/index.php b/mobile/classic/index.php index 21f17010..db2215b2 100644 --- a/mobile/classic/index.php +++ b/mobile/classic/index.php @@ -5,11 +5,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); @@ -24,7 +24,7 @@ $go = $_GET["go"]; if ($subop == "tc" && !$go) { - + $cat_id = db_escape_string($_GET["id"]); toggle_collapse_cat($link, $cat_id); @@ -89,11 +89,7 @@ - - - - - + @@ -102,7 +98,7 @@ if (!$go) { render_feeds_list($link); } else if ($go == "vf") { - render_headlines($link); + render_headlines($link); } else if ($go == "view") { render_article($link); } else if ($go == "sform") { diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index c78937dc..191facfd 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -5,8 +5,7 @@ $subop = $_REQUEST["subop"]; - $prefs_blacklist = array("HIDE_READ_FEEDS", "FEEDS_SORT_BY_UNREAD", - "USER_STYLESHEET_URL"); + $prefs_blacklist = array("HIDE_READ_FEEDS", "FEEDS_SORT_BY_UNREAD"); $profile_blacklist = array("ALLOW_DUPLICATE_POSTS", "PURGE_OLD_DAYS", "PURGE_UNREAD_ARTICLES", "DIGEST_ENABLE", "DIGEST_CATCHUP",