fixed [ 915498 ] htmlArea - insert image WebGUI 6.0

This commit is contained in:
JT Smith 2004-03-26 01:22:57 +00:00
parent 7ee5a4a4bc
commit 6a3a4627f7
7 changed files with 30 additions and 10 deletions

View file

@ -105,7 +105,16 @@ sub process {
<meta http-equiv="Content-Type" content="text/html; charset='.($session{header}{charset}||$session{language}{characterSet}||"ISO-8859-1").'" />
<link rel="icon" href="'.$session{setting}{siteicon}.'" type="image/'.$type.'" />
<link rel="SHORTCUT ICON" href="'.$session{setting}{favicon}.'" />
'.$session{page}{head}{raw};
'.$session{page}{head}{raw}.'
<script>
function getWebguiProperty (propName) {
var props = new Array();
props["extrasURL"] = "'.$session{config}{extrasURL}.'";
props["pageURL"] = "'.$session{page}{url}.'";
return props[propName];
}
</script>
';
# generate additional link tags
foreach my $url (keys %{$session{page}{head}{link}}) {
$var{'head.tags'} .= '<link href="'.$url.'"';