]>
git.wh0rd.org - tt-rss.git/blob - plugins/digest/digest_body.php
3 <! DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
8 < title
> Tiny Tiny RSS
</ title
>
11 require_once "lib/Mobile_Detect.php" ;
12 $mobile = new Mobile_Detect ();
14 if ( $mobile -> isMobile () ||
@ $_REQUEST [ 'mode' ] == 'mobile' ) {
15 $_SESSION [ "digest_mobile" ] = 1 ;
16 echo stylesheet_tag ( "plugins/digest/mobile.css" );
18 $_SESSION [ "digest_mobile" ] = 0 ;
19 echo stylesheet_tag ( "plugins/digest/digest.css" );
23 < meta name
= "viewport" content
= "width=device-width,
24 minimum-scale=1.0, maximum-scale=1.0" />
26 < meta http
- equiv
= "Content-Type" content
= "text/html; charset=utf-8" />
28 < ?php
print_user_stylesheet ( $link ) ?
>
30 < link rel
= "shortcut icon" type
= "image/png" href
= "images/favicon.png" />
33 foreach ( array ( "lib/prototype.js" ,
34 "lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls" ,
36 "plugins/digest/digest.js" ,
37 "errors.php?mode=js" ) as $jsfile ) {
39 echo javascript_tag ( $jsfile );
42 < script type
= "text/javascript" >
43 < ?php
init_js_translations (); ?
>
46 < script type
= "text/javascript" src
= "plugins/digest/digest.js" ></ script
>
48 < script type
= "text/javascript" >
49 Event
. observe ( window
, 'load' , function () {
50 init (< ?php
echo $_SESSION [ "digest_mobile" ] ?
>);
54 < body id
= "ttrssDigest" >
55 < div id
= "overlay" style
= "display : block" >
56 < div id
= "overlay_inner" >
59 < ?php
print_error ( __ ( "Your browser doesn't support Javascript, which is required for this application to function properly. Please check your browser settings." )) ?
></ p
>
62 < img src
= "images/indicator_white.gif" />
63 < ?php
echo __ ( "Loading, please wait..." ) ?
>
68 < a style
= "float : left" href
= "#" onclick
= "go_back()" >
69 < ?php
echo __ ( "Go back" ) ?
></ a
>
73 < ?php
if (! $_SESSION [ "hide_hello" ]) { ?
>
74 < ?php
echo __ ( 'Hello,' ) ?
> < b
>< ?php
echo $_SESSION [ "name" ] ?
></ b
> |
76 < ?php
if (! $_SESSION [ "hide_logout" ]) { ?
>
77 < a href
= "backend.php?op=logout" >< ?php
echo __ ( 'Logout' ) ?
></ a
> |
79 < a href
= '<?php echo get_self_url_prefix() ?>/index.php?mobile=false' >
80 < ?php
echo __ ( "Regular version" ) ?
></ a
>
85 < div id
= "article" >< div id
= "article-content" >& nbsp
;</ div
></ div
>
90 < ul id
= "feeds-content" > </ ul
>
94 < ul id
= "headlines-content" > </ ul
>