add support for user stylesheets in mobile versions; specify ids for body elements in main pages

This commit is contained in:
Andrew Dolgov 2008-07-17 05:13:49 +01:00
parent 64eb624cad
commit 27f5a18fcd
3 changed files with 8 additions and 3 deletions

View file

@ -99,8 +99,13 @@
<link rel="stylesheet" type="text/css" href="mobile.css"> <link rel="stylesheet" type="text/css" href="mobile.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="tt-rss.js"></script> <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> </head>
<body> <body id="ttrssMobile">
<div id="content"> <div id="content">
<?php <?php

View file

@ -58,7 +58,7 @@
</script> </script>
</head> </head>
<body> <body id="ttrssPrefs">
<div id="overlay"> <div id="overlay">
<div id="overlay_inner"> <div id="overlay_inner">

View file

@ -59,7 +59,7 @@
</script> </script>
</head> </head>
<body onresize="resize_headlines()"> <body onresize="resize_headlines()" id="ttrssMain">
<div id="overlay"> <div id="overlay">
<div id="overlay_inner"> <div id="overlay_inner">