X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fmenubar.html;h=ffe83ec571a404f6e1c469af9f4fe12525da4833;hb=978a10cd56e76e763b15f21c533d507d5bc84dec;hp=fe49f7b2e148c942753c872c0a285c6775dad97c;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git 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!; + } }