mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 04:31:28 +00:00
js: misc fixes, code cleanup
This commit is contained in:
@@ -80,8 +80,8 @@
|
||||
WHERE owner_uid = ".$_SESSION["uid"]." ORDER BY title");
|
||||
|
||||
print __('Select:')."
|
||||
<a href=\"#\" onclick=\"selectPrefRows('fcat', true)\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectPrefRows('fcat', false)\">".__('None')."</a>";
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefFeedCatList', 'all')\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefFeedCatList', 'none')\">".__('None')."</a>";
|
||||
|
||||
print "<div class=\"prefFeedCatHolder\">";
|
||||
|
||||
@@ -343,10 +343,6 @@
|
||||
|
||||
$owner_uid = $_SESSION["uid"];
|
||||
|
||||
/* print __('Select:')."
|
||||
<a href=\"javascript:selectPrefRows('fbrowse', true)\">".__('All')."</a>,
|
||||
<a href=\"javascript:selectPrefRows('fbrowse', false)\">".__('None')."</a>"; */
|
||||
|
||||
print "<ul class='browseFeedList' id='browseFeedList'>";
|
||||
print_feed_browser($link, $search, 25);
|
||||
print "</ul>";
|
||||
|
||||
@@ -993,8 +993,8 @@
|
||||
if (db_num_rows($result) != 0) {
|
||||
|
||||
print __('Select:')."
|
||||
<a href=\"#\" onclick=\"selectPrefRows('fcat', true)\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectPrefRows('fcat', false)\">".__('None')."</a>";
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefFeedCatList', 'all')\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefFeedCatList', 'none')\">".__('None')."</a>";
|
||||
|
||||
print "<div class=\"prefFeedCatHolder\">";
|
||||
|
||||
@@ -1199,8 +1199,8 @@
|
||||
$show_last_article_checked><label
|
||||
for='show_last_article_times'>".__('Show last article times')."</label></div>".
|
||||
__('Select:')."
|
||||
<a href=\"#\" onclick=\"selectPrefRows('feed', true)\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectPrefRows('feed', false)\">".__('None')."</a>
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefFeedList', 'all')\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefFeedList', 'none')\">".__('None')."</a>
|
||||
</td</tr>";
|
||||
|
||||
if (!get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||
|
||||
@@ -376,8 +376,8 @@
|
||||
|
||||
print "<tr><td class=\"selectPrompt\" colspan=\"8\">
|
||||
".__('Select:')."
|
||||
<a href=\"#\" onclick=\"selectPrefRows('filter', true)\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectPrefRows('filter', false)\">".__('None')."</a>
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefFilterList', 'all')\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefFilterList', 'none')\">".__('None')."</a>
|
||||
</td</tr>";
|
||||
|
||||
$lnum = 0;
|
||||
|
||||
@@ -199,8 +199,6 @@
|
||||
owner_uid = ".$_SESSION["uid"]."
|
||||
ORDER BY $sort");
|
||||
|
||||
// print "<div id=\"infoBoxShadow\"><div id=\"infoBox\">PLACEHOLDER</div></div>";
|
||||
|
||||
if (db_num_rows($result) != 0) {
|
||||
|
||||
print "<p><table width=\"100%\" cellspacing=\"0\"
|
||||
@@ -208,16 +206,10 @@
|
||||
|
||||
print "<tr><td class=\"selectPrompt\" colspan=\"8\">
|
||||
".__('Select:')."
|
||||
<a href=\"#\" onclick=\"selectPrefRows('label', true)\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectPrefRows('label', false)\">".__('None')."</a>
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefLabelList', 'all')\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefLabelList', 'none')\">".__('None')."</a>
|
||||
</td</tr>";
|
||||
|
||||
/* print "<tr class=\"title\">
|
||||
<td width=\"5%\"> </td>
|
||||
<td width=\"95%\"><a href=\"javascript:updateLabelList('caption')\">".__('Caption')."</a></td>
|
||||
</td>
|
||||
</tr>"; */
|
||||
|
||||
$lnum = 0;
|
||||
|
||||
while ($line = db_fetch_assoc($result)) {
|
||||
|
||||
@@ -417,8 +417,8 @@
|
||||
|
||||
print "<tr><td class=\"selectPrompt\" colspan=\"8\">
|
||||
".__('Select:')."
|
||||
<a href=\"#\" onclick=\"selectPrefRows('user', true)\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectPrefRows('user', false)\">".__('None')."</a>
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefUserList', 'all')\">".__('All')."</a>,
|
||||
<a href=\"#\" onclick=\"selectTableRows('prefUserList', 'none')\">".__('None')."</a>
|
||||
</td</tr>";
|
||||
|
||||
print "<tr class=\"title\">
|
||||
|
||||
Reference in New Issue
Block a user