Project

General

Profile

Bug #15013 » 1537.diff

Administrator Admin, 2007-05-19 16:42

View differences:

typo3/sysext/cms/tslib/class.tslib_pagegen.php (working copy)
<!-- '.($customContent?$customContent.chr(10):'').'
This website is powered by TYPO3 - inspiring people to share!
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
TYPO3 is copyright 1998-2007 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://typo3.com/ and http://typo3.org/
-->
';
......
<base href="'.htmlspecialchars($GLOBALS['TSFE']->baseUrl).'" />';
}
if ($GLOBALS['TSFE']->pSetup['shortcutIcon']) {
$ss=$path.$GLOBALS['TSFE']->tmpl->getFileName($GLOBALS['TSFE']->pSetup['shortcutIcon']);
if ($GLOBALS['TSFE']->pSetup['shortcutIcon']) {
$favIcon = $path.$GLOBALS['TSFE']->tmpl->getFileName($GLOBALS['TSFE']->pSetup['shortcutIcon']);
$iconMimeType = '';
if (function_exists('mime_content_type')) {
$iconMimeType = ' type="'.mime_content_type($favIcon).'"';
}
$GLOBALS['TSFE']->content.='
<link rel="SHORTCUT ICON" href="'.htmlspecialchars($ss).'" />';
<link rel="shortcut icon" href="'.htmlspecialchars($favIcon).'"'.$iconMimeType.' />
<link rel="icon" href="'.htmlspecialchars($favIcon).'"'.$iconMimeType.' />';
}
// Including CSS files
(1-1/2)