X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fmenubar.html;h=ffe83ec571a404f6e1c469af9f4fe12525da4833;hp=fe49f7b2e148c942753c872c0a285c6775dad97c;hb=f48ffc61601d08024aeff19ecd07d7420fc4e5b3;hpb=624b2d44625f69d71175c3348cae635d580c890b diff --git a/httemplate/elements/menubar.html b/httemplate/elements/menubar.html index fe49f7b2e..ffe83ec57 100644 --- a/httemplate/elements/menubar.html +++ b/httemplate/elements/menubar.html @@ -19,10 +19,10 @@ Example: %if ( $opt->{'newstyle'} ) { -% my $s = ''; - <% join("$s   ", ( '', @html, '' ) ) %> -
+
+ <% join('', @html ) %> +
%} else { @@ -52,7 +52,12 @@ while (@_) { } - push @html, qq!$item!; + if ($item eq 'popup') { + push @html, $url; + } + else { + push @html, qq!$item!; + } }