| Current Path : /var/www/forum-e-syn/public_html/ |
| Current File : /var/www/forum-e-syn/public_html/open_search.php |
<?php
/***************************************************************************
* copyright : (C) 2001-2011 Advanced Internet Designs Inc.
* email : forum@prohost.org
* $Id: open_search.php 5350 2011-08-19 16:54:57Z naudefj $
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
***************************************************************************/
require './GLOBALS.php';
header('Content-Type: text/xml; charset=UTF-8');
echo '<?xml version="1.0" encoding="UTF-8"?>';
?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName><?php echo htmlentities($FORUM_TITLE); ?> Search</ShortName>
<Description><?php echo htmlentities($FORUM_DESCR); ?></Description>
<Image width="16" height="16" type="image/vnd.microsoft.icon">/favicon.ico</Image>
<Url type="text/html" template="<?php echo $WWW_ROOT; ?>index.php?t=search&srch={searchTerms}&eld=all" method="get"/>
</OpenSearchDescription>