X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Fglobal.asa;h=d04a5edbf54268c92e09f2fcb4e1242c79634d62;hp=c4b4380d6b0f9bdbe6139a413ca8f7bd2b72d59b;hb=0466aab2988c550d1ff76c0017059c06228c2045;hpb=1fd6d8cf5d7854860ef4fd10ed89828e0c04ec39 diff --git a/htetc/global.asa b/htetc/global.asa index c4b4380d6..d04a5edbf 100644 --- a/htetc/global.asa +++ b/htetc/global.asa @@ -9,11 +9,13 @@ use HTML::Entities; use IO::Handle; use IO::File; use String::Approx qw(amatch); -use FS::UID qw(cgisuidsetup dbh getotaker datasrc); +use HTML::Widgets::SelectLayers 0.02; +use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name); use FS::Record qw(qsearch qsearchs fields dbdef); use FS::Conf; use FS::CGI qw(header menubar popurl table itable ntable idiot eidiot - small_custview); + small_custview myexit); +use FS::Msgcat qw(gettext geterror); use FS::agent; use FS::agent_type; @@ -35,7 +37,7 @@ use FS::part_referral; use FS::part_svc; use FS::pkg_svc; use FS::port; -use FS::queue; +use FS::queue qw(joblisting); use FS::raddb; use FS::session; use FS::svc_acct; @@ -45,8 +47,17 @@ use FS::svc_domain; use FS::svc_forward; use FS::svc_www; use FS::type_pkgs; +use FS::part_export; +use FS::part_export_option; +use FS::export_svc; +use FS::msgcat; sub Script_OnStart { + $Response->AddHeader('Pragma' => 'no-cache'); + $Response->AddHeader('Cache-control' => 'no-cache'); +# $Response->AddHeader('Expires' => 0); + $Response->{Expires} = -36288000; + $cgi = new CGI; &cgisuidsetup($cgi); $p = popurl(2); @@ -61,7 +72,9 @@ sub Script_OnFlush { $$ref =~ s/<\/BODY>[\s\n]*<\/HTML>[\s\n]*$//i or warn "can't remove"; - $$ref .= '
'. ("\n"x96). encode_entities(dbh->sprintProfile()). '
'; + #$$ref .= '
'. ("\n"x96). encode_entities(dbh->sprintProfile()). '
'; + # wtf? konqueror... + $$ref .= '
'. ("\n"x4096). encode_entities(dbh->sprintProfile()). '
'; $$ref .= '';