This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
MatritumCantat_Web/www/components/com_simpleboard/searchbox.php
2012-09-18 20:02:43 +00:00

52 lines
2.1 KiB
PHP

<?php
//
// Copyright (C) 2003-2004 Two Shoes Module Factory
// All rights reserved.
//
// This program uses parts of the original Simpleboard Application
// 0.7.0b written by Josh Levine; http://www.joshlevine.net
//
// This source file is part of the SimpleBoard Component, a Mambo 4.5
// custom Component By Jan de Graaff - http://tsmf.jigsnet.com
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// Please note that the GPL states that any headers in files and
// Copyright notices as well as credits in headers, source files
// and output (screens, prints, etc.) can not be removed.
// You can extend them with your own credits, though...
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
// The "GNU General Public License" (GPL) is available at
// http://www.gnu.org/copyleft/gpl.html.
//
// Dont allow direct linking
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
/*
<tr>
<td align="right" >
<form action='<?php echo sefRelToAbs('index.php?option=com_simpleboard&amp;Itemid='.$Itemid.'&amp;func=search');?>' name='searchSB' method='post'>
<?php
$boxsize=strlen(_GEN_SEARCH_BOX);
if ($boxsize<=15)
$boxsize=15;
?>
<input class="inputbox" type="text" name="searchword" size="<?php echo $boxsize; ?>" value="<?php echo _GEN_SEARCH_BOX; ?>"
onblur="if(this.value=='') this.value='<?php echo _GEN_SEARCH_BOX; ?>';"
onfocus="if(this.value=='<?php echo _GEN_SEARCH_BOX; ?>') this.value='';" />
</form>
</td>
</tr>*/
?>