rewrite per-feed/global strip images to strip media

This commit is contained in:
Andrew Dolgov 2018-09-07 10:24:46 +03:00
parent d2e1e60ecc
commit d4fef36237
2 changed files with 3 additions and 3 deletions

View File

@ -697,7 +697,7 @@ class Pref_Feeds extends Handler_Protected {
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"hide_images\" print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"hide_images\"
name=\"hide_images\" name=\"hide_images\"
$checked>&nbsp;<label for=\"hide_images\">". $checked>&nbsp;<label for=\"hide_images\">".
__('Do not embed images')."</label>"; __('Do not embed media')."</label>";
$cache_images = $row["cache_images"]; $cache_images = $row["cache_images"];
@ -888,7 +888,7 @@ class Pref_Feeds extends Handler_Protected {
name=\"hide_images\" name=\"hide_images\"
dojoType=\"dijit.form.CheckBox\">&nbsp;<label class='insensitive' id=\"hide_images_l\" dojoType=\"dijit.form.CheckBox\">&nbsp;<label class='insensitive' id=\"hide_images_l\"
for=\"hide_images\">". for=\"hide_images\">".
__('Do not embed images')."</label>"; __('Do not embed media')."</label>";
print "&nbsp;"; $this->batch_edit_cbox("hide_images", "hide_images_l"); print "&nbsp;"; $this->batch_edit_cbox("hide_images", "hide_images_l");

View File

@ -48,7 +48,7 @@ class Pref_Prefs extends Handler_Protected {
"SHOW_CONTENT_PREVIEW" => array(__("Show content preview in headlines list"), ""), "SHOW_CONTENT_PREVIEW" => array(__("Show content preview in headlines list"), ""),
"SORT_HEADLINES_BY_FEED_DATE" => array(__("Sort headlines by feed date"), __("Use feed-specified date to sort headlines instead of local import date.")), "SORT_HEADLINES_BY_FEED_DATE" => array(__("Sort headlines by feed date"), __("Use feed-specified date to sort headlines instead of local import date.")),
"SSL_CERT_SERIAL" => array(__("Login with an SSL certificate"), __("Click to register your SSL client certificate with tt-rss")), "SSL_CERT_SERIAL" => array(__("Login with an SSL certificate"), __("Click to register your SSL client certificate with tt-rss")),
"STRIP_IMAGES" => array(__("Do not embed images in articles"), ""), "STRIP_IMAGES" => array(__("Do not embed media in articles"), ""),
"STRIP_UNSAFE_TAGS" => array(__("Strip unsafe tags from articles"), __("Strip all but most common HTML tags when reading articles.")), "STRIP_UNSAFE_TAGS" => array(__("Strip unsafe tags from articles"), __("Strip all but most common HTML tags when reading articles.")),
"USER_STYLESHEET" => array(__("Customize stylesheet"), __("Customize CSS stylesheet to your liking")), "USER_STYLESHEET" => array(__("Customize stylesheet"), __("Customize CSS stylesheet to your liking")),
"USER_TIMEZONE" => array(__("Time zone"), ""), "USER_TIMEZONE" => array(__("Time zone"), ""),