Spelling police. Sorta.

This commit is contained in:
nsj 1998-05-27 12:48:05 +00:00
parent 3a2262e037
commit 42c37423a2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2866
2 changed files with 6 additions and 4 deletions

View file

@ -4,7 +4,7 @@
#
# John Fieber <jfieber@indiana.edu>
# Modified for new gallery.db format by Nate Johnson <nsj@freebsd.org>
# $Id: gallery.cgi,v 1.10 1998-05-27 12:40:19 nsj Exp $
# $Id: gallery.cgi,v 1.11 1998-05-27 12:48:05 nsj Exp $
##################################################################
$curator = "gallery@freebsd.org";
@ -13,7 +13,7 @@ $subject = "Another gallery submission...";
require 'cgi-lib.pl';
&ReadParse;
$hsty_date = "\$Date: 1998-05-27 12:40:19 $";
$hsty_date = "\$Date: 1998-05-27 12:48:05 $";
#$h_base = "..";
#$d_author = "
require 'cgi-style.pl';
@ -124,6 +124,7 @@ elsif ($in{'action'} eq "submit") {
$category = $in{'category'};
$category =~ tr/A-Z/a-z/;
$categort =~ tr/ //;
($mo,$da,$year) = $timestamp =~ m/(\d\d?)-(\d\d?)-(\d\d\d\d)/;
$year -= 1900;

View file

@ -4,7 +4,7 @@
#
# John Fieber <jfieber@indiana.edu>
# Modified for new gallery.db format by Nate Johnson <nsj@freebsd.org>
# $Id: gallery.cgi,v 1.10 1998-05-27 12:40:19 nsj Exp $
# $Id: gallery.cgi,v 1.11 1998-05-27 12:48:05 nsj Exp $
##################################################################
$curator = "gallery@freebsd.org";
@ -13,7 +13,7 @@ $subject = "Another gallery submission...";
require 'cgi-lib.pl';
&ReadParse;
$hsty_date = "\$Date: 1998-05-27 12:40:19 $";
$hsty_date = "\$Date: 1998-05-27 12:48:05 $";
#$h_base = "..";
#$d_author = "
require 'cgi-style.pl';
@ -124,6 +124,7 @@ elsif ($in{'action'} eq "submit") {
$category = $in{'category'};
$category =~ tr/A-Z/a-z/;
$categort =~ tr/ //;
($mo,$da,$year) = $timestamp =~ m/(\d\d?)-(\d\d?)-(\d\d\d\d)/;
$year -= 1900;