]>
git.wh0rd.org - tt-rss.git/blob - plugins/digest/digest_body.php
1 <! DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
6 < title
> Tiny Tiny RSS
</ title
>
9 require_once "lib/Mobile_Detect.php" ;
10 $mobile = new Mobile_Detect ();
12 if ( $mobile -> isMobile () ||
@ $_REQUEST [ 'mode' ] == 'mobile' ) {
13 $_SESSION [ "digest_mobile" ] = 1 ;
14 echo stylesheet_tag ( "plugins/digest/mobile.css" );
16 $_SESSION [ "digest_mobile" ] = 0 ;
17 echo stylesheet_tag ( "plugins/digest/digest.css" );
21 < meta name
= "viewport" content
= "width=device-width,
22 minimum-scale=1.0, maximum-scale=1.0" />
24 < meta http
- equiv
= "Content-Type" content
= "text/html; charset=utf-8" />
26 < ?php
print_user_stylesheet (); ?
>
28 < link rel
= "shortcut icon" type
= "image/png" href
= "images/favicon.png" />
31 foreach ( array ( "lib/prototype.js" ,
32 "lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls" ,
34 "plugins/digest/digest.js" ,
35 "errors.php?mode=js" ) as $jsfile ) {
37 echo javascript_tag ( $jsfile );
40 < script type
= "text/javascript" >
41 < ?php
init_js_translations (); ?
>
44 < script type
= "text/javascript" src
= "plugins/digest/digest.js" ></ script
>
46 < script type
= "text/javascript" >
47 Event
. observe ( window
, 'load' , function () {
48 init (< ?php
echo $_SESSION [ "digest_mobile" ] ?
>);
52 < body id
= "ttrssDigest" >
53 < div id
= "overlay" style
= "display : block" >
54 < div id
= "overlay_inner" >
57 < ?php
print_error ( __ ( "Your browser doesn't support Javascript, which is required for this application to function properly. Please check your browser settings." )) ?
></ p
>
60 < img src
= "images/indicator_white.gif" />
61 < ?php
echo __ ( "Loading, please wait..." ) ?
>
66 < a style
= "float : left" href
= "#" onclick
= "go_back()" >
67 < ?php
echo __ ( "Go back" ) ?
></ a
>
71 < ?php
if (! $_SESSION [ "hide_hello" ]) { ?
>
72 < ?php
echo __ ( 'Hello,' ) ?
> < b
>< ?php
echo $_SESSION [ "name" ] ?
></ b
> |
74 < ?php
if (! $_SESSION [ "hide_logout" ]) { ?
>
75 < a href
= "backend.php?op=logout" >< ?php
echo __ ( 'Logout' ) ?
></ a
> |
77 < a href
= '<?php echo get_self_url_prefix() ?>/index.php?mobile=false' >
78 < ?php
echo __ ( "Regular version" ) ?
></ a
>
83 < div id
= "article" >< div id
= "article-content" >& nbsp
;</ div
></ div
>
88 < ul id
= "feeds-content" > </ ul
>
92 < ul id
= "headlines-content" > </ ul
>