Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
F
filefield
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
filefield
Commits
5f7d9ee3
Commit
5f7d9ee3
authored
Apr 28, 2010
by
quicksketch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#783846
: Replacing + characters in class names.
parent
44e115e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
filefield.theme.inc
filefield.theme.inc
+1
-1
No files found.
filefield.theme.inc
View file @
5f7d9ee3
...
...
@@ -21,7 +21,7 @@ function theme_filefield_icon($file) {
}
$mime
=
check_plain
(
$file
[
'filemime'
]);
$dashed_mime
=
strtr
(
$mime
,
array
(
'/'
=>
'-'
));
$dashed_mime
=
strtr
(
$mime
,
array
(
'/'
=>
'-'
,
'+'
=>
'-'
));
if
(
$icon_url
=
filefield_icon_url
(
$file
))
{
$icon
=
'<img class="field-icon-'
.
$dashed_mime
.
'" alt="'
.
$mime
.
' icon" src="'
.
$icon_url
.
'" />'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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