*** empty log message ***
This commit is contained in:
parent
4ec5610702
commit
f6f2374b23
11 changed files with 295 additions and 17 deletions
|
@ -168,8 +168,8 @@ class uiBase
|
|||
|
||||
} elseif (isset($v['type'])) {
|
||||
$elem[$v['element']] =& $form->createElement($v['type'], $v['element'], tra($v['label']),
|
||||
($v[type]=='text' || $v['type']=='file' || $v['type']=='password') ? array_merge($v['attributes'], array('size'=>UI_INPUT_STANDARD_SIZE, 'maxlength'=>UI_INPUT_STANDARD_MAXLENGTH)) :
|
||||
($v['type']=='textarea' ? array_merge($v['attributes'], array('rows'=>UI_TEXTAREA_STANDART_ROWS, 'cols'=>UI_TEXTAREA_STANDART_COLS)) : $v['attributes'])
|
||||
($v[type]=='text' || $v['type']=='file' || $v['type']=='password') ? array_merge(array('size'=>UI_INPUT_STANDARD_SIZE, 'maxlength'=>UI_INPUT_STANDARD_MAXLENGTH), $v['attributes']) :
|
||||
($v['type']=='textarea' ? array_merge(array('rows'=>UI_TEXTAREA_STANDART_ROWS, 'cols'=>UI_TEXTAREA_STANDART_COLS), $v['attributes']) : $v['attributes'])
|
||||
);
|
||||
if (!$v['groupit']) $form->addElement($elem[$v['element']]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue