diff options
author | ivan <ivan> | 2010-03-22 19:46:15 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-03-22 19:46:15 +0000 |
commit | 94f8ce6ec2a064822d41f78211216fb216b153bf (patch) | |
tree | f27e0c092f90ac59a70e86b870b39c7c8df1d173 /httemplate/elements/menubar.html | |
parent | fda2d68af09054acae505973e6a42804112924fe (diff) |
1.9-style menubar was hurting my eyes
Diffstat (limited to 'httemplate/elements/menubar.html')
-rw-r--r-- | httemplate/elements/menubar.html | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/httemplate/elements/menubar.html b/httemplate/elements/menubar.html index 0a2de25c9..3d2a1073d 100644 --- a/httemplate/elements/menubar.html +++ b/httemplate/elements/menubar.html @@ -19,17 +19,11 @@ Example: </%doc> %if ( $opt->{'newstyle'} ) { +% my $s = '<FONT STYLE="border-bottom:1px solid #7e0079">'; - <TABLE BGCOLOR="#000000" BORDER=0 CELLSPACING=0 CELLPADDING=0> - <TR> - <TD><IMG SRC="<%$fsurl%>images/gray-black-side.png" WIDTH=13 HEIGHT=25></TD> - <TD> - <% join(' ', @html ) %> - </TD> - <TD><IMG SRC="<%$fsurl%>images/black-gray-side.png" WIDTH=13 HEIGHT=25></TD> - </TD> - </TR> - </TABLE> + <BR> + <% join("$s </FONT>", ( '', @html, '' ) ) %> + <BR> %} else { @@ -52,13 +46,11 @@ while (@_) { if ( $opt->{'newstyle'} ) { my $dclass = $item eq $opt->{'selected'} - ? 'fsblackbuttonselected' - : 'fsblackbutton'; + ? 'fstabselected' + : 'fstab'; + + $style = qq( CLASS="$dclass" ); - $style = - qq( CLASS="$dclass" ). - qq( onMouseOver="this.className='fsblackbuttonselected'; return true;" ). - qq( onMouseOut="this.className='$dclass'; return true;" ); } push @html, qq!<A HREF="$url_base$url" $style>$item</A>!; |