mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
use self::get_id on multiple selects and radio AND regard its output-format
This commit is contained in:
parent
5a8f987eb1
commit
5b6913baf3
@ -1423,8 +1423,8 @@ class etemplate extends boetemplate
|
|||||||
if ($multiple)
|
if ($multiple)
|
||||||
{
|
{
|
||||||
// add the set_val to the id to make it unique
|
// add the set_val to the id to make it unique
|
||||||
$options = str_replace('id="'.self::get_id($form_name).'"',
|
$options = str_replace(self::get_id($form_name),
|
||||||
'id="'.self::get_id(substr($form_name,0,-2)."[$set_val]"), $options);
|
self::get_id(substr($form_name,0,-2)."[$set_val]"), $options);
|
||||||
}
|
}
|
||||||
$html .= html::input($form_name,$set_val,'checkbox',$options);
|
$html .= html::input($form_name,$set_val,'checkbox',$options);
|
||||||
|
|
||||||
@ -1451,8 +1451,8 @@ class etemplate extends boetemplate
|
|||||||
$options .= ' checked="checked"';
|
$options .= ' checked="checked"';
|
||||||
}
|
}
|
||||||
// add the set_val to the id to make it unique
|
// add the set_val to the id to make it unique
|
||||||
$options = str_replace('id="'.self::get_id($form_name).'"',
|
$options = str_replace(self::get_id($form_name),
|
||||||
'id="'.self::get_id(substr($form_name,0,-2)."[$set_val]"), $options);
|
self::get_id($form_name."[$set_val]"), $options);
|
||||||
|
|
||||||
if ($readonly)
|
if ($readonly)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user