% if ( $link eq 'popup' ) { <% include('/elements/header-popup.html', $title ) %> % } else { <% include("/elements/header.html", $title, '') %> % } <% include('/elements/init_calendar.html') %> <% include('/elements/error.html') %> % unless ( $link eq 'popup' ) { <% small_custview($custnum, $conf->config('countrydefault')) %> % }
% if ( $link eq 'popup' ) {