diff options
| author | Antonio Gallo <tonicucoz@gmail.com> | 2011-01-27 18:18:23 +0000 | 
|---|---|---|
| committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-01-27 18:18:23 +0000 | 
| commit | 4ace8344cfd8769ef059ec5c920ac663c8c1d4ce (patch) | |
| tree | 14427de964a8a0abb2596e97c50a37d5d979f16e /h-source/Application/Include | |
| parent | 4e4b0e82b62d9a5bdce92b3caa2ab18e16122ba0 (diff) | |
improved search and impagination with CSS
Diffstat (limited to 'h-source/Application/Include')
| -rw-r--r-- | h-source/Application/Include/languages.php | 2 | ||||
| -rw-r--r-- | h-source/Application/Include/myFunctions.php | 5 | 
2 files changed, 7 insertions, 0 deletions
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index 2dbc5fa..602e13d 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -145,6 +145,8 @@ class Lang  				"No sound cards found"	=>	"Non รจ stata trovata alcuna scheda audio",  				"LAST UPDATE"	=>	"ULTIMA MODIFICA",  				"search by"	=>	"cerca per", +				"analyze the output of the lspci command"	=>	"analizza l'output del comando lscpi", +				"paste the output of the lspci command"	=>	"incolla l'output del comand lspci",  			),  		'es'	=>	array  			( diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php index 5c64317..55fbd9b 100644 --- a/h-source/Application/Include/myFunctions.php +++ b/h-source/Application/Include/myFunctions.php @@ -60,6 +60,11 @@ function sanitizeAlphanum($string)  	return $string;  } +function sanitizePciid($string) +{ +	$string = preg_match('/^[a-zA-Z0-9]{4}(\:)[a-zA-Z0-9]{4}$/',$string) ? sanitizeAll($string) : '0'; +	return $string; +}  function getOrderByClause($string)  {  | 
