diff --git a/data/cgi/gallery.cgi b/data/cgi/gallery.cgi index f358c67d3a..7571c9ea02 100755 --- a/data/cgi/gallery.cgi +++ b/data/cgi/gallery.cgi @@ -1,131 +1,131 @@ #!/usr/bin/perl ################################################################## # A CGI form processor for FreeBSD Gallery submissions # # John Fieber -# $Id: gallery.cgi,v 1.6 1996-12-12 23:53:55 jfieber Exp $ +# $Id: gallery.cgi,v 1.7 1996-12-13 16:24:32 jfieber Exp $ ################################################################## #$curator = "jfieber@indiana.edu"; #$curator = "jkh@freebsd.org"; -$curator = "cawimm0@service1.uky.edu"; +$curator = "cawimm0@pop.uky.edu"; $subject = "Another gallery submission..."; require 'cgi-lib.pl'; &ReadParse; -$hsty_date = "\$Date: 1996-12-12 23:53:55 $"; +$hsty_date = "\$Date: 1996-12-13 16:24:32 $"; #$h_base = ".."; #$d_author = " require 'cgi-style.pl'; # Construct the gallery entry in HTML form $entry = "
  • $in{'organization'} " . "-- $in{'description'}
  • "; # Try and figure out where the person came from so we can provide # links back to the correct place. $return = ""; if ($in{'return'} eq "") { if ($ENV{'HTTP_REFERER'} ne "") { $in{'return'} = $ENV{'HTTP_REFERER'}; } } if ($in{'return'} ne "") { $return = "Return to the Gallery"; } # This is the form where the user enters the information. $forma = &html_header("Gallery Submission") . "
    Organization:
    Description:
    URL:
    Category: Commercial
    Non-Profit
    Personal
    Email Contact:

    $return

    " . &html_footer(); # This is the form where the user CHECKS the information they typed $formb = &html_header("Your Gallery Submission") . "

    Here is your entry as it will appear in the FreeBSD Gallery page.

    Please check that the category and your e-mail address are correct, and that the link actually works. If anything is wrong, use your browser's back button and correct it. If everything is okay, press the submit button below.

    Contact person: $in{'contact'}


    $in{'category'}


    $return

    " . &html_footer(); # And this is where we thank them for submitting an entry. $formc = &html_header("Thank You!") . "

    Thank you for your entry! Please allow a few days for your entry to be added to the Gallery.

    $return

    " . &html_footer(); if ($in{'action'} eq "preview") { print $formb; } elsif ($in{'action'} eq "submit") { print $formc; # close(STDOUT); open(M, "| mail -s \"$subject\" $curator"); print M "\"$in{'category'}\" gallery entry:\n\n"; print M "\n"; print M "$entry\n"; close(M); } else { print $forma; } exit 0; diff --git a/en/cgi/gallery.cgi b/en/cgi/gallery.cgi index f358c67d3a..7571c9ea02 100755 --- a/en/cgi/gallery.cgi +++ b/en/cgi/gallery.cgi @@ -1,131 +1,131 @@ #!/usr/bin/perl ################################################################## # A CGI form processor for FreeBSD Gallery submissions # # John Fieber -# $Id: gallery.cgi,v 1.6 1996-12-12 23:53:55 jfieber Exp $ +# $Id: gallery.cgi,v 1.7 1996-12-13 16:24:32 jfieber Exp $ ################################################################## #$curator = "jfieber@indiana.edu"; #$curator = "jkh@freebsd.org"; -$curator = "cawimm0@service1.uky.edu"; +$curator = "cawimm0@pop.uky.edu"; $subject = "Another gallery submission..."; require 'cgi-lib.pl'; &ReadParse; -$hsty_date = "\$Date: 1996-12-12 23:53:55 $"; +$hsty_date = "\$Date: 1996-12-13 16:24:32 $"; #$h_base = ".."; #$d_author = " require 'cgi-style.pl'; # Construct the gallery entry in HTML form $entry = "
  • $in{'organization'} " . "-- $in{'description'}
  • "; # Try and figure out where the person came from so we can provide # links back to the correct place. $return = ""; if ($in{'return'} eq "") { if ($ENV{'HTTP_REFERER'} ne "") { $in{'return'} = $ENV{'HTTP_REFERER'}; } } if ($in{'return'} ne "") { $return = "Return to the Gallery"; } # This is the form where the user enters the information. $forma = &html_header("Gallery Submission") . "
    Organization:
    Description:
    URL:
    Category: Commercial
    Non-Profit
    Personal
    Email Contact:

    $return

    " . &html_footer(); # This is the form where the user CHECKS the information they typed $formb = &html_header("Your Gallery Submission") . "

    Here is your entry as it will appear in the FreeBSD Gallery page.

    Please check that the category and your e-mail address are correct, and that the link actually works. If anything is wrong, use your browser's back button and correct it. If everything is okay, press the submit button below.

    Contact person: $in{'contact'}


    $in{'category'}


    $return

    " . &html_footer(); # And this is where we thank them for submitting an entry. $formc = &html_header("Thank You!") . "

    Thank you for your entry! Please allow a few days for your entry to be added to the Gallery.

    $return

    " . &html_footer(); if ($in{'action'} eq "preview") { print $formb; } elsif ($in{'action'} eq "submit") { print $formc; # close(STDOUT); open(M, "| mail -s \"$subject\" $curator"); print M "\"$in{'category'}\" gallery entry:\n\n"; print M "\n"; print M "$entry\n"; close(M); } else { print $forma; } exit 0;