a flavor of html5
This commit is contained in:
parent
e69cd424ca
commit
f8a6455570
@ -5,6 +5,7 @@
|
|||||||
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
||||||
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
* Copyright (C) 2005-2011 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2011 Regis Houssin <regis@dolibarr.fr>
|
||||||
|
* Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
|
||||||
* Copyright (C) 2008 Matteli
|
* Copyright (C) 2008 Matteli
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -25,7 +26,7 @@
|
|||||||
* \file htdocs/main.inc.php
|
* \file htdocs/main.inc.php
|
||||||
* \ingroup core
|
* \ingroup core
|
||||||
* \brief File that defines environment for Dolibarr pages only (variables not required by scripts)
|
* \brief File that defines environment for Dolibarr pages only (variables not required by scripts)
|
||||||
* \version $Id: main.inc.php,v 1.768 2011/08/21 10:01:38 hregis Exp $
|
* \version $Id: main.inc.php,v 1.769 2011/08/22 15:46:00 hregis Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ini_set('memory_limit', '64M'); // This may be useless if memory is hard limited by your PHP
|
@ini_set('memory_limit', '64M'); // This may be useless if memory is hard limited by your PHP
|
||||||
@ -1553,7 +1554,7 @@ function printSearchForm($urlaction,$urlobject,$title,$htmlmodesearch='search',$
|
|||||||
$ret.='<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
$ret.='<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
$ret.='<input type="hidden" name="mode" value="search">';
|
$ret.='<input type="hidden" name="mode" value="search">';
|
||||||
$ret.='<input type="hidden" name="mode-search" value="'.$htmlmodesearch.'">';
|
$ret.='<input type="hidden" name="mode-search" value="'.$htmlmodesearch.'">';
|
||||||
$ret.='<input type="text" class="flat" name="'.$htmlinputname.'" size="10"> ';
|
$ret.='<input type="text" class="flat" placeholder="'.$langs->trans("recherche de").''.strip_tags($title).'" required="" name="'.$htmlinputname.'" size="10"> ';
|
||||||
$ret.='<input type="submit" class="button" value="'.$langs->trans("Go").'">';
|
$ret.='<input type="submit" class="button" value="'.$langs->trans("Go").'">';
|
||||||
$ret.="</form>\n";
|
$ret.="</form>\n";
|
||||||
return $ret;
|
return $ret;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user