Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0aaa1c80
Commit
0aaa1c80
authored
Aug 18, 2014
by
Alex Pott
Browse files
Issue
#2298039
followup by lauriii, sqndr: Remove all PNG fallbacks for SVG.
parent
36dd5afc
Changes
3
Hide whitespace changes
Inline
Side-by-side
core/modules/simpletest/src/Form/SimpletestResultsForm.php
View file @
0aaa1c80
...
...
@@ -61,28 +61,28 @@ protected function buildStatusImageMap() {
// Initialize image mapping property.
$image_pass
=
array
(
'#theme'
=>
'image'
,
'#uri'
=>
'core/misc/icons/73b355/check.
pn
g'
,
'#uri'
=>
'core/misc/icons/73b355/check.
sv
g'
,
'#width'
=>
18
,
'#height'
=>
18
,
'#alt'
=>
$this
->
t
(
'Pass'
),
);
$image_fail
=
array
(
'#theme'
=>
'image'
,
'#uri'
=>
'core/misc/icons/ea2800/error.
pn
g'
,
'#uri'
=>
'core/misc/icons/ea2800/error.
sv
g'
,
'#width'
=>
18
,
'#height'
=>
18
,
'#alt'
=>
$this
->
t
(
'Fail'
),
);
$image_exception
=
array
(
'#theme'
=>
'image'
,
'#uri'
=>
'core/misc/icons/e29700/warning.
pn
g'
,
'#uri'
=>
'core/misc/icons/e29700/warning.
sv
g'
,
'#width'
=>
18
,
'#height'
=>
18
,
'#alt'
=>
$this
->
t
(
'Exception'
),
);
$image_debug
=
array
(
'#theme'
=>
'image'
,
'#uri'
=>
'core/misc/icons/e29700/warning.
pn
g'
,
'#uri'
=>
'core/misc/icons/e29700/warning.
sv
g'
,
'#width'
=>
18
,
'#height'
=>
18
,
'#alt'
=>
$this
->
t
(
'Debug'
),
...
...
core/modules/simpletest/src/Tests/SimpleTestTest.php
View file @
0aaa1c80
...
...
@@ -348,7 +348,7 @@ function getTestResults() {
$assertion
[
'file'
]
=
$this
->
asText
(
$row
->
td
[
2
]);
$assertion
[
'line'
]
=
$this
->
asText
(
$row
->
td
[
3
]);
$assertion
[
'function'
]
=
$this
->
asText
(
$row
->
td
[
4
]);
$ok_url
=
file_create_url
(
'core/misc/icons/73b355/check.
pn
g'
);
$ok_url
=
file_create_url
(
'core/misc/icons/73b355/check.
sv
g'
);
$assertion
[
'status'
]
=
(
$row
->
td
[
5
]
->
img
[
'src'
]
==
$ok_url
)
?
'Pass'
:
'Fail'
;
$results
[
'assertions'
][]
=
$assertion
;
}
...
...
core/modules/update/update.report.inc
View file @
0aaa1c80
...
...
@@ -320,25 +320,25 @@ function template_preprocess_update_project_status(&$variables) {
switch
(
$project
[
'status'
])
{
case
UPDATE_CURRENT
:
$uri
=
'core/misc/icons/73b355/check.
pn
g'
;
$uri
=
'core/misc/icons/73b355/check.
sv
g'
;
$text
=
t
(
'Ok'
);
break
;
case
UPDATE_UNKNOWN
:
case
UPDATE_FETCH_PENDING
:
case
UPDATE_NOT_FETCHED
:
$uri
=
'core/misc/icons/e29700/warning.
pn
g'
;
$uri
=
'core/misc/icons/e29700/warning.
sv
g'
;
$text
=
t
(
'Warning'
);
break
;
case
UPDATE_NOT_SECURE
:
case
UPDATE_REVOKED
:
case
UPDATE_NOT_SUPPORTED
:
$uri
=
'core/misc/icons/ea2800/error.
pn
g'
;
$uri
=
'core/misc/icons/ea2800/error.
sv
g'
;
$text
=
t
(
'Error'
);
break
;
case
UPDATE_NOT_CHECKED
:
case
UPDATE_NOT_CURRENT
:
default
:
$uri
=
'core/misc/icons/e29700/warning.
pn
g'
;
$uri
=
'core/misc/icons/e29700/warning.
sv
g'
;
$text
=
t
(
'Warning'
);
break
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment