Lines Matching refs:label

415  * @param   string  $value  (optional) Displayed label. Uses $act if not provided.
435 * The label text will be printed before the input.
440 * @param string $class Class attribute of the label. If this is 'block',
442 * @param string $label Label that will be printed before the input.
443 * @param string $id ID attribute of the input. If set, the label will
450 function form_makeField($type, $name, $value='', $label=null, $id='', $class='', $attrs=array()) {
451 if (is_null($label)) $label = $name;
452 $elem = array('_elem'=>'field', '_text'=>$label, '_class'=>$class,
461 * The label text will be printed after the input.
469 * @param null|string $label
476 function form_makeFieldRight($type, $name, $value='', $label=null, $id='', $class='', $attrs=array()) {
477 if (is_null($label)) $label = $name;
478 $elem = array('_elem'=>'fieldright', '_text'=>$label, '_class'=>$class,
486 * Create a form element for a text input element with label.
493 * @param null|string $label
500 function form_makeTextField($name, $value='', $label=null, $id='', $class='', $attrs=array()) {
501 if (is_null($label)) $label = $name;
502 $elem = array('_elem'=>'textfield', '_text'=>$label, '_class'=>$class,
510 * Create a form element for a password input element with label.
517 * @param null|string $label
524 function form_makePasswordField($name, $label=null, $id='', $class='', $attrs=array()) {
525 if (is_null($label)) $label = $name;
526 $elem = array('_elem'=>'passwordfield', '_text'=>$label, '_class'=>$class,
534 * Create a form element for a file input element with label
540 * @param null|string $label
547 function form_makeFileField($name, $label=null, $id='', $class='', $attrs=array()) {
548 if (is_null($label)) $label = $name;
549 $elem = array('_elem'=>'filefield', '_text'=>$label, '_class'=>$class,
557 * Create a form element for a checkbox input element with label.
566 * @param null|string $label
573 function form_makeCheckboxField($name, $value='1', $label=null, $id='', $class='', $attrs=array()) {
574 if (is_null($label)) $label = $name;
576 $elem = array('_elem'=>'checkboxfield', '_text'=>$label, '_class'=>$class,
584 * Create a form element for a radio button input element with label.
591 * @param null|string $label
598 function form_makeRadioField($name, $value='1', $label=null, $id='', $class='', $attrs=array()) {
599 if (is_null($label)) $label = $name;
601 $elem = array('_elem'=>'radiofield', '_text'=>$label, '_class'=>$class,
609 * Create a form element for a drop-down menu with label.
622 * @param string $class Class attribute of the label. If this is 'block',
624 * @param string $label Label that will be printed before the input.
625 * @param string $id ID attribute of the input. If set, the label will
630 function form_makeMenuField($name, $values, $selected='', $label=null, $id='', $class='', $attrs=array()) {
631 if (is_null($label)) $label = $name;
649 $elem = array('_elem'=>'menufield', '_options'=>$options, '_text'=>$label, '_class'=>$class,
657 * Create a form element for a list box with label.
668 * @param string $class Class attribute of the label. If this is 'block',
670 * @param string $label Label that will be printed before the input.
671 * @param string $id ID attribute of the input. If set, the label will
676 function form_makeListboxField($name, $values, $selected='', $label=null, $id='', $class='', $attrs=array()) {
677 if (is_null($label)) $label = $name;
701 $elem = array('_elem'=>'listboxfield', '_options'=>$options, '_text'=>$label, '_class'=>$class,
847 * _class : class attribute used on the label tag
857 $s = '<label';
861 $s .= ' <input '. buildAttributes($attrs,true) .' /></label>';
871 * _class : class attribute used on the label tag
881 $s = '<label';
885 $s .= ' <span>'.$attrs['_text'].'</span></label>';
895 * _class : class attribute used on the label tag
907 $s = '<label';
911 $s .= '<input type="text" '. buildAttributes($attrs,true) .' /></label>';
921 * _class : class attribute used on the label tag
933 $s = '<label';
937 $s .= '<input type="password" '. buildAttributes($attrs,true) .' /></label>';
947 * _class : class attribute used on the label tag
959 $s = '<label';
966 $s .= ' /></label>';
976 * _class : class attribute used on the label tag
990 $s = '<label';
1000 $s .= ' <span>'.$attrs['_text'].'</span></label>';
1010 * _class : class attribute used on the label tag
1022 $s = '<label';
1026 $s .= ' <span>'.$attrs['_text'].'</span></label>';
1039 * _class : class attribute used on the label tag
1050 $s = '<label';
1075 $s .= DOKU_LF.'</select></label>';
1087 * _class : class attribute used on the label tag
1097 $s = '<label';
1115 $s .= DOKU_LF.'</select></label>';