diff options
author | ivan <ivan> | 2005-03-06 03:04:29 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-03-06 03:04:29 +0000 |
commit | 34647c32b50ce3b8ee1b6d3d7aef4ba9d0297bdb (patch) | |
tree | faf2226212cf421ffc5d7c998f9eab9ed2ef9216 /httemplate/search/svc_www.cgi | |
parent | f34557b8890dcc63db6c5588233dc7bfa9d39f22 (diff) |
add Excel and CSV download of templated reports and clean up their HTML formatting, closes; Bug#520, Bug#1107
Diffstat (limited to 'httemplate/search/svc_www.cgi')
-rwxr-xr-x | httemplate/search/svc_www.cgi | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/httemplate/search/svc_www.cgi b/httemplate/search/svc_www.cgi index 1f05c2377..141661992 100755 --- a/httemplate/search/svc_www.cgi +++ b/httemplate/search/svc_www.cgi @@ -23,20 +23,19 @@ my $link = [ "${p}view/svc_www.cgi?", 'svcnum', ]; my $ulink = [ "${p}view/svc_acct.cgi?", 'usersvc', ]; -%> -<%= include( 'elements/search.html', - 'title' => 'Virtual Host Search Results', - 'name' => 'virtual hosts', - 'query' => $sql_query, - 'count_query' => $count_query, - 'header' => [ '#', 'Zone', 'User', ], - 'fields' => [ 'svcnum', - sub { $_[0]->domain_record->zone }, - sub { $_[0]->svc_acct->email }, - ], - 'links' => [ $link, - '', - $ulink, - ], - ) +%><%= include( 'elements/search.html', + 'title' => 'Virtual Host Search Results', + 'name' => 'virtual hosts', + 'query' => $sql_query, + 'count_query' => $count_query, + 'header' => [ '#', 'Zone', 'User', ], + 'fields' => [ 'svcnum', + sub { $_[0]->domain_record->zone }, + sub { $_[0]->svc_acct->email }, + ], + 'links' => [ $link, + '', + $ulink, + ], + ) %> |