summaryrefslogtreecommitdiff
path: root/modules
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
parent0af053028ba4cc3582d3268bf838c19d224cc158 (diff)
layout fixes when categories are disabled
Diffstat (limited to 'modules')
-rw-r--r--modules/popup-dialog.php2
-rw-r--r--modules/pref-feeds.php11
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%'>&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;