forked from Wavyzz/dolibarr
Replace javascript by jQuery
This commit is contained in:
@@ -37,6 +37,16 @@ if (! defined('DOL_DOCUMENT_ROOT')) define('DOL_DOCUMENT_ROOT', '..');
|
||||
if (! defined('ADODB_DATE_VERSION')) include_once(DOL_DOCUMENT_ROOT."/includes/adodbtime/adodb-time.inc.php");
|
||||
|
||||
|
||||
/**
|
||||
* \brief Return value of a param into get or post variable
|
||||
* \param paramname Name of parameter to found
|
||||
* \return string Value found
|
||||
*/
|
||||
function GETPOST($paramname)
|
||||
{
|
||||
return isset($_GET[$paramname])?$_GET[$paramname]:(isset($_POST[$paramname])?$_POST[$paramname]:'');
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Create a clone of instance of object (new instance with same properties)
|
||||
* This function works for both PHP4 and PHP5
|
||||
|
||||
Reference in New Issue
Block a user