summaryrefslogtreecommitdiff
path: root/modules/pref-feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-19 05:41:50 +0100
committerAndrew Dolgov <[email protected]>2007-05-19 05:41:50 +0100
commitc4b0f96c817a5177a0cd467a0576d428ec20ed12 (patch)
tree05bd1c8eb0ffcacc0c444f1dd6bc86fe2a8d5a0a /modules/pref-feeds.php
parent0af053028ba4cc3582d3268bf838c19d224cc158 (diff)
layout fixes when categories are disabled
Diffstat (limited to 'modules/pref-feeds.php')
-rw-r--r--modules/pref-feeds.php11
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%'>&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;