X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-popup.html;h=472a7325e792276f2df93646568a546708097757;hb=0ee87ce2f12ab1ba734f6d2b60c60469c07f9b8c;hp=d009f6b042d4391aecc36876fb9e259d9e182c16;hpb=82879083dd2efddf02192ad48ad0e46e1a16662b;p=freeside.git diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html index d009f6b04..472a7325e 100644 --- a/httemplate/elements/header-popup.html +++ b/httemplate/elements/header-popup.html @@ -2,15 +2,15 @@ Example: - include( '/elements/header-popup.html', - { - 'title' => 'Title', - 'menubar' => \@menubar, - 'etc' => '', #included in tag, for things like onLoad= - 'head' => '', #included before closing tag - 'nobr' => 0, #1 for no

after the title - } - ); + <& /elements/header-popup.html, + { + 'title' => 'Title', + 'menubar' => \@menubar, + 'etc' => '', #included in tag, for things like onLoad= + 'head' => '', #included before closing tag + 'nobr' => 0, #1 for no

after the title + } + &> #old-style include( '/elements/header.html', 'Title', $menubar, $etc, $head); @@ -29,14 +29,14 @@ Example: > +% if ( $title ) {
<% $title |h %>
- +% } % unless ( $nobr ) {
% } - <%init> my( $title, $menubar, $etc, $head ) = ( '', '', '', '' ); @@ -55,7 +55,7 @@ if ( ref($_[0]) ) { $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc. $head = @_ ? shift : ''; #$head is for things that go in the section } -$etc .= 'BGCOLOR="#f8f8f8"' if (! $etc =~ /BGCOLOR/i ); +$etc .= ' BGCOLOR="#f8f8f8"' unless $etc =~ /BGCOLOR/i; my $conf = new FS::Conf;