diff options
author | Andrew Dolgov <[email protected]> | 2010-11-04 18:11:15 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-04 18:11:15 +0300 |
commit | 85a922895f2865a658f98a7d0e795aec05da3d06 (patch) | |
tree | ac3716de251a9fde98aabdc0bb2be28e1a7da8b2 /modules | |
parent | f0361de20b2ec5602b3ebe440aa4b26046eb8193 (diff) |
prefs: disable option ENABLE_FEED_ICONS
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pref-feeds.php | 12 | ||||
-rw-r--r-- | modules/pref-prefs.php | 2 |
2 files changed, 4 insertions, 10 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index dc3553d10..b10679776 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1295,9 +1295,7 @@ print "<tr class=\"title\"> <td width='5%' align='center'> </td>"; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print "<td width='3%'> </td>"; - } + print "<td width='3%'> </td>"; print "<td width='60%'><a href=\"javascript:updateFeedList('title')\">".__('Title')."</a></td>"; @@ -1354,9 +1352,7 @@ print "<tr class=\"title\"> <td width='5%'> </td>"; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print "<td width='3%'> </td>"; - } + print "<td width='3%'> </td>"; print "<td width='60%'><a href=\"javascript:updateFeedList('title')\">".__('Title')."</a></td>"; @@ -1389,9 +1385,7 @@ $onclick = "onclick='editFeed($feed_id)' title='".__('Click to edit')."'"; - if (get_pref($link, 'ENABLE_FEED_ICONS')) { - print "<td $onclick class='feedIcon'>$feed_icon</td>"; - } + print "<td $onclick class='feedIcon'>$feed_icon</td>"; if ($last_error) { $edit_title = "<span class=\"feed_error\">$edit_title</span>"; diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index a55d78f9f..5105f3573 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -14,7 +14,7 @@ $subop = $_REQUEST["subop"]; $prefs_blacklist = array("HIDE_FEEDLIST", "SYNC_COUNTERS", "ENABLE_LABELS", - "ENABLE_SEARCH_TOOLBAR", "HIDE_READ_FEEDS"); + "ENABLE_SEARCH_TOOLBAR", "HIDE_READ_FEEDS", "ENABLE_FEED_ICONS"); $profile_blacklist = array("ALLOW_DUPLICATE_POSTS", "PURGE_OLD_DAYS", "PURGE_UNREAD_ARTICLES", "DIGEST_ENABLE", "DIGEST_CATCHUP", |