mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 18:41:29 +00:00
layout fixes when categories are disabled
This commit is contained in:
@@ -148,7 +148,7 @@
|
|||||||
if (get_pref($link, 'ENABLE_FEED_CATS') && ($active_feed_id > 0 || $is_cat)) {
|
if (get_pref($link, 'ENABLE_FEED_CATS') && ($active_feed_id > 0 || $is_cat)) {
|
||||||
print "<option $cat_preselected value=\"this_cat\">$feed_cat_title</option>";
|
print "<option $cat_preselected value=\"this_cat\">$feed_cat_title</option>";
|
||||||
} else {
|
} else {
|
||||||
print "<option disabled>".__('This category')."</option>";
|
//print "<option disabled>".__('This category')."</option>";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "</select></td></tr>";
|
print "</select></td></tr>";
|
||||||
|
|||||||
@@ -862,10 +862,13 @@
|
|||||||
print "<td width='3%'> </td>";
|
print "<td width='3%'> </td>";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "
|
print "<td width='60%'><a href=\"javascript:updateFeedList('title')\">".__('Title')."</a></td>";
|
||||||
<td width='60%'><a href=\"javascript:updateFeedList('title')\">".__('Title')."</a></td>
|
|
||||||
<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_article')\">".__('Last Article')."</a></td>
|
if ($show_last_article_info) {
|
||||||
<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">".__('Updated')."</a></td>";
|
print "<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_article')\">".__('Last Article')."</a></td>";
|
||||||
|
}
|
||||||
|
|
||||||
|
print "<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">".__('Updated')."</a></td>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$lnum = 0;
|
$lnum = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user