1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-27 08:01:28 +00:00

recolor patch #2 + misc interface improvements

This commit is contained in:
Andrew Dolgov
2006-05-17 05:59:33 +01:00
parent 55c2c42ba6
commit 0b68215ca6
15 changed files with 131 additions and 81 deletions

View File

@@ -1812,7 +1812,7 @@
<input type=\"submit\" class=\"button\"
onclick=\"javascript:addFeed()\" value=\"Add feed\">";
if (ENABLE_FEED_BROWSER) {
if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) {
print "&nbsp;(<a href='javascript:browseFeeds()'>Top 50</a>)";
}
@@ -2065,7 +2065,7 @@
</td</tr>";
print "<tr class=\"title\">
<td width=\"5%\"></td><td width=\"80%\">Title</td>
<td width=\"5%\">&nbsp;</td><td width=\"80%\">Title</td>
</tr>";
$lnum = 0;
@@ -3412,7 +3412,7 @@
print "<tr class=\"title\">
<td align='center' width=\"5%\">&nbsp;</td>
<td width='20%'>Username</td>
<td width='20%'>Login</td>
<td width='20%'>E-mail</td>
<td width='20%'>Access Level</td>
<td width='20%'>Last login</td></tr>";
@@ -3459,6 +3459,8 @@
print "<td><a href=\"javascript:editUser($uid);\">" .
$line["login"] . "</td>";
if (!$line["email"]) $line["email"] = "&nbsp;";
print "<td><a href=\"javascript:editUser($uid);\">" .
$line["email"] . "</td>";
@@ -3467,6 +3469,8 @@
} else if ($uid != $edit_uid) {
if (!$line["email"]) $line["email"] = "&nbsp;";
print "<td align='center'><input disabled=\"true\" type=\"checkbox\"
id=\"UMCHK-".$line["id"]."\"></td>";
@@ -3746,6 +3750,8 @@
if ($op == "pref-feed-browser") {
print "<p>This panel shows feeds subscribed by other users of this system, just in case you are interested in some of them too.</p>";
if (!ENABLE_FEED_BROWSER) {
print "Feed browser is administratively disabled.";
return;
@@ -3821,7 +3827,11 @@
FROM ttrss_feeds
WHERE auth_login = '' AND auth_pass = '' AND private = false
GROUP BY feed_url ORDER BY subscribers DESC LIMIT 100");
print "<p>Selection:
<input type='submit' class='button' onclick=\"feedBrowserSubscribe()\"
value=\"Subscribe\">";
print "<ul class='nomarks' id='browseBigFeedList'>";
$feedctr = 0;
@@ -3878,10 +3888,6 @@
print "</ul>";
print "<p>Selection:
<input type='submit' class='button' onclick=\"feedBrowserSubscribe()\"
value=\"Subscribe\"></p>";
print "</div>";
}