Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Feeds
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Feeds
Commits
d4fef362
Commit
d4fef362
authored
6 years ago
by
Andrew Dolgov
Browse files
Options
Downloads
Patches
Plain Diff
rewrite per-feed/global strip images to strip media
parent
d2e1e60e
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Update 19.2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
classes/pref/feeds.php
+2
-2
2 additions, 2 deletions
classes/pref/feeds.php
classes/pref/prefs.php
+1
-1
1 addition, 1 deletion
classes/pref/prefs.php
with
3 additions
and
3 deletions
classes/pref/feeds.php
+
2
−
2
View file @
d4fef362
...
...
@@ -697,7 +697,7 @@ class Pref_Feeds extends Handler_Protected {
print
"<hr/><input dojoType=
\"
dijit.form.CheckBox
\"
type=
\"
checkbox
\"
id=
\"
hide_images
\"
name=
\"
hide_images
\"
$checked
> <label for=
\"
hide_images
\"
>"
.
__
(
'Do not embed
images
'
)
.
"</label>"
;
__
(
'Do not embed
media
'
)
.
"</label>"
;
$cache_images
=
$row
[
"cache_images"
];
...
...
@@ -888,7 +888,7 @@ class Pref_Feeds extends Handler_Protected {
name=
\"
hide_images
\"
dojoType=
\"
dijit.form.CheckBox
\"
> <label class='insensitive' id=
\"
hide_images_l
\"
for=
\"
hide_images
\"
>"
.
__
(
'Do not embed
images
'
)
.
"</label>"
;
__
(
'Do not embed
media
'
)
.
"</label>"
;
print
" "
;
$this
->
batch_edit_cbox
(
"hide_images"
,
"hide_images_l"
);
...
...
This diff is collapsed.
Click to expand it.
classes/pref/prefs.php
+
1
−
1
View file @
d4fef362
...
...
@@ -48,7 +48,7 @@ class Pref_Prefs extends Handler_Protected {
"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."
)),
"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."
)),
"USER_STYLESHEET"
=>
array
(
__
(
"Customize stylesheet"
),
__
(
"Customize CSS stylesheet to your liking"
)),
"USER_TIMEZONE"
=>
array
(
__
(
"Time zone"
),
""
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment