diff --git a/mozilla/webtools/tinderbox2/src/bin/addimage.cgi b/mozilla/webtools/tinderbox2/src/bin/addimage.cgi
deleted file mode 100755
index e1c3536e0f1..00000000000
--- a/mozilla/webtools/tinderbox2/src/bin/addimage.cgi
+++ /dev/null
@@ -1,407 +0,0 @@
-This is the old code we will make it look more like addnote when I deploy the image system.
-
-
-#!/usr/bonsaitools/bin/perl --
-# -*- Mode: perl; indent-tabs-mode: nil -*-
-#
-# The contents of this file are subject to the Netscape Public License
-# Version 1.0 (the "License"); you may not use this file except in
-# compliance with the License. You may obtain a copy of the License at
-# http://www.mozilla.org/NPL/
-#
-# Software distributed under the License is distributed on an "AS IS"
-# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-# License for the specific language governing rights and limitations
-# under the License.
-#
-# The Original Code is the Tinderbox build tool.
-#
-# The Initial Developer of the Original Code is Netscape Communications
-# Corporation. Portions created by Netscape are Copyright (C) 1998
-# Netscape Communications Corporation. All Rights Reserved.
-
-use Socket;
-
-use lib "../bonsai";
-require 'header.pl';
-
-print "Content-type: text/html\n\n";
-
-EmitHtmlTitleAndHeader("tinderbox: add images", "add images");
-
-$| = 1;
-
-require "globals.pl";
-require "imagelog.pl";
-
-&split_cgi_args;
-
-
-sub Error {
- my ($msg) = @_;
- print "
";
- print "
"; - print "
"; - print "Hit \`Back' and try again."; - print "
This is about fun, and making your daily excursion to -Tinderbox a -novel experience. Engineers spend a lot of time here; it might as well -have some entertainment value. - -
Please play nice. We don't have the time or inclination to look at -everything you people submit, but if we get nastygrams or legalgrams -and have to take something down, we will curse your IP address, and you -might even make it so the whole thing goes away forever. Please don't -make us go there. You might also avoid links to big images or slow -servers. - -
If you really find an image offensive, please -tell us -nicely before someone causes a stink. Be sure to include the URL of -the image. Remember, we don't screen these submissions and may not -have even seen it. - -
These are all of the images currently in -Tinderbox. -
Please don\'t give out this URL: this is only here for our debugging -needs, and isn\'t linked to by the rest of Tinderbox: because looking at -all the images at once would be be cheating! you\'re supposed to let them -surprise you over time. What, do you read ahead in your desktop calendar, -too? Where\'s your sense of mystery and anticipation? - -
-
\n"; - unlink $newname; - } else { - print "Change made.
"; - rename ($newname, $oldname) || - die "Couldn't rename $newname to $oldname"; - } - $form{'doedit'} = "1"; -} - - - - -$doedit = ($form{'doedit'} ne ""); - -if (!$doedit) { - print " -
";
-}
-
-
-
-open( IMAGELOG, "<$data_dir/imagelog.txt" ) || die "can't open file";
-while(
-
-
-
-$pick_random_line = sub {
- # return a random line
- srand;
- @ret = @{ $value[rand scalar(@log)] };
-}
-
- $value = "@{[&$pick_random_line()]}"
- return @ret;
-}
-
-
-sub savetree_header {
-
- my (@log, @ret, $lineno, );
-
- my $file = "$data_dir/imagelog.txt";
-
- (-r $file) || return ;
- open(IMAGELOG, "<$file" )
- or die("can't open file: $file. $!\n");
-
- @log =
-$quote[$i]";
- if ($doedit) {
- print "
-";
- }
- print "
\n";
- $i--;
-}
-
-
diff --git a/mozilla/webtools/tinderbox2/src/lib/TinderHeader/Images.pm b/mozilla/webtools/tinderbox2/src/lib/TinderHeader/Images.pm
deleted file mode 100644
index b4c4facf1e2..00000000000
--- a/mozilla/webtools/tinderbox2/src/lib/TinderHeader/Images.pm
+++ /dev/null
@@ -1,108 +0,0 @@
-# -*- Mode: perl; indent-tabs-mode: nil -*-
-#
-
-# NOT WORKING - please port, following other Headers as a guide.
-
-# TinderHeader::Images - A random image and caption which is displayed
-# on the status page. It is similar to the old program 'fortune' and
-# is one of the few TinderHeaders not set by the administrators.
-# Images are added by the users.
-
-
-# The contents of this file are subject to the Mozilla Public License
-# Version 1.0 (the "License"); you may not use this file except in
-# compliance with the License. You may obtain a copy of the License at
-# http://www.mozilla.org/NPL/
-#
-# Software distributed under the License is distributed on an "AS IS"
-# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-# License for the specific language governing rights and limitations
-# under the License.
-#
-# The Original Code is the Tinderbox build tool.
-#
-# The Initial Developer of the Original Code is Netscape Communications
-# Corporation. Portions created by Netscape are Copyright (C) 1998
-# Netscape Communications Corporation. All Rights Reserved.
-
-# complete rewrite by Ken Estes, Mail.com (kestes@staff.mail.com).
-
-
-package TinderHeader::Images;
-
-# load the simple name of this module into TinderHeader so we can
-# track the implementations provided.
-
-# load the simple name of this module into TinderHeader so we can
-# track the implementations provided.
-
-$TinderHeader::NAMES2OBJS{ 'Images' } =
- TinderHeader::Images->new();
-
-
-
-sub gettree_header {
- local(@log,@ret,$i);
-
- (-r $filename) ||
- return '';
-
- require($filename) ||
- die("Could not eval filename: '$filename': $!\n");
-
-
-
-# See http://www.ugcs.caltech.edu/~werdna/gifsize/ for more information
-
-# gifsize is a perl routine which will read in an HTML file and insert
-# HEIGHT=### WIDTH=### directives into the inlined images used in the
-# file.
-#
-# you can do something like:
-#
-# find . -name \*.html -exec gifsize {} \;
-# find . -name \*.html.bak -exec rm -f {} \;.
-
-
- $quote
-