X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FCGI.pm;h=6c7ab78c9cb36b0aa781435d16960cc3bfe5e198;hb=23c97b258b9b60d558af333166940f11c229f71c;hp=86d20f6cb99fd0787a69b51f9e64fcfe355bad46;hpb=baaa14867224a536143b843ff33787f74d1c5032;p=freeside.git diff --git a/FS/FS/CGI.pm b/FS/FS/CGI.pm index 86d20f6cb..6c7ab78c9 100644 --- a/FS/FS/CGI.pm +++ b/FS/FS/CGI.pm @@ -44,8 +44,10 @@ Returns an HTML header. =cut sub header { + use Carp; + carp 'FS::CGI::header deprecated; include /elements/header.html instead'; + my($title,$menubar,$etc)=@_; #$etc is for things like onLoad= etc. - #use Carp; $etc = '' unless defined $etc; my $x = <isa('Apache') ? $cgi->uri : $cgi->url ); + $url->query(undef); my(@path)=$url->path_components; splice @path, 0-$up; $url->path_components(@path); @@ -225,6 +231,9 @@ Returns HTML tag for beginning a table. =cut sub table { + use Carp; + carp 'FS::CGI::table deprecated; include /elements/table.html instead'; + my $col = shift; if ( $col ) { qq!!;