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

@ -84,16 +84,6 @@ sub www_editSettings {
-value=>$session{setting}{urlExtension},
-label=>$i18n->get("url extension")
);
$tabform->getTab("content")->text(
-name=>"favicon",
-label=>$i18n->get(897),
-value=>$session{setting}{favicon}
);
$tabform->getTab("content")->text(
-name=>"siteicon",
-label=>$i18n->get(898),
-value=>$session{setting}{siteicon}
);
$tabform->getTab("content")->integer(
-name=>"maxAttachmentSize",
-label=>$i18n->get(130),

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();

View file

@ -86,11 +86,6 @@ our $I18N = {
lastUpdated => 1036892929
},
'898' => {
message => q|Site Icon|,
lastUpdated => 1050172395
},
'798' => {
message => q|Page Title|,
lastUpdated => 1036978688
@ -1483,11 +1478,6 @@ How should this user be notified when they get a new WebGUI message?
lastUpdated => 1036892866
},
'897' => {
message => q|Favicon|,
lastUpdated => 1050170767
},
'784' => {
message => q|Thumbnail|,
lastUpdated => 1036954393
@ -7076,10 +7066,6 @@ The primary URL of your company. This will appear on all automated emails sent f
<p><b>URL Extension</b><br />Add an extension such as "html", "php", or "asp" to each new page URL as it is created. <p><b>NOTE:</b> Do NOT include the dot "." in this. So the field should look like "html" not ".html".
<P><B>Favicon</B><BR>An icon that appears on Internet Explorer short cuts such as your "Favorites". More information about <A href="http://msdn.microsoft.com/workshop/author/dhtml/howto/shortcuticon.asp">Favicon</A> is available online.
<P><B>Site Icon</B><BR>An icon that appears in the URL bar of most modern browsers. It may also appear in the bookmarks of the browser. The image must be 16x16 pixels.
<P><B>Maximum Attachment Size</B><BR>The size (in kilobytes) of the maximum allowable attachment to be uploaded to your system.
<P><B>Max Image Size</B><BR>If images are uploaded to your system that are bigger than the max image size, then they will be resized to the max image size. The max image size is measured in pixels and will use the size of the longest side of the image to determine if the limit has been reached.