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
6826f864
Commit
6826f864
authored
May 26, 2010
by
Dries Buytaert
Browse files
- Patch
#730420
by andrewmacpherson: make html.tpl.php less dependant on rdf namespaces.
parent
680de534
Changes
2
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
6826f864
...
...
@@ -262,7 +262,7 @@ function drupal_get_rdf_namespaces() {
$xml_rdf_namespaces
[]
=
'xmlns:'
.
$prefix
.
'="'
.
$uri
.
'"'
;
}
}
return
implode
(
"
\n
"
,
$xml_rdf_namespaces
);
return
count
(
$xml_rdf_namespaces
)
?
"
\n
"
.
implode
(
"
\n
"
,
$xml_rdf_namespaces
)
:
''
;
}
/**
...
...
modules/system/html.tpl.php
View file @
6826f864
...
...
@@ -35,8 +35,7 @@
*/
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"
<?php
print
$language
->
language
;
?>
"
version=
"XHTML+RDFa 1.0"
dir=
"
<?php
print
$language
->
dir
;
?>
"
<?php
print
$rdf_namespaces
;
?>
>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"
<?php
print
$language
->
language
;
?>
"
version=
"XHTML+RDFa 1.0"
dir=
"
<?php
print
$language
->
dir
;
?>
"
<?php
print
$rdf_namespaces
;
?>
>
<head
profile=
"
<?php
print
$grddl_profile
;
?>
"
>
<?php
print
$head
;
?>
...
...
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