diff --git a/webtools/tinderbox2/src/lib/HTMLPopUp/MajorCoolWindow.pm b/webtools/tinderbox2/src/lib/HTMLPopUp/MajorCoolWindow.pm index b9e5b08b1e52..2eb2c4a3e4e6 100644 --- a/webtools/tinderbox2/src/lib/HTMLPopUp/MajorCoolWindow.pm +++ b/webtools/tinderbox2/src/lib/HTMLPopUp/MajorCoolWindow.pm @@ -5,8 +5,8 @@ # application MajorCool. -# $Revision: 1.9 $ -# $Date: 2001/07/20 19:05:04 $ +# $Revision: 1.10 $ +# $Date: 2002/05/01 02:01:49 $ # $Author: kestes%walrus.com $ # $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/HTMLPopUp/MajorCoolWindow.pm,v $ # $Name: $ @@ -38,15 +38,8 @@ # Contributor(s): -# We need this empty package namespace for our dependency analysis, it -# gets confused if there is not a package name which matches the file -# name and in this case the file is one of several possible -# implementations. - package HTMLPopUp::MajorCoolWindow; -package HTMLPopUp; - $VERSION = '#tinder_version#'; @@ -73,6 +66,7 @@ $VERSION = '#tinder_version#'; sub page_header { + my $self = shift @_; my (%args) = @_; my ($html_time) = $main::LOCALTIME; @@ -346,6 +340,7 @@ sub Link { # "windowwidth"=>"", # ); + my $self = shift @_; my (%args) = @_; my $out = ''; @@ -389,10 +384,10 @@ sub Link { # determine what a HTML row is. $args{'windowheight'} = ($args{'windowheight'} || - $DEFAULT_POPUP_HEIGHT); + $HTMLPopUp::DEFAULT_POPUP_HEIGHT); $args{'windowwidth'} = ($args{'windowwidth'} || - $DEFAULT_POPUP_WIDTH); + $HTMLPopUp::DEFAULT_POPUP_WIDTH); # @@ -442,6 +437,7 @@ sub Link { # don't forget that tip() is recursive ) sub test_define_structures { + my $self = shift @_; my (@out) =(); push @out, "popuptxt = new Array();\n"; diff --git a/webtools/tinderbox2/src/lib/HTMLPopUp/MozillaLayers.pm b/webtools/tinderbox2/src/lib/HTMLPopUp/MozillaLayers.pm index 9c508824acf2..bcd2f567bef5 100644 --- a/webtools/tinderbox2/src/lib/HTMLPopUp/MozillaLayers.pm +++ b/webtools/tinderbox2/src/lib/HTMLPopUp/MozillaLayers.pm @@ -15,8 +15,8 @@ -# $Revision: 1.6 $ -# $Date: 2001/07/20 19:05:04 $ +# $Revision: 1.7 $ +# $Date: 2002/05/01 02:01:49 $ # $Author: kestes%walrus.com $ # $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/HTMLPopUp/MozillaLayers.pm,v $ # $Name: $ @@ -48,15 +48,9 @@ # Contributor(s): -# We need this empty package namespace for our dependency analysis, it -# gets confused if there is not a package name which matches the file -# name and in this case the file is one of several possible -# implementations. package HTMLPopUp::MozillaLayers; -package HTMLPopUp; - $VERSION = '#tinder_version#'; @@ -69,6 +63,7 @@ $VERSION = '#tinder_version#'; sub page_header { + my $self = shift @_; my (%args) = @_; my ($html_time) = $main::LOCALTIME; @@ -199,6 +194,7 @@ sub Link { # "windowwidth"=>"", # ); + my $self = shift @_; my (%args) = @_; my $out = ''; @@ -223,7 +219,7 @@ sub Link { # set the defaults $args{'windowtitle'} = $args{'windowtitle'} || - $HTML::DEFAULT_POPUP_TITLE; + $HTMLPopUp::DEFAULT_POPUP_TITLE; # the arguments: @@ -303,6 +299,7 @@ sub Link { sub define_structures { + my $self = shift @_; my (@out) =(); push @out, "\t