summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-07-17 05:13:49 +0100
committerAndrew Dolgov <[email protected]>2008-07-17 05:13:49 +0100
commit27f5a18fcdd588a7f2f067ab8d7b9165b8b0e0e8 (patch)
tree70f9914b3360c2f546d862d6cd70a368749f66a5 /mobile
parent64eb624cad460c26bbebfc9dbfeecc1e0172b523 (diff)
add support for user stylesheets in mobile versions; specify ids for body elements in main pages
Diffstat (limited to 'mobile')
-rw-r--r--mobile/tt-rss.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mobile/tt-rss.php b/mobile/tt-rss.php
index 1fcea79fc..241dd3e58 100644
--- a/mobile/tt-rss.php
+++ b/mobile/tt-rss.php
@@ -99,8 +99,13 @@
<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="tt-rss.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 } ?>
</head>
-<body>
+<body id="ttrssMobile">
<div id="content">
<?php