- rfe: Admin bar doesn't resize with the browser
- fix: Left Admin Bar overlap problem
This commit is contained in:
parent
d2d49bffbe
commit
2c1f56a009
7 changed files with 555 additions and 267 deletions
|
|
@ -40,6 +40,10 @@ The ID for a template to use for formatting the link. The default template crea
|
|||
sub process {
|
||||
my $session = shift;
|
||||
return "" unless ($session->var->isAdminOn);
|
||||
$session->style->setRawHeadTags('<script type="text/javascript" src="'.$session->url->extras("/yui/build/yahoo/yahoo-min.js").'"></script>
|
||||
<script type="text/javascript" src="'.$session->url->extras("/yui/build/event/event-min.js").'"></script>
|
||||
<script type="text/javascript" src="'.$session->url->extras("/yui/build/dom/dom-min.js").'"></script>
|
||||
<script type="text/javascript" src="'.$session->url->extras("/yui/build/animation/animation-min.js").'"></script>');
|
||||
my @param = @_;
|
||||
my $templateId = $param[0] || "PBtmpl0000000000000090";
|
||||
my $i18n = WebGUI::International->new($session,'Macro_AdminBar');
|
||||
|
|
@ -151,7 +155,6 @@ sub process {
|
|||
});
|
||||
}
|
||||
return WebGUI::Asset::Template->new($session,$templateId)->process({adminbar_loop=>\@adminbar});
|
||||
# 'http://validator.w3.org/check?uri=referer'=>$i18n->get(399),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ return props[propName];
|
|||
</script>
|
||||
<!--morehead-->
|
||||
';
|
||||
|
||||
if ($self->session->user->isInGroup(2) || $self->session->setting->get("preventProxyCache")) {
|
||||
# This "triple incantation" panders to the delicate tastes of various browsers for reliable cache suppression.
|
||||
$var{'head.tags'} .= '
|
||||
|
|
|
|||
|
|
@ -235,7 +235,8 @@ a:visited { color: '.$form->get("visitedLinkColor").'; }
|
|||
isHidden => 1,
|
||||
mimeType => "text/css",
|
||||
});
|
||||
my $styleTemplate = '<html>
|
||||
my $styleTemplate = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>^Page(title); - ^c;</title>
|
||||
<link type="text/css" href="'.$css->getUrl.'" rel="stylesheet" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue