layout fixes when categories are disabled

This commit is contained in:
Andrew Dolgov 2007-05-19 05:41:50 +01:00
parent 0af053028b
commit c4b0f96c81
2 changed files with 8 additions and 5 deletions

View File

@ -148,7 +148,7 @@
if (get_pref($link, 'ENABLE_FEED_CATS') && ($active_feed_id > 0 || $is_cat)) {
print "<option $cat_preselected value=\"this_cat\">$feed_cat_title</option>";
} else {
print "<option disabled>".__('This category')."</option>";
//print "<option disabled>".__('This category')."</option>";
}
print "</select></td></tr>";

View File

@ -862,10 +862,13 @@
print "<td width='3%'>&nbsp;</td>";
}
print "
<td width='60%'><a href=\"javascript:updateFeedList('title')\">".__('Title')."</a></td>
<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_article')\">".__('Last&nbsp;Article')."</a></td>
<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">".__('Updated')."</a></td>";
print "<td width='60%'><a href=\"javascript:updateFeedList('title')\">".__('Title')."</a></td>";
if ($show_last_article_info) {
print "<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_article')\">".__('Last&nbsp;Article')."</a></td>";
}
print "<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">".__('Updated')."</a></td>";
}
$lnum = 0;