projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ea877a7
)
include elements/search.html the right way to avoid problems with XLS download, ...
author
Mark Wells
<mark@freeside.biz>
Thu, 14 Feb 2013 22:31:13 +0000
(14:31 -0800)
committer
Mark Wells
<mark@freeside.biz>
Thu, 14 Feb 2013 22:31:13 +0000
(14:31 -0800)
46 files changed:
httemplate/search/477partIA_detail.html
patch
|
blob
|
history
httemplate/search/477partIA_summary.html
patch
|
blob
|
history
httemplate/search/477partIIA.html
patch
|
blob
|
history
httemplate/search/477partV.html
patch
|
blob
|
history
httemplate/search/477partVI_census.html
patch
|
blob
|
history
httemplate/search/agent_inventory.html
patch
|
blob
|
history
httemplate/search/bill_batch.cgi
patch
|
blob
|
history
httemplate/search/cdr.html
patch
|
blob
|
history
httemplate/search/cust_bill_event.cgi
patch
|
blob
|
history
httemplate/search/cust_bill_pay.html
patch
|
blob
|
history
httemplate/search/cust_bill_pkg_discount.html
patch
|
blob
|
history
httemplate/search/cust_credit_bill.html
patch
|
blob
|
history
httemplate/search/cust_credit_bill_pkg.html
patch
|
blob
|
history
httemplate/search/cust_credit_refund.html
patch
|
blob
|
history
httemplate/search/cust_event.html
patch
|
blob
|
history
httemplate/search/cust_main-zip.html
patch
|
blob
|
history
httemplate/search/cust_pay_batch.cgi
patch
|
blob
|
history
httemplate/search/cust_pkg_discount.html
patch
|
blob
|
history
httemplate/search/cust_pkg_svc.html
patch
|
blob
|
history
httemplate/search/cust_tax_adjustment.html
patch
|
blob
|
history
httemplate/search/cust_tax_exempt.cgi
patch
|
blob
|
history
httemplate/search/cust_tax_exempt_pkg.cgi
patch
|
blob
|
history
httemplate/search/inventory_item.html
patch
|
blob
|
history
httemplate/search/mailinglistmember.html
patch
|
blob
|
history
httemplate/search/part_pkg.html
patch
|
blob
|
history
httemplate/search/pay_batch.cgi
patch
|
blob
|
history
httemplate/search/phone_avail.html
patch
|
blob
|
history
httemplate/search/phone_inventory_provisioned.html
patch
|
blob
|
history
httemplate/search/prepay_credit.html
patch
|
blob
|
history
httemplate/search/prospect_main.html
patch
|
blob
|
history
httemplate/search/qual.cgi
patch
|
blob
|
history
httemplate/search/queue.html
patch
|
blob
|
history
httemplate/search/reg_code.html
patch
|
blob
|
history
httemplate/search/rt_ticket.html
patch
|
blob
|
history
httemplate/search/rt_transaction.html
patch
|
blob
|
history
httemplate/search/sql.html
patch
|
blob
|
history
httemplate/search/svc_broadband.cgi
patch
|
blob
|
history
httemplate/search/svc_dish.cgi
patch
|
blob
|
history
httemplate/search/svc_domain.cgi
patch
|
blob
|
history
httemplate/search/svc_external.cgi
patch
|
blob
|
history
httemplate/search/svc_forward.cgi
patch
|
blob
|
history
httemplate/search/svc_hardware.cgi
patch
|
blob
|
history
httemplate/search/svc_phone.cgi
patch
|
blob
|
history
httemplate/search/svc_www.cgi
patch
|
blob
|
history
httemplate/search/timeworked.html
patch
|
blob
|
history
httemplate/search/unprovisioned_services.html
patch
|
blob
|
history
diff --git
a/httemplate/search/477partIA_detail.html
b/httemplate/search/477partIA_detail.html
index
66f3a86
..
666032d
100755
(executable)
--- a/
httemplate/search/477partIA_detail.html
+++ b/
httemplate/search/477partIA_detail.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'html_init' => $html_init,
'name' => 'lines',
'query' => $query,
'html_init' => $html_init,
'name' => 'lines',
'query' => $query,
@@
-11,8
+11,8
@@
'xml_elements' => [ @xml_elements ],
'xml_omit_empty' => 1,
'fields' => [ @fields ],
'xml_elements' => [ @xml_elements ],
'xml_omit_empty' => 1,
'fields' => [ @fields ],
- )
-
%
>
+
+
&
>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
diff --git
a/httemplate/search/477partIA_summary.html
b/httemplate/search/477partIA_summary.html
index
f5c2bc2
..
ebf081c
100755
(executable)
--- a/
httemplate/search/477partIA_summary.html
+++ b/
httemplate/search/477partIA_summary.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'html_init' => $html_init,
'name' => 'lines',
'query' => 'SELECT 1',
'html_init' => $html_init,
'name' => 'lines',
'query' => 'SELECT 1',
@@
-28,8
+28,8
@@
sub { $total_percentage },
sub { $above_200_percentage },
],
sub { $total_percentage },
sub { $above_200_percentage },
],
- )
-
%
>
+
+
&
>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
diff --git
a/httemplate/search/477partIIA.html
b/httemplate/search/477partIIA.html
index
d2cc8c3
..
6a53229
100755
(executable)
--- a/
httemplate/search/477partIIA.html
+++ b/
httemplate/search/477partIIA.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'html_init' => $html_init,
'name' => 'lines',
'query' => $query,
'html_init' => $html_init,
'name' => 'lines',
'query' => $query,
@@
-10,8
+10,8
@@
'header' => [ @headers ],
'xml_elements' => [ @xml_elements ],
'fields' => [ @fields ],
'header' => [ @headers ],
'xml_elements' => [ @xml_elements ],
'fields' => [ @fields ],
- )
-
%
>
+
+
&
>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
diff --git
a/httemplate/search/477partV.html
b/httemplate/search/477partV.html
index
2fd5119
..
f83a7a0
100755
(executable)
--- a/
httemplate/search/477partV.html
+++ b/
httemplate/search/477partV.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'html_init' => $html_init,
'name' => 'zip code',
'query' => $sql_query,
'html_init' => $html_init,
'name' => 'zip code',
'query' => $sql_query,
@@
-12,8
+12,8
@@
'url' => $opt{url} || '',
'really_disable_download' => 1,
'url' => $opt{url} || '',
'really_disable_download' => 1,
- )
-
%
>
+
+
&
>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
diff --git
a/httemplate/search/477partVI_census.html
b/httemplate/search/477partVI_census.html
index
8425c4b
..
59a6fb5
100755
(executable)
--- a/
httemplate/search/477partVI_census.html
+++ b/
httemplate/search/477partVI_census.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'html_init' => '<H2>Part VI</H2>',
'html_foot' => $html_foot,
'name' => 'regions',
'html_init' => '<H2>Part VI</H2>',
'html_foot' => $html_foot,
'name' => 'regions',
@@
-24,8
+24,8
@@
'url' => $opt{url} || '',
'xml_row_element' => 'Datarow',
'really_disable_download' => 1,
'url' => $opt{url} || '',
'xml_row_element' => 'Datarow',
'really_disable_download' => 1,
- )
-
%
>
+
+
&
>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
diff --git
a/httemplate/search/agent_inventory.html
b/httemplate/search/agent_inventory.html
index
ac65371
..
015aca4
100644
(file)
--- a/
httemplate/search/agent_inventory.html
+++ b/
httemplate/search/agent_inventory.html
@@
-1,4
+1,4
@@
-<
% include('elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Inventory summary per agent',
'name_singular' => 'agent',
'query' => { 'table' => 'agent',
'title' => 'Inventory summary per agent',
'name_singular' => 'agent',
'query' => { 'table' => 'agent',
@@
-10,8
+10,7
@@
" AND $agentnums_sql",
'header' => \@header,
'fields' => \@fields,
" AND $agentnums_sql",
'header' => \@header,
'fields' => \@fields,
- )
-%>
+&>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/bill_batch.cgi
b/httemplate/search/bill_batch.cgi
index
b6676f2
..
b740bdc
100755
(executable)
--- a/
httemplate/search/bill_batch.cgi
+++ b/
httemplate/search/bill_batch.cgi
@@
-26,7
+26,7
@@
function start() {
% -expires => '-1d',
% );
% $r->headers_out->add( 'Set-Cookie' => $cookie->as_string );
% -expires => '-1d',
% );
% $r->headers_out->add( 'Set-Cookie' => $cookie->as_string );
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Invoice Batches',
'name_singular' => 'batch',
'query' => { 'table' => 'bill_batch',
'title' => 'Invoice Batches',
'name_singular' => 'batch',
'query' => { 'table' => 'bill_batch',
@@
-67,9
+67,7
@@
function start() {
'agent_pos' => 1,
'html_foot' => include('.foot'),
'agent_pos' => 1,
'html_foot' => include('.foot'),
- )
-
-%>
+&>
%}
<%def .foot>
<SCRIPT type="text/javascript">
%}
<%def .foot>
<SCRIPT type="text/javascript">
diff --git
a/httemplate/search/cdr.html
b/httemplate/search/cdr.html
index
d0d7292
..
642c2da
100644
(file)
--- a/
httemplate/search/cdr.html
+++ b/
httemplate/search/cdr.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'name' => 'call detail records',
'query' => $query,
'title' => $title,
'name' => 'call detail records',
'query' => $query,
@@
-28,8
+28,8
@@
'';
}
},
'';
}
},
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/cust_bill_event.cgi
b/httemplate/search/cust_bill_event.cgi
index
00f7cd5
..
9fb533a
100644
(file)
--- a/
httemplate/search/cust_bill_event.cgi
+++ b/
httemplate/search/cust_bill_event.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'html_init' => $html_init,
'menubar' => $menubar,
'title' => $title,
'html_init' => $html_init,
'menubar' => $menubar,
@@
-60,8
+60,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
diff --git
a/httemplate/search/cust_bill_pay.html
b/httemplate/search/cust_bill_pay.html
index
871227a
..
0b64e65
100644
(file)
--- a/
httemplate/search/cust_bill_pay.html
+++ b/
httemplate/search/cust_bill_pay.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'name' => 'net payments',
'query' => $sql_query,
'title' => $title,
'name' => 'net payments',
'query' => $sql_query,
@@
-71,8
+71,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/cust_bill_pkg_discount.html
b/httemplate/search/cust_bill_pkg_discount.html
index
4225e91
..
f598341
100644
(file)
--- a/
httemplate/search/cust_bill_pkg_discount.html
+++ b/
httemplate/search/cust_bill_pkg_discount.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Discounts',
'name' => 'discounts',
'query' => $query,
'title' => 'Discounts',
'name' => 'discounts',
'query' => $query,
@@
-68,8
+68,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
#a little false laziness below w/cust_bill_pkg.cgi
<%init>
#a little false laziness below w/cust_bill_pkg.cgi
diff --git
a/httemplate/search/cust_credit_bill.html
b/httemplate/search/cust_credit_bill.html
index
7e11ee6
..
88f897d
100644
(file)
--- a/
httemplate/search/cust_credit_bill.html
+++ b/
httemplate/search/cust_credit_bill.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'name' => 'net credits',
'query' => $sql_query,
'title' => $title,
'name' => 'net credits',
'query' => $sql_query,
@@
-64,8
+64,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/cust_credit_bill_pkg.html
b/httemplate/search/cust_credit_bill_pkg.html
index
26da106
..
b0dbc70
100644
(file)
--- a/
httemplate/search/cust_credit_bill_pkg.html
+++ b/
httemplate/search/cust_credit_bill_pkg.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Credit application detail', #to line item
'name_singular' => 'credit application',
'query' => $query,
'title' => 'Credit application detail', #to line item
'name_singular' => 'credit application',
'query' => $query,
@@
-96,8
+96,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
#LOTS of false laziness below w/cust_bill_pkg.cgi
<%init>
#LOTS of false laziness below w/cust_bill_pkg.cgi
diff --git
a/httemplate/search/cust_credit_refund.html
b/httemplate/search/cust_credit_refund.html
index
5d89ebe
..
1504f0f
100644
(file)
--- a/
httemplate/search/cust_credit_refund.html
+++ b/
httemplate/search/cust_credit_refund.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'name' => 'net refunds',
'query' => $sql_query,
'title' => $title,
'name' => 'net refunds',
'query' => $sql_query,
@@
-57,8
+57,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/cust_event.html
b/httemplate/search/cust_event.html
index
bd6ba69
..
bfc5f43
100644
(file)
--- a/
httemplate/search/cust_event.html
+++ b/
httemplate/search/cust_event.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'html_init' => $html_init,
'menubar' => $menubar,
'title' => $title,
'html_init' => $html_init,
'menubar' => $menubar,
@@
-62,8
+62,7
@@
#'',
FS::UI::Web::cust_styles(),
],
#'',
FS::UI::Web::cust_styles(),
],
- )
-%>
+&>
<%once>
my $status_sub = sub {
<%once>
my $status_sub = sub {
diff --git
a/httemplate/search/cust_main-zip.html
b/httemplate/search/cust_main-zip.html
index
08800d4
..
f5f8c8f
100644
(file)
--- a/
httemplate/search/cust_main-zip.html
+++ b/
httemplate/search/cust_main-zip.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Zip code Search Results',
'name' => 'zip codes',
'query' => $sql_query,
'title' => 'Zip code Search Results',
'name' => 'zip codes',
'query' => $sql_query,
@@
-6,8
+6,7
@@
'header' => [ 'Zip code', 'Customers', ],
'fields' => [ 0, 1 ],
'links' => [ '', $link ],
'header' => [ 'Zip code', 'Customers', ],
'fields' => [ 0, 1 ],
'links' => [ '', $link ],
- )
-%>
+&>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/cust_pay_batch.cgi
b/httemplate/search/cust_pay_batch.cgi
index
830a6c6
..
dde5461
100755
(executable)
--- a/
httemplate/search/cust_pay_batch.cgi
+++ b/
httemplate/search/cust_pay_batch.cgi
@@
-1,4
+1,4
@@
-<
% include('elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Batch payment details',
'name' => 'batch details',
'query' => $sql_query,
'title' => 'Batch payment details',
'name' => 'batch details',
'query' => $sql_query,
@@
-41,8
+41,7
@@
'link_onclicks' => [ ('') x 8,
$sub_receipt
],
'link_onclicks' => [ ('') x 8,
$sub_receipt
],
- )
-%>
+&>
<%init>
my $conf = new FS::Conf;
<%init>
my $conf = new FS::Conf;
diff --git
a/httemplate/search/cust_pkg_discount.html
b/httemplate/search/cust_pkg_discount.html
index
bd28da8
..
23af180
100644
(file)
--- a/
httemplate/search/cust_pkg_discount.html
+++ b/
httemplate/search/cust_pkg_discount.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Package discounts',
'name' => 'discounts',
'query' => $query,
'title' => 'Package discounts',
'name' => 'discounts',
'query' => $query,
@@
-50,8
+50,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/cust_pkg_svc.html
b/httemplate/search/cust_pkg_svc.html
index
9c5b32f
..
cdc7035
100644
(file)
--- a/
httemplate/search/cust_pkg_svc.html
+++ b/
httemplate/search/cust_pkg_svc.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $part_svc->svc.' services in package #'.$pkgnum,
'name' => 'services',
'html_form' => $html_form,
'title' => $part_svc->svc.' services in package #'.$pkgnum,
'name' => 'services',
'html_form' => $html_form,
@@
-30,8
+30,8
@@
('')x4,
],
'html_foot' => sub { $areboxes ? $html_foot : '' }
('')x4,
],
'html_foot' => sub { $areboxes ? $html_foot : '' }
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/cust_tax_adjustment.html
b/httemplate/search/cust_tax_adjustment.html
index
9254765
..
6125a1c
100644
(file)
--- a/
httemplate/search/cust_tax_adjustment.html
+++ b/
httemplate/search/cust_tax_adjustment.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'name_singular' => 'tax adjustment',
'query' => $query,
'title' => $title,
'name_singular' => 'tax adjustment',
'query' => $query,
@@
-12,9
+12,8
@@
},
],
'links' => [ '', '', '', $ilink ],
},
],
'links' => [ '', '', '', $ilink ],
- )
-%>
-
+
+&>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/cust_tax_exempt.cgi
b/httemplate/search/cust_tax_exempt.cgi
index
f075d19
..
005d77c
100644
(file)
--- a/
httemplate/search/cust_tax_exempt.cgi
+++ b/
httemplate/search/cust_tax_exempt.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Legacy tax exemptions',
'name' => 'legacy tax exemptions',
'query' => $query,
'title' => 'Legacy tax exemptions',
'name' => 'legacy tax exemptions',
'query' => $query,
@@
-46,8
+46,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
my $join_cust = FS::UI::Web::join_cust_main('cust_tax_exempt');
<%init>
my $join_cust = FS::UI::Web::join_cust_main('cust_tax_exempt');
diff --git
a/httemplate/search/cust_tax_exempt_pkg.cgi
b/httemplate/search/cust_tax_exempt_pkg.cgi
index
7e1a239
..
40b9ed7
100644
(file)
--- a/
httemplate/search/cust_tax_exempt_pkg.cgi
+++ b/
httemplate/search/cust_tax_exempt_pkg.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Tax exemptions',
'name' => 'tax exemptions',
'query' => $query,
'title' => 'Tax exemptions',
'name' => 'tax exemptions',
'query' => $query,
@@
-77,8
+77,7
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-%>
+&>
<%once>
my $join_cust = "
<%once>
my $join_cust = "
diff --git
a/httemplate/search/inventory_item.html
b/httemplate/search/inventory_item.html
index
64722ff
..
0e4251f
100644
(file)
--- a/
httemplate/search/inventory_item.html
+++ b/
httemplate/search/inventory_item.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'menubar' => [ 'View inventory classes' =>
'title' => $title,
'menubar' => [ 'View inventory classes' =>
@@
-87,8
+87,8
@@
<INPUT TYPE="hidden" NAME="classnum" VALUE="$classnum">
<INPUT TYPE="hidden" NAME="avail" VALUE="! .$cgi->param('avail') . '">', #'
'html_foot' => $sub_foot,
<INPUT TYPE="hidden" NAME="classnum" VALUE="$classnum">
<INPUT TYPE="hidden" NAME="avail" VALUE="! .$cgi->param('avail') . '">', #'
'html_foot' => $sub_foot,
- )
-
%
>
+
+
&
>
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;
diff --git
a/httemplate/search/mailinglistmember.html
b/httemplate/search/mailinglistmember.html
index
ee395f4
..
a678d45
100644
(file)
--- a/
httemplate/search/mailinglistmember.html
+++ b/
httemplate/search/mailinglistmember.html
@@
-1,4
+1,4
@@
-<
% include('elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'name_singular' => 'member',
'query' => $query,
'title' => $title,
'name_singular' => 'member',
'query' => $query,
@@
-6,8
+6,7
@@
'header' => [ 'Email address' ],
'fields' => [ $email_sub, ], #just this one for now
'html_init' => $html_init,
'header' => [ 'Email address' ],
'fields' => [ $email_sub, ], #just this one for now
'html_init' => $html_init,
- )
-%>
+&>
<%init>
#XXX ACL:
<%init>
#XXX ACL:
diff --git
a/httemplate/search/part_pkg.html
b/httemplate/search/part_pkg.html
index
57da9d4
..
2178346
100644
(file)
--- a/
httemplate/search/part_pkg.html
+++ b/
httemplate/search/part_pkg.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => $title,
'name_singular' => $name,
'header' => \@header,
'title' => $title,
'name_singular' => $name,
'header' => \@header,
@@
-14,8
+14,8
@@
'links' => \@links,
'align' => $align,
'sort_fields' => [],
'links' => \@links,
'align' => $align,
'sort_fields' => [],
- )
-
%
>
+
+
&
>
<%init>
#this is about reports about packages definitions (starting w/commission ones)
<%init>
#this is about reports about packages definitions (starting w/commission ones)
diff --git
a/httemplate/search/pay_batch.cgi
b/httemplate/search/pay_batch.cgi
index
aeaa012
..
34e9fd7
100755
(executable)
--- a/
httemplate/search/pay_batch.cgi
+++ b/
httemplate/search/pay_batch.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Payment Batches',
'name_singular' => 'batch',
'query' => { 'table' => 'pay_batch',
'title' => 'Payment Batches',
'name_singular' => 'batch',
'query' => { 'table' => 'pay_batch',
@@
-101,8
+101,7
@@
],
'html_init' => $html_init,
'html_foot' => include('.upload_incoming'),
],
'html_init' => $html_init,
'html_foot' => include('.upload_incoming'),
- )
-%>
+&>
<%def .upload_incoming>
% if ( FS::payment_gateway->count("gateway_namespace = 'Business::BatchPayment' AND disabled IS NULL") > 0 ) {
<& /elements/form-file_upload.html,
<%def .upload_incoming>
% if ( FS::payment_gateway->count("gateway_namespace = 'Business::BatchPayment' AND disabled IS NULL") > 0 ) {
<& /elements/form-file_upload.html,
diff --git
a/httemplate/search/phone_avail.html
b/httemplate/search/phone_avail.html
index
312c84e
..
faf3544
100644
(file)
--- a/
httemplate/search/phone_avail.html
+++ b/
httemplate/search/phone_avail.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Phone Number (DID) Search Results',
'name_singular' => 'phone number',
'query' => {
'title' => 'Phone Number (DID) Search Results',
'name_singular' => 'phone number',
'query' => {
@@
-81,8
+81,8
@@
FS::UI::Web::cust_styles(),
'',
],
FS::UI::Web::cust_styles(),
'',
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/phone_inventory_provisioned.html
b/httemplate/search/phone_inventory_provisioned.html
index
03d2154
..
b3efdbd
100644
(file)
--- a/
httemplate/search/phone_inventory_provisioned.html
+++ b/
httemplate/search/phone_inventory_provisioned.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'LATA Search Results',
'name_singular' => 'LATA',
'query' => {
'title' => 'LATA Search Results',
'name_singular' => 'LATA',
'query' => {
@@
-72,8
+72,8
@@
'',
'',
],
'',
'',
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/prepay_credit.html
b/httemplate/search/prepay_credit.html
index
3640351
..
7566e65
100644
(file)
--- a/
httemplate/search/prepay_credit.html
+++ b/
httemplate/search/prepay_credit.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Unused Prepaid Cards'.
($agent ? ' for '. $agent->agent : ''),
'menubar' => [
'title' => 'Unused Prepaid Cards'.
($agent ? ' for '. $agent->agent : ''),
'menubar' => [
@@
-47,8
+47,8
@@
$agent ? [ "${p}edit/agent.cgi?", 'agentnum' ] : '';
},
],
$agent ? [ "${p}edit/agent.cgi?", 'agentnum' ] : '';
},
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/prospect_main.html
b/httemplate/search/prospect_main.html
index
328d120
..
ab37b90
100644
(file)
--- a/
httemplate/search/prospect_main.html
+++ b/
httemplate/search/prospect_main.html
@@
-1,4
+1,4
@@
-<
% include('elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Prospect Search Results',
'name_singular' => 'prospect',
'query' => $query,
'title' => 'Prospect Search Results',
'name_singular' => 'prospect',
'query' => $query,
@@
-23,8
+23,7
@@
'', #link to contact edit???
],
'agent_virt' => 1,
'', #link to contact edit???
],
'agent_virt' => 1,
- )
-%>
+&>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/qual.cgi
b/httemplate/search/qual.cgi
index
7133ef0
..
7b718e4
100755
(executable)
--- a/
httemplate/search/qual.cgi
+++ b/
httemplate/search/qual.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Qualifications',
'name_singular' => 'qualification',
'query' => { 'table' => 'qual',
'title' => 'Qualifications',
'name_singular' => 'qualification',
'query' => { 'table' => 'qual',
@@
-51,8
+51,8
@@
'',
'',
],
'',
'',
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/queue.html
b/httemplate/search/queue.html
index
1c12470
..
141c535
100644
(file)
--- a/
httemplate/search/queue.html
+++ b/
httemplate/search/queue.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Job Queue',
'name' => 'jobs',
'html_form' => qq!<FORM NAME="jobForm" ACTION="$p/misc/queue.cgi" METHOD="POST">!,
'title' => 'Job Queue',
'name' => 'jobs',
'html_form' => qq!<FORM NAME="jobForm" ACTION="$p/misc/queue.cgi" METHOD="POST">!,
@@
-120,9
+120,8
@@
'';
}
},
'';
}
},
- )
-
-%>
+
+&>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/reg_code.html
b/httemplate/search/reg_code.html
index
f7d6d20
..
42211e5
100644
(file)
--- a/
httemplate/search/reg_code.html
+++ b/
httemplate/search/reg_code.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Unused Registration Codes for '.
$agent->agent,
'name' => 'registration codes',
'title' => 'Unused Registration Codes for '.
$agent->agent,
'name' => 'registration codes',
@@
-23,8
+23,8
@@
#$plink,
'',
],
#$plink,
'',
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/rt_ticket.html
b/httemplate/search/rt_ticket.html
index
1ed5a38
..
8603ef2
100644
(file)
--- a/
httemplate/search/rt_ticket.html
+++ b/
httemplate/search/rt_ticket.html
@@
-1,4
+1,4
@@
-<
% include('elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Time worked summary',
'name_singular' => 'ticket',
'query' => $query,
'title' => 'Time worked summary',
'name_singular' => 'ticket',
'query' => $query,
@@
-31,8
+31,7
@@
'',
'',
],
'',
'',
],
- )
-%>
+&>
<%once>
my $format_seconds_sub = sub {
<%once>
my $format_seconds_sub = sub {
diff --git
a/httemplate/search/rt_transaction.html
b/httemplate/search/rt_transaction.html
index
1ae607b
..
eb250fb
100644
(file)
--- a/
httemplate/search/rt_transaction.html
+++ b/
httemplate/search/rt_transaction.html
@@
-1,4
+1,4
@@
-<
% include('elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Time worked',
'name_singular' => 'transaction',
'query' => $query,
'title' => 'Time worked',
'name_singular' => 'transaction',
'query' => $query,
@@
-29,8
+29,7
@@
'',
'',
],
'',
'',
],
- )
-%>
+&>
<%once>
my $format_seconds_sub = sub {
<%once>
my $format_seconds_sub = sub {
diff --git
a/httemplate/search/sql.html
b/httemplate/search/sql.html
index
bf54469
..
71aa006
100644
(file)
--- a/
httemplate/search/sql.html
+++ b/
httemplate/search/sql.html
@@
-1,9
+1,9
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Query Results',
'name' => 'rows',
'query' => "SELECT $sql",
'title' => 'Query Results',
'name' => 'rows',
'query' => "SELECT $sql",
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/svc_broadband.cgi
b/httemplate/search/svc_broadband.cgi
index
ee62e90
..
e56ec39
100755
(executable)
--- a/
httemplate/search/svc_broadband.cgi
+++ b/
httemplate/search/svc_broadband.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Broadband Search Results',
'name' => 'broadband services',
'html_init' => $html_init,
'title' => 'Broadband Search Results',
'name' => 'broadband services',
'html_init' => $html_init,
@@
-49,8
+49,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied" unless
<%init>
die "access denied" unless
diff --git
a/httemplate/search/svc_dish.cgi
b/httemplate/search/svc_dish.cgi
index
a2e56d2
..
1578aa1
100755
(executable)
--- a/
httemplate/search/svc_dish.cgi
+++ b/
httemplate/search/svc_dish.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Dish Network Search Results',
'name' => 'services',
'query' => $sql_query,
'title' => 'Dish Network Search Results',
'name' => 'services',
'query' => $sql_query,
@@
-34,8
+34,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/svc_domain.cgi
b/httemplate/search/svc_domain.cgi
index
508d889
..
56cfa30
100755
(executable)
--- a/
httemplate/search/svc_domain.cgi
+++ b/
httemplate/search/svc_domain.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => "Domain Search Results",
'name' => 'domains',
'query' => $sql_query,
'title' => "Domain Search Results",
'name' => 'domains',
'query' => $sql_query,
@@
-34,8
+34,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/svc_external.cgi
b/httemplate/search/svc_external.cgi
index
7d57697
..
1909987
100755
(executable)
--- a/
httemplate/search/svc_external.cgi
+++ b/
httemplate/search/svc_external.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'External service search results',
'name' => 'external services',
'query' => $sql_query,
'title' => 'External service search results',
'name' => 'external services',
'query' => $sql_query,
@@
-40,9
+40,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-%>
-
+
+&>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/svc_forward.cgi
b/httemplate/search/svc_forward.cgi
index
eda790a
..
6a23bb3
100755
(executable)
--- a/
httemplate/search/svc_forward.cgi
+++ b/
httemplate/search/svc_forward.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => "Mail forward Search Results",
'name' => 'mail forwards',
'query' => $sql_query,
'title' => "Mail forward Search Results",
'name' => 'mail forwards',
'query' => $sql_query,
@@
-39,8
+39,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/svc_hardware.cgi
b/httemplate/search/svc_hardware.cgi
index
085d750
..
28aa132
100644
(file)
--- a/
httemplate/search/svc_hardware.cgi
+++ b/
httemplate/search/svc_hardware.cgi
@@
-1,4
+1,4
@@
-<
% include('elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Hardware service search results',
'name' => 'installations',
'query' => $sql_query,
'title' => 'Hardware service search results',
'name' => 'installations',
'query' => $sql_query,
@@
-34,8
+34,7
@@
FS::UI::Web::cust_colors() ],
'style' => [ $svc_cancel_style, ('') x 7,
FS::UI::Web::cust_styles() ],
FS::UI::Web::cust_colors() ],
'style' => [ $svc_cancel_style, ('') x 7,
FS::UI::Web::cust_styles() ],
- )
-%>
+&>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/svc_phone.cgi
b/httemplate/search/svc_phone.cgi
index
65aa1ae
..
cc4aa60
100644
(file)
--- a/
httemplate/search/svc_phone.cgi
+++ b/
httemplate/search/svc_phone.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => "Phone number search results",
'name' => 'phone numbers',
'query' => $sql_query,
'title' => "Phone number search results",
'name' => 'phone numbers',
'query' => $sql_query,
@@
-46,8
+46,8
@@
( map '', @header ),
FS::UI::Web::cust_styles(),
],
( map '', @header ),
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/svc_www.cgi
b/httemplate/search/svc_www.cgi
index
5132f94
..
eefe893
100755
(executable)
--- a/
httemplate/search/svc_www.cgi
+++ b/
httemplate/search/svc_www.cgi
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Virtual Host Search Results',
'name' => 'virtual hosts',
'query' => $sql_query,
'title' => 'Virtual Host Search Results',
'name' => 'virtual hosts',
'query' => $sql_query,
@@
-45,8
+45,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/timeworked.html
b/httemplate/search/timeworked.html
index
bbfd033
..
fa4b895
100644
(file)
--- a/
httemplate/search/timeworked.html
+++ b/
httemplate/search/timeworked.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Time Worked',
'name' => 'time',
'html_form' => qq!<FORM NAME="timeForm" ACTION="${p}misc/timeworked.html" METHOD="POST">!,
'title' => 'Time Worked',
'name' => 'time',
'html_form' => qq!<FORM NAME="timeForm" ACTION="${p}misc/timeworked.html" METHOD="POST">!,
@@
-33,9
+33,8
@@
'',
],
'html_foot' => $html_foot,
'',
],
'html_foot' => $html_foot,
- )
-
-%>
+
+&>
<%init>
die "access denied"
<%init>
die "access denied"
diff --git
a/httemplate/search/unprovisioned_services.html
b/httemplate/search/unprovisioned_services.html
index
89d5f2d
..
a7791ba
100644
(file)
--- a/
httemplate/search/unprovisioned_services.html
+++ b/
httemplate/search/unprovisioned_services.html
@@
-1,4
+1,4
@@
-<
% include( 'elements/search.html'
,
+<
& elements/search.html
,
'title' => 'Unprovisioned Service Search Results',
'name' => 'packages with unprovisioned services',
'query' => {
'title' => 'Unprovisioned Service Search Results',
'name' => 'packages with unprovisioned services',
'query' => {
@@
-54,8
+54,8
@@
'',
FS::UI::Web::cust_styles(),
],
'',
FS::UI::Web::cust_styles(),
],
- )
-
%
>
+
+
&
>
<%init>
die "access denied"
<%init>
die "access denied"