/* preferences layout */
-/* #prefFooter {
- position : absolute;
- bottom : 0px;
- height : 20px;
- text-align : center;
- color : gray;
- font-size : 12px;
- background-image : url("images/footer.png");
- background-position : top left;
- background-repeat : repeat-x;
- background-color : white;
- right : 0px;
- left : 261px;
- padding : 10px;
- border-collapse : collapse;
- border-width : 1px 0px 0px 0px;
- border-style : solid;
- border-color : #88b0f0;
-
-}
-
-#prefFooter {
- left : 0px;
-}
-
-#footer a, #prefFooter a {
- color : gray;
-}
-
-#footer a:hover, #prefFooter a:hover {
- color : black;
-}
-
-#prefHeader {
- color : #4684ff;
- font-size : 12px;
- margin : 10px;
- height : 33px;
-} */
-
div.return {
float : right;
font-size : 12px;
color : black;
}
-/* #prefContentOuter {
- clear : left;
- position : absolute;
- bottom : 41px;
- top : 75px;
- left : 0px;
- right : 0px;
- min-height : 300px;
- border-width : 1px 0px 0px 0px;
- border-color : #88b0f0;
- border-style : solid;
- font-size : 12px;
-}
-
-#prefContent {
- z-index : 4;
- background-image : url("images/prefs-content.png");
- background-position : top left;
- background-repeat : repeat-x;
- position : absolute;
- bottom : 0px;
- top : 0px;
- left : 0px;
- right : 0px;
- padding : 1em;
- overflow : auto;
-} */
-
#header .logo {
float : right;
margin-left : 10px;
float : right;
}
-/*
-div.topLinks {
- float : right;
- color : gray;
- font-size : 12px;
- line-height : 120%;
-}
-
-div.topLinks a {
- color : #4684ff;
-}
-
-div.topLinks a:hover {
- color : black;
-} */
-
#header a.feedback {
color : #009900;
}
<?php
- require_once "functions.php";
+ require_once "functions.php";
require_once "sessions.php";
require_once "sanity_check.php";
- require_once "version.php";
+ require_once "version.php";
require_once "config.php";
require_once "db-prefs.php";
- $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
+ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
init_connection($link);
no_cache_incantation();
header('Content-Type: text/html; charset=utf-8');
-
+
?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</div>
<noscript><br/><?php print_error('Javascript is disabled. Please enable it.') ?></noscript>
</div>
-</div>
+</div>
<div id="header">
- <!-- <img class="logo" src="<?php echo theme_image($link, 'images/logo.png') ?>"
- onclick="window.open('http://tt-rss.org')" title="Tiny Tiny RSS"/> -->
-
<?php if (!SINGLE_USER_MODE) { ?>
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
<?php } ?>
| <a href="logout.php"><?php echo __('Logout') ?></a>
<?php } ?>
- <img id="newVersionIcon" style="display:none" onclick="newVersionDlg()"
- width="13" height="13"
+ <img id="newVersionIcon" style="display:none" onclick="newVersionDlg()"
+ width="13" height="13"
src="<?php echo theme_image($link, 'images/new_version.png') ?>"
- title="<?php echo __('New version of Tiny Tiny RSS is available!') ?>"
+ title="<?php echo __('New version of Tiny Tiny RSS is available!') ?>"
alt="new_version_icon"/>
</div>
title="<?php echo __("News") ?>">
<div id="toolbar" dojoType="dijit.layout.ContentPane" region="top">
- <div id="main-toolbar" dojoType="dijit.Toolbar">
+ <div id="main-toolbar" dojoType="dijit.Toolbar">
<form id="main_toolbar_form" action="" onsubmit='return false'>
- <button dojoType="dijit.form.Button" id="collapse_feeds_btn"
+ <button dojoType="dijit.form.Button" id="collapse_feeds_btn"
onclick="collapse_feedlist()"
title="<?php echo __('Collapse feedlist') ?>" style="display : inline">
<<</button>
- <select name="view_mode" title="<?php echo __('Show articles') ?>"
+ <select name="view_mode" title="<?php echo __('Show articles') ?>"
onchange="viewModeChanged()"
dojoType="dijit.form.Select">
<option selected="selected" value="adaptive"><?php echo __('Adaptive') ?></option>
</select>
<select title="<?php echo __('Sort articles') ?>"
- onchange="viewModeChanged()"
+ onchange="viewModeChanged()"
dojoType="dijit.form.Select" name="order_by">
<option selected="selected" value="default"><?php echo __('Default') ?></option>
<option value="date"><?php echo __('Date') ?></option>
<option value="score"><?php echo __('Score') ?></option>
</select>
- <button dojoType="dijit.form.Button" name="update"
+ <button dojoType="dijit.form.Button" name="update"
onclick="scheduleFeedUpdate()">
<?php echo __('Update') ?></button>
- <button dojoType="dijit.form.Button"
+ <button dojoType="dijit.form.Button"
onclick="catchupCurrentFeed()">
<?php echo __('Mark as read') ?></button>
<div id="headlines-toolbar" dojoType="dijit.layout.ContentPane" region="top">
</div>
- <div id="headlines-frame" dojoType="dijit.layout.ContentPane"
+ <div id="headlines-frame" dojoType="dijit.layout.ContentPane"
onscroll="headlines_scroll_handler(this)" region="center">
<div id="headlinesInnerContainer">
<div class="whiteBox"><?php echo __('Loading, please wait...') ?></div>
</div>
</div>
</div>
-
-<!-- <div id="footer" dojoType="dijit.layout.ContentPane" region="bottom">
- <a href="http://tt-rss.org/">Tiny Tiny RSS</a>
- <?php if (!defined('HIDE_VERSION')) { ?>
- v<?php echo VERSION ?>
- <?php } ?>
- © 2005–<?php echo date('Y') ?> <a href="http://fakecake.org/">Andrew Dolgov</a>
-</div> -->
-
</div>
<?php db_close($link); ?>