Re: HTML5 valide Meta tags in CONTENIDO 4.8.x
Verfasst: Sa 5. Jan 2013, 16:20
Super Danke, schau mir das mal in Ruhe an.
LG - derJu
LG - derJu
Das Diskussionsforum zum Open Source Content Management System
https://forum.contenido.org/
Code: Alles auswählen
$code = preg_replace("/<title>.*?<\/title>/is", "{TITLE}", $code, 1);Code: Alles auswählen
$code = preg_replace("/<title>.*?<\/title>/is", "{TITLE}", $code);Code: Alles auswählen
// decode entities and conHtmlSpecialChars, content will be converted later using conHtmlSpecialChars()
// by render() function
$value['content'] = conHtmlEntityDecode($value['content'], ENT_QUOTES, strtoupper($encoding[$lang]));
Code: Alles auswählen
// decode entities and htmlspecialchars, content will be converted later using htmlspecialchars()
// by render() function
#[html5]
// $value['content'] = html_entity_decode($value['content'], ENT_QUOTES, strtoupper($encoding[$lang]));
// $value['content'] = htmlspecialchars_decode($value['content'], ENT_QUOTES);
// process only metatag with value
if (isset($value['content'])) {
$value['content'] = html_entity_decode($value['content'], ENT_QUOTES, strtoupper($encoding[$lang]));
$value['content'] = htmlspecialchars_decode($value['content'], ENT_QUOTES);
}
#[/html5]Code: Alles auswählen
<head>
<jegliche links, scripte, css und eigene Meta>
<title>...</title>
...
<meta name="generator" content="CMS Contenido 4.8">
<meta charset="utf-8">
</head>