Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 65) 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);
73 if ($this->label) {
74 return '<label '. buildAttributes($this->label->attrs()) .'>'.DOKU_LF
76 .'<span>'. $this->label->val() .'</span>'.DOKU_LF
H A DDropdownElement.php20 * @param string $label The label text for this element (will be autoescaped)
22 public function __construct($name, $options, $label = '') argument
24 parent::__construct('dropdown', $name, $label);
33 * @param string $label
38 public function addOptGroup($label, $options) argument
40 if (empty($label)) {
43 $this->optGroups[$label] = new OptGroup($label, $options);
66 foreach ($optGroups as $label => $options) {
67 $this->addOptGroup($label, $options);
H A DForm.php215 * @param string $label
228 * @param string $label
241 * @param string $label
254 * @param string $label
258 public function addCheckbox($name, $label = '', $pos = -1) argument
268 * @param string $label
281 * @param string $label
285 public function addTextarea($name, $label = '', $pos = -1) argument
319 * @param string $label
324 public function addLabel($label, $for='', $pos = -1) argument
[all …]
H A DInputElement.php19 protected $label = null; 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);
46 return $this->label;
72 if ($this->label) $this->label->attr('for', $id);
86 if ($this->label) $this->label->addClass($class);
161 if ($this->label) {
162 return '<label '. buildAttributes($this->label->attrs()) .'>'.DOKU_LF
163 .'<span>'. hsc($this->label->val()) .'</span>'.DOKU_LF
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);
H A DLegacyForm.php176 $label = $element->getLabel();
177 if ($label) {
178 $data['_class'] = $label->attr('class');
H A DOptGroup.php12 * @param string $label The label text for this element (will be autoescaped)
15 public function __construct($label, $options) argument
17 parent::__construct('optGroup', array('label' => $label));
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.php2450 $label = sprintf('8BIM_0x%04x', $type);
2479 $label = '';
2482 $label = $IPTCTags[$type];
2484 $label = sprintf('IPTC_0x%02x', $type);
2487 if ($label != '') {
2494 …$this->_info['iptc'][$label][ count($this->_info['iptc'][$label]) ] = $this->_getFixedString($data…
2583 $value =& $this->_info['iptc'][$label];
2586 if (isset($IPTCNames[$label])) {
2587 $type = $IPTCNames[$label];
2589 elseif (substr($label, 0, 7) == "IPTC_0x") {
[all …]
H A Dform.php451 if (is_null($label)) $label = $name;
469 * @param null|string $label
477 if (is_null($label)) $label = $name;
493 * @param null|string $label
501 if (is_null($label)) $label = $name;
525 if (is_null($label)) $label = $name;
548 if (is_null($label)) $label = $name;
574 if (is_null($label)) $label = $name;
599 if (is_null($label)) $label = $name;
631 if (is_null($label)) $label = $name;
[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 … argument
175 if (!$label)
176 $label = $lang['btn_'.$name];
199 $tip = empty($tooltip) ? hsc($label) : hsc($tooltip);
208 $html .= '<span>'. hsc($label) .'</span>'. inlineSVG($svg);
210 $html .= hsc($label);
H A Dmedia.php1836 $label = substr($item['id'], $pos > 0 ? $pos + 1 : 0);
1837 if(empty($item['label'])) $item['label'] = $label;
H A Dtemplate.php1033 $label = $lang[$tag['langkey']];
1034 if(!$label) $label = $tag['langkey'] . ':';
1036 echo '<dt>'.$label.'</dt><dd>';
/dokuwiki/inc/Menu/Item/
H A DAbstractItem.php46 protected $label = ''; variable in dokuwiki\\Menu\\Item\\AbstractItem
80 if($this->label !== '') return $this->label;
84 $label = $lang['btn_' . $this->type];
85 if(strpos($label, '%s')) {
86 $label = sprintf($label, $this->replacement);
88 if($label === '') $label = '[' . $this->type . ']';
89 return $label;
/dokuwiki/inc/Parsing/Lexer/
H A DParallelRegex.php50 * @param bool|string $label Label of regex to be returned
53 public function addPattern($pattern, $label = true) argument
57 $this->labels[$count] = $label;
/dokuwiki/inc/Ui/
H A DSearch.php343 $label = $ns . ($count ? " <bdi>($count)</bdi>" : '');
347 $searchForm->addHTML($label);
349 $link = $this->searchState->withNamespace($ns)->getSearchLink($label);
H A DSearchState.php111 public function getSearchLink($label) argument
139 return "<a href='$href' " . buildAttributes($tagAttributes, true) . ">$label</a>";
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);
/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"…
H A Damazon.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Amazon" viewBox="0 0 512 512"><rect width="512"…
H A Damazon.uk.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Amazon" viewBox="0 0 512 512"><rect width="512"…
H A Dgoogle.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Google" viewBox="0 0 512 512"><rect width="512"…
H A Dpaypal.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="PayPal" viewBox="0 0 512 512"><rect width="512"…
H A Dphpfn.svg1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-label="PHP"…
H A Dskype.svg1 <svg xmlns="http://www.w3.org/2000/svg" aria-label="Skype" viewBox="0 0 512 512"><rect width="512" …

123