mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:22 +01:00
finer control of not-to-show hidden-input-fields and link-args
This commit is contained in:
parent
d9b680ccae
commit
285b98a9b8
@ -32,7 +32,7 @@ class html
|
|||||||
}
|
}
|
||||||
while (list($name,$value) = each($vars))
|
while (list($name,$value) = each($vars))
|
||||||
{
|
{
|
||||||
if ($value != '') // dont need to send all the empty vars
|
if ($value && !($name == 'filter' && $value == 'none')) // dont need to send all the empty vars
|
||||||
{
|
{
|
||||||
$html .= "<input type=hidden name=\"$name\" value=\"$value\">\n";
|
$html .= "<input type=hidden name=\"$name\" value=\"$value\">\n";
|
||||||
}
|
}
|
||||||
@ -57,7 +57,7 @@ class html
|
|||||||
$v = array( );
|
$v = array( );
|
||||||
while(list($name,$value) = each($vars))
|
while(list($name,$value) = each($vars))
|
||||||
{
|
{
|
||||||
if ($value != '') // dont need to send all the empty vars
|
if ($value && !($name == 'filter' && $value == 'none')) // dont need to send all the empty vars
|
||||||
{
|
{
|
||||||
$v[] = "$name=$value";
|
$v[] = "$name=$value";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user