Project

General

Profile

Bug #21180 » class.tslib_pagegen-2.php.diff

Administrator Admin, 2009-10-03 18:33

View differences:

class.tslib_pagegen.php 2009-10-03 18:28:34.000000000 +0200
$key = $theKey;
if (trim($val)) {
$a='name';
if (strtolower($key)=='refresh') {$a='http-equiv';}
if (strtolower($key)=='refresh' || strtolower($key)=='language' || strtolower($key)=='pragma' || strtolower($key)=='content-script-type' || strtolower($key)=='content-style-type' || strtolower($key)=='imagetoolbar') {$a='http-equiv';}
$GLOBALS['TSFE']->content.= '
<meta '.$a.'="'.$key.'" content="'.htmlspecialchars(trim($val)).'" />';
}
(2-2/2)