Lines Matching defs:attr

44         $attr = array('size' => '50', 'disabled' => 'disabled');
45 $input = $form->addTextInput('login', $lang['user'])->attrs($attr)->addClass('edit')
47 $input->getLabel()->attr('class', 'block');
50 $attr = array('size' => '50');
51 if (!$auth->canDo('modName')) $attr['disabled'] = 'disabled';
52 $input = $form->addTextInput('fullname', $lang['fullname'])->attrs($attr)->addClass('edit')
54 $input->getLabel()->attr('class', 'block');
57 $attr = array('type' => 'email', 'size' => '50');
58 if (!$auth->canDo('modMail')) $attr['disabled'] = 'disabled';
59 $input = $form->addTextInput('email', $lang['email'])->attrs($attr)->addClass('edit')
61 $input->getLabel()->attr('class', 'block');
65 $attr = array('size'=>'50');
66 $input = $form->addPasswordInput('newpass', $lang['newpass'])->attrs($attr)->addClass('edit');
67 $input->getLabel()->attr('class', 'block');
70 $input = $form->addPasswordInput('passchk', $lang['passchk'])->attrs($attr)->addClass('edit');
71 $input->getLabel()->attr('class', 'block');
77 $attr = array('size' => '50', 'required' => 'required');
78 $input = $form->addPasswordInput('oldpass', $lang['oldpass'])->attrs($attr)->addClass('edit');
79 $input->getLabel()->attr('class', 'block');
83 $form->addButton('', $lang['btn_save'])->attr('type', 'submit');
84 $form->addButton('', $lang['btn_reset'])->attr('type', 'reset');
108 $attr = array('size' => '50', 'required' => 'required');
109 $input = $form->addPasswordInput('oldppass', $lang['oldpass'])->attrs($attr)
111 $input->getLabel()->attr('class', 'block');
115 $form->addButton('', $lang['btn_deleteuser'])->attr('type', 'submit');