Exemple #1
0
        if ($sop == "mu") {
            markUnread($link, $a_id);
        }
        $query_string = str_replace("&sop={$sop}", "", $_SERVER["QUERY_STRING"]);
        header("Location: index.php?{$query_string}");
    }
}
?>
<html>
<head>
	<title>Tiny Tiny RSS</title>
	<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 
print_user_stylesheet($link);
?>
</head>
<body id="ttrssMobile">

<div id="content">
<?php 
if (!$go) {
    render_feeds_list($link);
} else {
    if ($go == "vf") {
        render_headlines($link);
    } else {
        if ($go == "view") {
            render_article($link);
        } else {
Exemple #2
0
echo stylesheet_tag("css/layout.css");
?>

	<?php 
if ($_SESSION["uid"]) {
    $theme = get_pref("USER_CSS_THEME", $_SESSION["uid"], false);
    if ($theme && theme_valid("{$theme}")) {
        echo stylesheet_tag("themes/{$theme}");
    } else {
        echo stylesheet_tag("themes/default.css");
    }
}
?>

	<?php 
print_user_stylesheet();
?>

	<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
	<link rel="icon" type="image/png" sizes="72x72" href="images/favicon-72px.png" />

	<?php 
foreach (array("lib/prototype.js", "lib/scriptaculous/scriptaculous.js?load=effects,controls", "lib/dojo/dojo.js", "lib/dojo/tt-rss-layer.js", "errors.php?mode=js") as $jsfile) {
    echo javascript_tag($jsfile);
}
?>

	<script type="text/javascript">
		require({cache:{}});
	<?php 
require_once 'lib/jshrink/Minifier.php';