Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 66) sorted by path

123

/dokuwiki/inc/Form/
H A DCheckableElement.php17 * @param string $label The label text for this element
19 public function __construct($type, $name, $label) argument
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 DDropdownElement.php23 * @param string $label The label text for this element (will be autoescaped)
25 public function __construct($name, $options, $label = '') argument
27 parent::__construct('dropdown', $name, $label);
36 * @param string $label
41 public function addOptGroup($label, $options) argument
43 if (empty($label)) {
44 throw new \InvalidArgumentException(hsc('<optgroup> must have a label!'));
46 $this->optGroups[$label] = new OptGroup($label,
[all...]
H A DForm.php215 * @param string $label
219 public function addTextInput($name, $label = '', $pos = -1) argument
221 return $this->addElement(new InputElement('text', $name, $label), $pos);
228 * @param string $label
232 public function addPasswordInput($name, $label = '', $pos = -1) argument
234 return $this->addElement(new InputElement('password', $name, $label), $pos);
241 * @param string $label
245 public function addRadioButton($name, $label = '', $pos = -1) argument
247 return $this->addElement(new CheckableElement('radio', $name, $label), $pos);
254 * @param string $label
258 addCheckbox($name, $label = '', $pos = 1) global() argument
272 addDropdown($name, $options, $label = '', $pos = 1) global() argument
285 addTextarea($name, $label = '', $pos = 1) global() argument
324 addLabel($label, $for = '', $pos = 1) global() argument
[all...]
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; variable in dokuwiki\\Form\\InputElement
29 * @param string $label The label text for this element (will be autoescaped)
31 public function __construct($type, $name, $label = '') argument
36 if ($label) $this->label = new LabelElement($label);
[all...]
H A DLabelElement.php14 * @param string $label This is is raw HTML and will not be escaped
16 public function __construct($label) argument
18 parent::__construct('label', $label);
28 return '<label ' . buildAttributes($this->attrs()) . '>' . $this->val() . '</label>';
H A DLegacyForm.php172 $label = $element->getLabel();
173 if ($label instanceof LabelElement) {
174 $data['_class'] = $label->attr('class');
H A DOptGroup.php11 * @param string $label The label text for this element (will be autoescaped)
14 public function __construct($label, $options) argument
16 parent::__construct('optGroup', ['label' => $label]);
44 * Options can be given as associative array (value => label) or as an
45 * indexd array (label = value) or as an array of arrays. In the latter
48 * 'label' => option-label,
64 if (!array_key_exists('label',
[all...]
H A DTextareaElement.php18 * @param string $label The label text for this element
20 public function __construct($name, $label) argument
22 parent::__construct('textarea', $name, $label);
/dokuwiki/inc/
H A DJpegMeta.php2500 $label = sprintf('8BIM_0x%04x', $type);
2501 $this->_info['adobe']['raw'][$label] = array();
2502 $this->_info['adobe']['raw'][$label]['type'] = $type;
2503 $this->_info['adobe']['raw'][$label]['header'] = $header;
2504 $this->_info['adobe']['raw'][$label]['data'] =& $this->_getFixedString($data, $basePos, $length);
2534 $label = '';
2537 $label = $IPTCTags[$type];
2539 $label = sprintf('IPTC_0x%02x', $type);
2542 if ($label != '') {
2543 if (isset($this->_info['iptc'][$label])) {
[all...]
H A Dform.php418 * @param string $value (optional) Displayed label. Uses $act if not provided.
439 * The label text will be printed before the input.
444 * @param string $class Class attribute of the label. If this is 'block',
446 * @param string $label Label that will be printed before the input.
447 * @param string $id ID attribute of the input. If set, the label will
454 function form_makeField($type, $name, $value = '', $label = null, $id = '', $class = '', $attrs = array())
456 if (is_null($label)) $label = $name;
457 $elem = array('_elem' => 'field', '_text' => $label, '_class' => $class,
466 * The label tex
450 form_makeField($type, $name, $value = '', $label = null, $id = '', $class = '', $attrs = array()) global() argument
476 form_makeFieldRight($type, $name, $value = '', $label = null, $id = '', $class = '', $attrs = array()) global() argument
500 form_makeTextField($name, $value = '', $label = null, $id = '', $class = '', $attrs = array()) global() argument
524 form_makePasswordField($name, $label = null, $id = '', $class = '', $attrs = array()) global() argument
547 form_makeFileField($name, $label = null, $id = '', $class = '', $attrs = array()) global() argument
573 form_makeCheckboxField($name, $value = '1', $label = null, $id = '', $class = '', $attrs = array()) global() argument
598 form_makeRadioField($name, $value = '1', $label = null, $id = '', $class = '', $attrs = array()) global() argument
630 form_makeMenuField($name, $values, $selected = '', $label = null, $id = '', $class = '', $attrs = array()) global() argument
676 form_makeListboxField($name, $values, $selected = '', $label = null, $id = '', $class = '', $attrs = array()) global() argument
[all...]
H A Dhtml.php198 * @param bool|string $label label text, false: lookup btn_$name in localization
202 function html_btn($name, $id, $akey, $params, $method = 'get', $tooltip = '', $label = false, $svg = null)
207 if (!$label)
208 $label = $lang['btn_' . $name];
231 $tip = empty($tooltip) ? hsc($label) : hsc($tooltip);
240 $html .= '<span>' . hsc($label) . '</span>' . inlineSVG($svg);
242 $html .= hsc($label);
187 html_btn($name, $id, $akey, $params, $method = 'get', $tooltip = '', $label = false, $svg = null) global() argument
H A Dmedia.php1689 array_unshift($data, ['level' => 0, 'id' => '', 'open' => 'true', 'label' => '[' . $lang['mediaroot'] . ']']);
1729 $label = substr($item['id'], $pos > 0 ? $pos + 1 : 0);
1730 if (empty($item['label'])) $item['label'] = $label;
1737 $ret .= $item['label'];
H A Dtemplate.php1099 $label = $lang[$tag['langkey']];
1100 if (!$label) $label = $tag['langkey'] . ':';
1102 echo '<dt>' . $label . '</dt><dd>';
1579 * @param string $empty empty option label
1580 * @param string $button submit button 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 in dokuwiki\\Menu\\Item\\AbstractItem
47 /** @var string the tooltip title, defaults to $label */
72 * Return this item's label
74 * When the label property was set, it is simply returned. Otherwise, the action's type
82 if ($this->label !== '') return $this->label;
86 $label = $lang['btn_' . $this->type];
87 if (strpos($label, '%s')) {
88 $label
[all...]
/dokuwiki/inc/Parsing/Lexer/
H A DParallelRegex.php16 * Any of the contained patterns could match and when one does it's label is returned.
41 * Adds a pattern with an optional label.
48 * @param bool|string $label Label of regex to be returned
51 public function addPattern($pattern, $label = true)
55 $this->labels[$count] = $label;
65 * @return bool|string False if no match found, label if label exists, true if not
53 addPattern($pattern, $label = true) global() argument
/dokuwiki/inc/Ui/
H A DSearch.php104 'label' => $lang['search_sort_by_hits'],
108 'label' => $lang['search_sort_by_mtime'],
124 $searchForm->addHTML($options[$activeOption]['label']);
135 $searchForm->addHTML($option['label']);
137 $link = $this->searchState->withSorting($option['sort'])->getSearchLink($option['label']);
217 'label' => $lang['search_exact_match'],
222 'label' => $lang['search_starts_with'],
227 'label' => $lang['search_ends_with'],
232 'label' => $lang['search_contains'],
247 'label'
[all...]
H A DSearchState.php107 * @param $label
111 public function getSearchLink($label) argument
139 return "<a href='$href' " . buildAttributes($tagAttributes, true) . ">$label</a>";
H A DSubscribe.php93 foreach ($targets as $val => $label) {
95 $form->addRadioButton('sub_target', $label)->val($val)->attrs($data);
103 foreach ($styles as $val => $label) {
105 $form->addRadioButton('sub_style', $label)->val($val)->attrs($data);
/dokuwiki/lib/images/interwiki/
H A Damazon.de.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Amazon" viewBox="0 0 512 512"><rect width="512" height="512" rx="15%" fill="#f90"/><path fill="#f (…)
H A Damazon.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Amazon" viewBox="0 0 512 512"><rect width="512" height="512" rx="15%" fill="#f90"/><path fill="#f (…)
H A Damazon.uk.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Amazon" viewBox="0 0 512 512"><rect width="512" height="512" rx="15%" fill="#f90"/><path fill="#f (…)
H A Dgoogle.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Google" viewBox="0 0 512 512"><rect width="512" height="512" rx="15%" fill="#fff"/><path fill="#4 (…)
H A Dpaypal.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="PayPal" viewBox="0 0 512 512"><rect width="512" height="512" rx="15%" fill="#fff"/><path fill="#0 (…)
H A Dphpfn.svg1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-label="PHP" viewBox="0 0 512 512"><rect width="512" height="512" rx="15%" fill="#777bb3"/><g stroke="#ff (…)
H A Dskype.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Skype" viewBox="0 0 512 512"><rect width="512" height="512" rx="15%" fill="#0078D7"/><path fill=" (…)

123