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 /modules/pref-feeds.php | |
parent | 0af053028ba4cc3582d3268bf838c19d224cc158 (diff) |
layout fixes when categories are disabled
Diffstat (limited to 'modules/pref-feeds.php')
-rw-r--r-- | modules/pref-feeds.php | 11 |
1 files changed, 7 insertions, 4 deletions
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; |