moved favicon and site icon to the templates where they belong

This commit is contained in:
JT Smith 2004-11-05 00:49:36 +00:00
parent a278041d74
commit babb8099c9
7 changed files with 38 additions and 29 deletions

View file

@ -136,13 +136,9 @@ sub process {
} elsif ($session{page}{useEmptyStyle}) {
$templateId = 6;
}
my $type = lc($session{setting}{siteicon});
$type =~ s/.*\.(.*?)$/$1/;
$var{'head.tags'} = '
<meta name="generator" content="WebGUI '.$WebGUI::VERSION.'" />
<meta http-equiv="Content-Type" content="text/html; charset='.WebGUI::International::getLanguage($session{page}{languageId},"charset").'" />
<link rel="icon" href="'.$session{setting}{siteicon}.'" type="image/'.$type.'" />
<link rel="SHORTCUT ICON" href="'.$session{setting}{favicon}.'" />
<script>
function getWebguiProperty (propName) {
var props = new Array();