mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Migliorie varie
Aggiunto supporto al logo stampe caricabile come allegato. Miglioramento della gestione dei dati di input. Completata gestione AJAX degli allegati.
This commit is contained in:
@@ -587,9 +587,9 @@ function get_var($nome, $sezione = null, $descrizione = false, $again = false)
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function filter($param, $method = null)
|
||||
function filter($param, $method = null, $raw = false)
|
||||
{
|
||||
return Filter::getValue($param, $method = null);
|
||||
return Filter::getValue($param, $method, $raw);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -602,9 +602,9 @@ function filter($param, $method = null)
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function post($param, $rule = 'text')
|
||||
function post($param, $raw = false)
|
||||
{
|
||||
return Filter::getValue($param, 'post');
|
||||
return Filter::getValue($param, 'post', $raw);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -617,9 +617,9 @@ function post($param, $rule = 'text')
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function get($param, $rule = 'text')
|
||||
function get($param, $raw = false)
|
||||
{
|
||||
return Filter::getValue($param, 'get');
|
||||
return Filter::getValue($param, 'get', $raw);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user