diff options
author | Andrew Dolgov <[email protected]> | 2007-05-19 05:41:50 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-19 05:41:50 +0100 |
commit | c4b0f96c817a5177a0cd467a0576d428ec20ed12 (patch) | |
tree | 05bd1c8eb0ffcacc0c444f1dd6bc86fe2a8d5a0a | |
parent | 0af053028ba4cc3582d3268bf838c19d224cc158 (diff) |
layout fixes when categories are disabled
-rw-r--r-- | modules/popup-dialog.php | 2 | ||||
-rw-r--r-- | modules/pref-feeds.php | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index dbc85831f..ef9f13629 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -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>"; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 4594326bf..ae5ab28ec 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -862,10 +862,13 @@ print "<td width='3%'> </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 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 Article')."</a></td>"; + } + + print "<td width='20%' align='right'><a href=\"javascript:updateFeedList('last_updated')\">".__('Updated')."</a></td>"; } $lnum = 0; |