feed editor: hide cache content option
This commit is contained in:
parent
6368785ef4
commit
1b03e1deb6
1 changed files with 13 additions and 9 deletions
|
@ -642,18 +642,22 @@ class Pref_Feeds extends Handler_Protected {
|
|||
$checked> <label for=\"cache_images\">".
|
||||
__('Cache images locally')."</label>";
|
||||
|
||||
$cache_content = sql_bool_to_bool(db_fetch_result($result, 0, "cache_content"));
|
||||
|
||||
if ($cache_content) {
|
||||
$checked = "checked=\"1\"";
|
||||
} else {
|
||||
$checked = "";
|
||||
}
|
||||
if (defined('_FEEDS_CONTENT_CACHE') && _FEEDS_CONTENT_CACHE) {
|
||||
$cache_content = sql_bool_to_bool(db_fetch_result($result, 0, "cache_content"));
|
||||
|
||||
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"cache_content\"
|
||||
if ($cache_content) {
|
||||
$checked = "checked=\"1\"";
|
||||
} else {
|
||||
$checked = "";
|
||||
}
|
||||
|
||||
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"cache_content\"
|
||||
name=\"cache_content\"
|
||||
$checked> <label for=\"cache_content\">".
|
||||
__('Cache content locally')."</label>";
|
||||
$checked> <label for=\"cache_content\">".
|
||||
__('Cache content locally')."</label>";
|
||||
|
||||
}
|
||||
|
||||
$mark_unread_on_update = sql_bool_to_bool(db_fetch_result($result, 0, "mark_unread_on_update"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue