use strict;
use vars qw( %session );
- use CGI 3.29 qw(-private_tempfiles); #3.29 to fix RT attachment problems
-
- #breaks quick payment entry
- #http://rt.cpan.org/Public/Bug/Display.html?id=37365
- die "CGI.pm v3.38 is broken, use any other version >= 3.29".
- " (Debian 5.0? aptitude remove libcgi-pm-perl)"
- if $CGI::VERSION == 3.38;
+ use CGI 3.39 qw(-private_tempfiles); #3.39 for cpan#37365
#use CGI::Carp qw(fatalsToBrowser);
use CGI::Cookie;
use HTML::TableExtract qw(tree);
use HTML::FormatText;
use HTML::Defang;
- use JSON::XS;
+ use Cpanel::JSON::XS;
use MIME::Base64;
use IO::Handle;
use IO::File;
use HTML::Widgets::SelectLayers 0.07; #should go away in favor of
#selectlayers.html
use Locale::Country;
+ #use FS::geocode_Mixin; #for its code2country
use Locale::Currency;
use Locale::Currency::Format;
use Business::US::USPS::WebTools::AddressStandardization;
use FS::Conf;
use FS::CGI qw(header menubar table itable ntable idiot
eidiot myexit http_header);
- use FS::UI::Web qw(svc_url);
+ use FS::UI::Web qw(svc_url random_id);
use FS::UI::Web::small_custview qw(small_custview);
use FS::UI::bytecount;
use FS::UI::REST qw( rest_auth rest_uri_remain encode_rest );
use FS::cust_pkg_reason_fee;
use FS::part_svc_link;
use FS::access_user_log;
+ use FS::report_batch;
+ use FS::report_batch;
+ use FS::report_batch;
+ use FS::report_batch;
+ use FS::password_history;
+ use FS::svc_fiber;
+ use FS::fiber_olt;
# Sammath Naur
if ( $FS::Mason::addl_handler_use ) {
sub include {
use vars qw($m);
- #carp #should just switch to <& &> syntax
+ #warn 'include deprecated; use an HTML::Mason <& &> style include (or $m->scomp) at '. $m->callers(0)->path. "\n";
$m->scomp(@_);
}
[ 'rt' => '%%%FREESIDE_DOCUMENT_ROOT%%%/rt' ],
[ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ],
],
- escape_flags => { 'h' => \&RT::Interface::Web::EscapeUTF8,
+ escape_flags => { 'h' => \&RT::Interface::Web::EscapeHTML,
+ #u and j aren't used anymore? :/
'u' => \&RT::Interface::Web::EscapeURI,
'j' => \&RT::Interface::Web::EscapeJS,
'js_string' => $js_string_sub,