24 foreach (array_keys($xoTheme->metas) as
$type) {
27 foreach ($xoTheme->metas[$type] as
$id => $attrs) {
30 if (
$id==XOOPS_URL.
'/include/xoops.js')
continue;
32 $str .=
"<script" . $xoTheme->renderAttributes($attrs) .
">";
34 $str .=
"\n//<![CDATA[\n" . $attrs[
'_'] .
"\n//]]>";
36 $str .=
"</script>\n";
40 foreach ($xoTheme->metas[$type] as $rel => $attrs) {
41 $str .=
'<link rel="' . $rel .
'"' . $xoTheme->renderAttributes($attrs) .
" />\n";
45 foreach ($xoTheme->metas[$type] as $attrs) {
47 $str .=
'<style' . $xoTheme->renderAttributes($attrs) .
">\n/* <![CDATA[ */\n" . $attrs[
'_'] .
"\n/* //]]> */\n</style>";
49 $str .=
'<link rel="stylesheet"' . $xoTheme->renderAttributes($attrs) .
" />\n";
54 foreach ($xoTheme->metas[$type] as $name => $value) {
55 $str .=
'<meta http-equiv="' . htmlspecialchars($name, ENT_QUOTES) .
'" content="' . htmlspecialchars($value, ENT_QUOTES) .
"\" />\n";
59 foreach ($xoTheme->metas[$type] as $name => $value) {
60 if ($name==
'description'||$name==
'keywords'||$name==
'copyright')
continue;
61 $str .=
'<meta name="' . htmlspecialchars($name, ENT_QUOTES) .
'" content="' . htmlspecialchars($value, ENT_QUOTES) .
'" />'.
"\n";
69 <!-- /End Xoops Metas -->