summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-12-13 15:28:57 -0800
committerIvan Kohler <ivan@freeside.biz>2015-12-13 15:28:57 -0800
commit2748aaf4aa3f19e17a37edc07e89ee402108900d (patch)
tree02c51b592ad087101f935269c5b664b313657b80 /httemplate
parent6d769244a6aa43877c04e227637c80ae1f0a410b (diff)
JSON::XS -> Cpanel::JSON::XS
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/cust_main_note.cgi2
-rw-r--r--httemplate/edit/payment_gateway.html2
-rw-r--r--httemplate/elements/htmlarea.html2
-rw-r--r--httemplate/elements/select-tiered.html2
-rw-r--r--httemplate/misc/xmlhttp-mib-browse.html2
5 files changed, 5 insertions, 5 deletions
diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi
index 9ae29c2f1..c295e0d7a 100755
--- a/httemplate/edit/cust_main_note.cgi
+++ b/httemplate/edit/cust_main_note.cgi
@@ -26,7 +26,7 @@
<& /elements/htmlarea.html,
'field' => 'comment_html',
'curr_value' => $comment,
- 'config' => { toolbarStartupExpanded => JSON::false,
+ 'config' => { toolbarStartupExpanded => Cpanel::JSON::XS::false,
height => 315,
},
&>
diff --git a/httemplate/edit/payment_gateway.html b/httemplate/edit/payment_gateway.html
index 156910f51..a85ba57af 100644
--- a/httemplate/edit/payment_gateway.html
+++ b/httemplate/edit/payment_gateway.html
@@ -39,7 +39,7 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
-my $json = JSON::XS->new;
+my $json = Cpanel::JSON::XS->new;
$json->canonical(1);
my %modules = (
'Business::OnlinePayment' => [
diff --git a/httemplate/elements/htmlarea.html b/httemplate/elements/htmlarea.html
index 4f9b72163..dba744e23 100644
--- a/httemplate/elements/htmlarea.html
+++ b/httemplate/elements/htmlarea.html
@@ -32,7 +32,7 @@ Example:
my %opt = @_;
my $config = {
'height' => ($opt{height} || 420),
- 'startupFocus' => JSON::true,
+ 'startupFocus' => Cpanel::JSON::XS::true,
'skin' => 'kama',
'toolbarCanCollapse' => JSON::true,
'removePlugins' => 'elementspath',
diff --git a/httemplate/elements/select-tiered.html b/httemplate/elements/select-tiered.html
index 48469dc04..e76bf762b 100644
--- a/httemplate/elements/select-tiered.html
+++ b/httemplate/elements/select-tiered.html
@@ -124,7 +124,7 @@ my %opt = @_;
my $pre = $opt{prefix} || '';
my $tiers = $opt{tiers} or die "no tiers defined";
-my $json = JSON::XS->new();
+my $json = Cpanel::JSON::XS->new();
$json->canonical;
my $i;
diff --git a/httemplate/misc/xmlhttp-mib-browse.html b/httemplate/misc/xmlhttp-mib-browse.html
index f3084ff6f..6b008538e 100644
--- a/httemplate/misc/xmlhttp-mib-browse.html
+++ b/httemplate/misc/xmlhttp-mib-browse.html
@@ -1,5 +1,5 @@
%#<% Data::Format::HTML->new->format($index{by_path}) %>
-% my $json = "JSON"->new->canonical;
+% my $json = Cpanel::JSON::XS->new->canonical;
<% $json->encode($result) %>
<%init>
#<%once> #enable me in production