summaryrefslogtreecommitdiff
path: root/cgi-bin/searchplugin.plx
blob: 01ff41f6e1acb1795268aeb872258688b3bc5826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Use me
#
use CGI;
use strict;
use Globals;
use Globals qw($CGIROOT);
use Globals qw($APPNAME);

my $WEBPAGE;

# Start the page.
#
open TEMPLATE, "../templates/searchplugin.template" or die;

while ( <TEMPLATE> )
{
  $WEBPAGE .= $_;
}


$WEBPAGE =~ s/%CGIROOT%/$CGIROOT/g;
$WEBPAGE =~ s/%APPNAME%/$APPNAME/g;

print $WEBPAGE;
exit;