<link rel="stylesheet" type="text/css" href="tt-rss.css">
+ <? $user_theme = $_SESSION["theme"];
+ if ($user_theme) { ?>
+ <link rel="stylesheet" type="text/css" href="themes/<?= $user_theme ?>/theme.css">
+ <? } ?>
+
<? $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?>
<? if ($user_css_url) { ?>
<link type="text/css" href="<?= $user_css_url ?>"/>
<body onload="init()">
-<? if (get_pref($link, 'ENABLE_SPLASH')) { ?>
-<div id="splash">
- <table width='100%' height='100%'><tr>
- <td class="innerSplash" valign="middle" align="center">
- <img src="images/ttrss_logo.png" alt="logo">
- <p>Loading, please wait...</p>
- </td></tr></table>
-</div>
-<? } ?>
-
<table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
<? if (get_pref($link, 'DISPLAY_HEADER')) { ?>
<tr>
- <td colspan="2">
+ <td colspan="2" class="headerBox">
<table cellspacing="0" cellpadding="0" width="100%"><tr>
<td rowspan="2" class="header" valign="middle">
<img src="images/ttrss_logo.png" alt="logo">
</td>
<td align="right" valign="top">
- <div id="notify"><span id="notify_body"></div>
+ <div id="notify"><span id="notify_body"> </span></div>
</td>
- <div id="userDlg"> </div>
+ <div id="userDlgShadow"><div id="userDlg"> </div></div>
</tr><tr><td class="welcomePrompt">
<? if (!SINGLE_USER_MODE) { ?>
</td>
</tr>
<? } else { ?>
- <div id="userDlg"> </div>
+<tr><td align="right" colspan="2">
+ <div id="notify"><span id="notify_body"> </span></div>
+ <div id="userDlgShadow"><div id="userDlg"> </div></div>
+</td></tr>
<? } ?>
<tr>
<td valign="top" rowspan="3" class="feeds">
</td></tr>
<tr><td height="100%" width="100%" valign="top">
- <!-- <div id="feeds"> </div> -->
-
+ <? if (get_pref($link, 'DISPLAY_FEEDLIST_ACTIONS')) { ?>
<iframe frameborder="0"
src="backend.php?op=error&msg=Loading,%20please wait..."
- id="feeds-frame" name="feeds-frame" class="feedsFrame"> </iframe>
-
- </td></tr></table>
-
- <? if (get_pref($link, 'DISPLAY_FEEDLIST_ACTIONS')) { ?>
+ id="feeds-frame" name="feeds-frame" class="feedsFrameWithActions"> </iframe>
<div align="center">All feeds:
</div>
+ <? } else { ?>
+
+ <iframe frameborder="0"
+ src="backend.php?op=error&msg=Loading,%20please wait..."
+ id="feeds-frame" name="feeds-frame" class="feedsFrame"> </iframe>
<? } ?>
+ </td></tr></table>
+
</td>
<td valign="top" class="headlinesToolbarBox">
<table width="100%" cellpadding="0" cellspacing="0">
<input type="submit"
class="button" onclick="javascript:search()" value="Search">
-
-
- View:
+ View:
<select id="viewbox" onchange="javascript:viewCurrentFeed(0, '')">
+ <option selected>Adaptive</option>
<option>All Articles</option>
<option>Starred</option>
- <option selected>Unread</option>
- <option>Unread or Starred</option>
- <option>Unread or Updated</option>
+ <option>Unread</option>
</select>
Limit:
</select>
+<!-- Selection:
+
+ <select id="headopbox">
+ <option id="hopToggleRead">Toggle (un)read</option>
+ </select>
+
+ <input class="button" type="submit" onclick="headopGo()" value="Go"> -->
+
Feed: <input class="button" type="submit"
onclick="javascript:viewCurrentFeed(0, 'ForceUpdate')" value="Update">
<input class="button" type="submit" id="btnMarkFeedAsRead"
- onclick="javascript:viewCurrentFeed(0, 'MarkAllRead')" value="Mark as read">
+ onclick="javascript:viewCurrentFeed(0, 'MarkAllRead')" value="Mark as read">
</td>
<td align="right">
<option id="qmcPrefs" selected>Preferences...</option>
<option disabled>--------</option>
<option style="color : #5050aa" disabled>Feed actions:</option>
- <option id="qmcAddFeed"> Add new feed</option>
- <option id="qmcRemoveFeed"> Remove this feed</option>
+ <option id="qmcAddFeed"> Add new feed...</option>
+ <option id="qmcRemoveFeed"> Remove this feed...</option>
<!-- <option>Edit this feed</option> -->
<option disabled>--------</option>
<option style="color : #5050aa" disabled>All feeds:</option>
<option id="qmcUpdateFeeds"> Update</option>
<option id="qmcCatchupAll"> Mark as read</option>
<option id="qmcShowOnlyUnread"> Show only unread</option>
+ <option disabled>--------</option>
+ <option style="color : #5050aa" disabled>Other actions:</option>
+ <option id="qmcAddFilter"> Add filter...</option>
</select>
<input type="submit" class="button" onclick="quickMenuGo()" value="Go">
</td>
</tr>
</table>
- </td>
-</tr><tr>
+ </td>
+</tr>
+<? if (get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?>
+<tr>
+ <td id="headlines" class="headlines2" valign="top">
+ <iframe frameborder="0" name="headlines-frame"
+ id="headlines-frame" class="headlinesFrame"
+ src="backend.php?op=error&msg=No%20feed%20selected."></iframe>
+ </td>
+</tr>
+<? } else { ?>
+<tr>
<td id="headlines" class="headlines" valign="top">
<iframe frameborder="0" name="headlines-frame"
id="headlines-frame" class="headlinesFrame"
id="content-frame" class="contentFrame"> </iframe>
</td>
</tr>
+<? } ?>
<? if (get_pref($link, 'DISPLAY_FOOTER')) { ?>
<tr>
<td colspan="2" class="footer">