#!/usr/bin/perl -w

# $Id: display_folder.pl,v 1.1 1996/01/20 08:33:27 hoagland Exp $

# display_folder.pl, by Jim Hoagland (hoagland@cs) 1/96

# this program generates the message folder display page for the ARPA IDS
# demo GUI
# Input is CGI, a field in a form
# outputs HTML to STDOUT

require 5.000;

require '/pkg/www/arpa/secret/cgi-bin/gui-helper.pl';
require '/pkg/www/arpa/secret/cgi-bin/draw_folder.pl';

umask 000;

require CGI;

$input= new CGI;

foreach (@ARGV) {  # simulate field input
  $input->param(split('=',$_,2));
}

$state= State->new(&get_statefile);

#-------------

&draw_folder($state,$input->param('ws'),$input->param('folder'));

1;
