| /dokuwiki/inc/Form/ |
| H A D | LabelElement.php | 6 * Class Label 12 * Creates a new Label 14 * @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 D | InputElement.php | 8 * 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); 40 * Returns the label element if there's one set 46 return $this->label; 72 if ($this->label) $this->label->attr('for', $id); 86 if ($this->label) $this->label->addClass($class); [all …]
|
| H A D | CheckableElement.php | 17 * @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->val() . '</span>' . DOKU_LF 77 . '</label>';
|
| H A D | OptGroup.php | 11 * @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', $val)) { 66 'If option is given as array, it has to have a "label"-key!' 80 $this->options[$val] = ['label' => (string)$val]; 82 $this->options[$key] = ['label' => (string)$val]; [all …]
|
| H A D | DropdownElement.php | 23 * @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, $options); 54 * * the key being the label of the group 66 …throw new \InvalidArgumentException(hsc('Argument must be an associative array of label => [option… [all …]
|
| H A D | Form.php | 215 * @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 [all …]
|
| H A D | TextareaElement.php | 18 * @param string $label The label text for this element 20 public function __construct($name, $label) argument 22 parent::__construct('textarea', $name, $label);
|
| /dokuwiki/_test/tests/Form/ |
| H A D | DropdownElementTest.php | 17 $element = $form->addDropdown('foo', $options, 'label text'); 25 … $options = array('first' => 'A first Label', 'second' => 'The second Label', 'third' => 'Just 3'); 46 $this->assertEquals('A first Label', $option->text()); 48 $label = $pq->find('label'); 49 $this->assertTrue($label->count() == 1); 50 $this->assertEquals('label text', $label->find('span')->text()); 59 'label' => 'the label', 68 'label' => 'the label of the complex third option', 72 $form->addDropdown('foo', $options, 'label text'); 86 $this->assertEquals('the label', $option->text()); [all …]
|
| H A D | InputElementTest.php | 12 $form->addTextInput('foo', 'label text')->val('this is text'); 22 $label = $pq->find('label'); 23 $this->assertTrue($label->count() == 1); 24 $this->assertEquals('label text', $label->find('span')->text()); 35 $form->addTextInput('foo', 'label text')->val('this is text'); 50 $form->addTextInput('foo', 'label text')->val('this is text'); 63 $form->addPasswordInput('foo', 'label text')->val('this is text'); 73 $label = $pq->find('label'); 74 $this->assertTrue($label->count() == 1); 75 $this->assertEquals('label text', $label->find('span')->text());
|
| H A D | CheckableElementTest.php | 14 $form->addRadioButton('foo', 'label text first')->val('first')->attr('checked', 'checked'); 15 $form->addRadioButton('foo', 'label text second')->val('second'); 23 $label = $pq->find('label'); 24 $this->assertTrue($label->count() == 2); 43 $form->addRadioButton('foo', 'label text first')->val('first')->attr('checked', 'checked'); 44 $form->addRadioButton('foo', 'label text second')->val('second');
|
| /dokuwiki/lib/plugins/config/ |
| H A D | style.css | 42 [dir=rtl] #config__manager label { 50 [dir=rtl] #config__manager td.value label { 54 #config__manager td.label { 58 [dir=rtl] #config__manager td.label { 62 #config__manager td.label label { 66 [dir=rtl] #config__manager td.label label { 69 #config__manager td.label img { 74 [dir=rtl] #config__manager td.label img { 78 #config__manager td.label span.outkey { 90 [dir=rtl] #config__manager td.label span.outkey { [all …]
|
| /dokuwiki/lib/tpl/dokuwiki/css/ |
| H A D | _forms.css | 20 .dokuwiki label.block { 25 [dir=rtl] .dokuwiki label.block { 29 .dokuwiki label.simple { 34 [dir=rtl] .dokuwiki label.simple { 38 .dokuwiki label.block select, 39 .dokuwiki label.block input.edit { 43 .dokuwiki label span { 71 #dw__login label[for="remember__me"] { 103 #subscribe__form label {
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | Category.php | 36 * Human readable label 41 public $label; variable in SimplePie\\Category 59 * @param string|null $label 62 …public function __construct(?string $term = null, ?string $scheme = null, ?string $label = null, ?… argument 66 $this->label = $label; 102 * Get the human readable label 109 if ($this->label === null && $strict !== true) { 112 return $this->label;
|
| H A D | Copyright.php | 33 public $label; variable in SimplePie\\Copyright 43 ?string $label = null argument 46 $this->label = $label; 81 if ($this->label !== null) { 82 return $this->label;
|
| /dokuwiki/inc/ |
| H A D | form.php | 96 * @param string $legend Label that will be printed with the border. 418 * @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 = a… argument 456 if (is_null($label)) $label = $name; 457 $elem = array('_elem' => 'field', '_text' => $label, '_class' => $class, 466 * The label text will be printed after the input. [all …]
|
| /dokuwiki/inc/Menu/Item/ |
| H A D | AbstractItem.php | 41 /** @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 = sprintf($label, $this->replacement); 90 if ($label === '') $label = '[' . $this->type . ']'; [all …]
|
| /dokuwiki/lib/plugins/config/core/Setting/ |
| H A D | SettingString.php | 27 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 30 return [$label, $input];
|
| H A D | SettingPassword.php | 36 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 39 return [$label, $input];
|
| H A D | SettingOnoff.php | 42 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 45 return [$label, $input];
|
| H A D | SettingMulticheckbox.php | 70 … $input .= '<label for="config___' . $key . '_' . $choice . '">' . $prompt . "</label>\n"; 93 $input .= '<label for="config___' . $key . '_other">' . 95 "</label>\n"; 102 $label = '<label>' . $this->prompt($plugin) . '</label>'; 103 return [$label, $input];
|
| H A D | SettingMultichoice.php | 38 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 57 return [$label, $input];
|
| H A D | SettingArray.php | 82 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>'; 85 return [$label, $input];
|
| /dokuwiki/.github/ISSUE_TEMPLATE/ |
| H A D | bug_report.yml | 26 label: The problem 47 label: Version of DokuWiki 54 label: PHP Version 61 label: Webserver and version of webserver 66 label: Browser and version of browser, operating system running browser 71 label: Additional environment information 100 label: Relevant logs and/or error messages
|
| /dokuwiki/inc/Parsing/Lexer/ |
| H A D | ParallelRegex.php | 16 * 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 49 * on a match. Label must be ASCII 51 public function addPattern($pattern, $label = true) argument 55 $this->labels[$count] = $label; 65 * @return bool|string False if no match found, label if label exists, true if not
|
| /dokuwiki/inc/Ui/ |
| H A D | Search.php | 104 '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' => $lang['search_custom_match'], [all …]
|