diff options
author | Andrew Dolgov <[email protected]> | 2011-03-29 16:00:06 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-03-29 16:00:06 +0400 |
commit | 7fc715a997cae462c1d036975a1878b4a4d5f7df (patch) | |
tree | 8b4f7968efad22eb2c2e7b13079eddd0655a1367 /mobile/classic/index.php | |
parent | c9b63492fa95e96e11e4d487a4c56c8b3aa0962e (diff) |
mobile/classic: remove USER_STYLESHEET_URL
Diffstat (limited to 'mobile/classic/index.php')
-rw-r--r-- | mobile/classic/index.php | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/mobile/classic/index.php b/mobile/classic/index.php index 21f170106..db2215b24 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 @@ <link rel="stylesheet" type="text/css" href="mobile.css"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript" src="mobile.js"></script> - - <?php $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?> - <?php if ($user_css_url) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_css_url ?>"/> - <?php } ?> + <?php print_user_stylesheet($link) ?> </head> <body id="ttrssMobile"> @@ -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") { |