moved favicon and site icon to the templates where they belong
This commit is contained in:
parent
a278041d74
commit
babb8099c9
7 changed files with 38 additions and 29 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue