#!/usr/bonsaitools/bin/perl -- # -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Netscape Public # License Version 1.1 (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. # # Contributor(s): $| = 1; use lib "../bonsai"; require 'tbglobals.pl'; require 'imagelog.pl'; require 'lloydcgi.pl'; require 'header.pl'; tb_check_password(); print "Content-type: text/html\n\n"; @url = (); @quote = (); @width = (); @height = (); $i = 0; EmitHtmlHeader("tinderbox: all images"); print '
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(
$quote[$i]";
if ($doedit) {
print "
";
}
print "
\n";
$i--;
}