enable OpenSearch plugin
This commit is contained in:
parent
f4cc026dde
commit
8eca68ca6a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=32953
1 changed files with 3 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
#
|
#
|
||||||
# Search a mail by Message-ID, References or In-Reply-To field
|
# Search a mail by Message-ID, References or In-Reply-To field
|
||||||
#
|
#
|
||||||
# $FreeBSD: www/en/cgi/mid.cgi,v 1.15 2006/03/15 01:24:29 kuriyama Exp $
|
# $FreeBSD: www/en/cgi/mid.cgi,v 1.16 2006/03/15 04:07:54 kuriyama Exp $
|
||||||
|
|
||||||
require "./cgi-lib.pl";
|
require "./cgi-lib.pl";
|
||||||
require "./cgi-style.pl";
|
require "./cgi-style.pl";
|
||||||
|
|
@ -41,6 +41,8 @@ $shortid = 1;
|
||||||
$lookCommand = "/usr/bin/look";
|
$lookCommand = "/usr/bin/look";
|
||||||
$ENV{PATH} = '/bin:/usr/bin';
|
$ENV{PATH} = '/bin:/usr/bin';
|
||||||
|
|
||||||
|
$main::t_style .= qq{\n<link rel="search" type="application/opensearchdescription+xml" href="http://www.freebsd.org/search/opensearch/message-id.xml" title="FreeBSD Mail Message-ID" />\n};
|
||||||
|
|
||||||
sub escape($) { $_ = $_[0]; s/&/&/g; s/</</g; s/>/>/g; $_; }
|
sub escape($) { $_ = $_[0]; s/&/&/g; s/</</g; s/>/>/g; $_; }
|
||||||
|
|
||||||
sub get_id {
|
sub get_id {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue