Home
last modified time | relevance | path

Searched refs:label (Results 1 - 25 of 37) sorted by relevance

12

/dokuwiki/inc/Form/
H A DInputElement.php8 * Base class for all input elements. Uses a wrapping label when label
11 * @todo figure out how to make wrapping or related label configurable
19 protected $label = null; variable
29 * @param string $label The label text for this element (will be autoescaped)
31 public function __construct($type, $name, $label = '')
36 if ($label) $this->label = new LabelElement($label);
[all...]
H A DCheckableElement.php17 * @param string $label The label text for this element
19 public function __construct($type, $name, $label)
21 parent::__construct($type, $name, $label);
66 * The HTML representation of this element wrapped in a label
67 * Note: allow HTML tags in label text
73 if ($this->label) {
74 return '<label '. buildAttributes($this->label->attrs()) .'>'.DOKU_LF
76 .'<span>'. $this->label
[all...]
H A DLabelElement.php14 * @param string $label This is is raw HTML and will not be escaped
16 public function __construct($label)
18 parent::__construct('label', $label);
28 return '<label ' . buildAttributes($this->attrs()) . '>' . $this->val() . '</label>';
H A DDropdownElement.php20 * @param string $label The label text for this element (will be autoescaped)
22 public function __construct($name, $options, $label = '')
24 parent::__construct('dropdown', $name, $label);
33 * @param string $label
38 public function addOptGroup($label, $options)
40 if (empty($label)) {
41 throw new \InvalidArgumentException(hsc('<optgroup> must have a label!'));
43 $this->optGroups[$label] = new OptGroup($label,
[all...]
H A DForm.php215 * @param string $label
219 public function addTextInput($name, $label = '', $pos = -1)
221 return $this->addElement(new InputElement('text', $name, $label), $pos);
228 * @param string $label
232 public function addPasswordInput($name, $label = '', $pos = -1)
234 return $this->addElement(new InputElement('password', $name, $label), $pos);
241 * @param string $label
245 public function addRadioButton($name, $label = '', $pos = -1)
247 return $this->addElement(new CheckableElement('radio', $name, $label), $pos);
254 * @param string $label
[all...]
H A DTextareaElement.php18 * @param string $label The label text for this element
20 public function __construct($name, $label)
22 parent::__construct('textarea', $name, $label);
H A DOptGroup.php12 * @param string $label The label text for this element (will be autoescaped)
15 public function __construct($label, $options)
17 parent::__construct('optGroup', array('label' => $label));
38 * Options can be given as associative array (value => label) or as an
39 * indexd array (label = value) or as an array of arrays. In the latter
42 * 'label' => option-label,
58 if (!key_exists('label',
[all...]
H A DLegacyForm.php176 $label = $element->getLabel(); variable
177 if ($label) {
178 $data['_class'] = $label->attr('class');
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DCopyright.php70 var $label; variable
78 public function __construct($url = null, $label = null)
81 $this->label = $label; variable
117 if ($this->label !== null)
119 return $this->label;
H A DCategory.php73 * Human readable label
78 var $label; variable
96 * @param string|null $label
99 public function __construct($term = null, $scheme = null, $label = null, $type = null)
103 $this->label = $label; variable
139 * Get the human readable label
146 if ($this->label === null && $strict !== true)
150 return $this->label;
/dokuwiki/inc/
H A Dform.php415 * @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 tex
[all...]
H A Dhtml.php167 * @param bool|string $label label text, false: lookup btn_$name in localization
171 function html_btn($name, $id, $akey, $params, $method = 'get', $tooltip = '', $label = false, $svg = null) {
175 if (!$label)
176 $label = $lang['btn_'.$name]; variable
199 $tip = empty($tooltip) ? hsc($label) : hsc($tooltip);
208 $html .= '<span>'. hsc($label) .'</span>'. inlineSVG($svg);
210 $html .= hsc($label);
/dokuwiki/inc/Menu/Item/
H A DAbstractItem.php41 /** @var string this item's label may contain a placeholder, which is replaced with this */
46 protected $label = ''; variable
47 /** @var string the tooltip title, defaults to $label */
71 * Return this item's label
73 * When the label property was set, it is simply returned. Otherwise, the action's type
80 if($this->label !== '') return $this->label;
84 $label = $lang['btn_' . $this->type]; variable
85 if(strpos($label, '%s')) {
86 $label variable
[all...]
/dokuwiki/inc/Ui/
H A DSubscribe.php92 foreach ($targets as $val => $label) {
94 $form->addRadioButton('sub_target', $label)->val($val)->attrs($data);
101 foreach ($styles as $val => $label) {
103 $form->addRadioButton('sub_style', $label)->val($val)->attrs($data);
H A DSearchState.php107 * @param $label
111 public function getSearchLink($label)
139 return "<a href='$href' " . buildAttributes($tagAttributes, true) . ">$label</a>";
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingPassword.php34 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; variable
37 return array($label, $input);
H A DSettingUndefined.php33 $label = '<span title="$meta[\'' . $undefined_setting_key . '\']">$' . variable
37 return array($label, $input);
H A DSettingString.php27 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; variable
30 return array($label, $input);
H A DSettingOnoff.php40 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; variable
43 return array($label, $input);
H A DSettingArray.php100 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; variable
103 return array($label, $input);
H A DSettingMultichoice.php36 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; variable
55 return array($label, $input);
H A DSettingMulticheckbox.php71 $input .= '<label for="config___' . $key . '_' . $choice . '">' . $prompt . "</label>\n";
95 $input .= '<label for="config___' . $key . '_other">' .
97 "</label>\n";
104 $label = '<label>' . $this->prompt($plugin) . '</label>'; variable
105 return array($label, $input);
/dokuwiki/lib/plugins/config/
H A Dadmin.php122 list($label, $input) = $setting->html($this, $this->hasErrors);
136 echo '<td class="label">';
138 echo $icon . $label;
171 list($label, $input) = $setting->html($this);
173 echo '<td class="label">' . $label . '</td>';
/dokuwiki/inc/Parsing/Lexer/
H A DParallelRegex.php15 * Any of the contained patterns could match and when one does it's label is returned.
43 * Adds a pattern with an optional label.
50 * @param bool|string $label Label of regex to be returned
53 public function addPattern($pattern, $label = true)
57 $this->labels[$count] = $label;
67 * @return bool|string False if no match found, label if label exists, true if not
/dokuwiki/lib/scripts/
H A Dedit.js15 * @param {string} label title of button, show on mouseover
23 function createToolButton(icon,label,key,id,classname){
33 $btn.attr('title', label).attr('aria-controls', 'wiki__text');
35 $btn.attr('title', label + ' ['+key.toUpperCase()+']')

Completed in 10 milliseconds

12