| /dokuwiki/lib/scripts/ |
| H A D | search.js | 11 .attr('type', 'button') 12 .attr('aria-expanded', 'false') 20 if ($me.attr('aria-hidden')) { 22 $toggleAssistanceButton.attr('aria-expanded', 'true'); 25 $me.attr('aria-hidden', 'true'); 26 $toggleAssistanceButton.attr('aria-expanded', 'false'); 39 $me.parent().siblings().find('ul:first').attr('aria-expanded', 'false'); 42 $me.parent().find('ul:first').attr('aria-expanded', 'true'); 44 $me.parent().find('ul:first').attr('aria-expanded', 'false');
|
| H A D | tree.js | 17 jQuery('ul:first', this.$obj).attr('role', 'tree'); 18 jQuery('ul', this.$obj).not(':first').attr('role', 'group'); 19 jQuery('li', this.$obj).attr('role', 'treeitem'); 20 jQuery('li.open > ul', this.$obj).attr('aria-expanded', 'true'); 21 jQuery('li.closed > ul', this.$obj).attr('aria-expanded', 'false'); 22 jQuery('li.closed', this.$obj).attr('aria-live', 'assertive'); 47 $sublist.attr('aria-expanded', 'false'); 50 $sublist.attr('aria-expanded', 'true'); 63 $sublist.parent().attr('aria-busy', 'false').removeAttr('aria-live'); 64 jQuery('li.closed', $sublist).attr('aria-live', 'assertive');
|
| H A D | edit.js | 33 $btn.attr('title', label).attr('aria-controls', 'wiki__text'); 35 $btn.attr('title', label + ' ['+key.toUpperCase()+']') 36 .attr('accessKey', key); 41 $btn.attr('id', id); 42 $ico.attr('id', id+'_ico'); 49 $ico.attr('src', icon); 50 $ico.attr('alt', ''); 51 $ico.attr('width', 16); 52 $ico.attr('height', 16); 82 $picker.attr('id', id).css('position', 'absolute'); [all …]
|
| H A D | page.js | 29 const match = $tgt.attr('class').match(/(\s+|^)editbutton_(\d+)(\s+|$)/); 84 .attr('id', popup_id) 86 .attr('aria-hidden', 'true') 87 .on('mouseleave', function () {jQuery(this).hide().attr('aria-hidden', 'true');}) 88 .attr('role', 'tooltip'); 110 var $content = jQuery(jQuery(this).attr('href')) // Footnote text anchor 119 var id = jQuery(this).attr('id'); 120 jQuery(this).attr('id', 'insitu__' + id); 126 .show().attr('aria-hidden', 'false'); 193 $content.attr('aria-expanded', hidden);
|
| H A D | toolbar.js | 23 if ($toolbar.length == 0 || $edit.length == 0 || $edit.attr('readOnly')) { 58 $btn.attr('aria-controls', pickerid); 60 $btn.attr('aria-haspopup', 'true'); 199 jQuery(picker).attr('aria-hidden', 'true'); 242 $picker.removeClass('a11y').attr('aria-hidden', 'false'); 244 $picker.addClass('a11y').attr('aria-hidden', 'true'); 281 jQuery('#tool__bar').attr('role', 'toolbar');
|
| H A D | editor.js | 24 if($editor.attr('readOnly')) { 61 .attr('src', DOKU_BASE+'lib/images/' + img[0] + '.gif') 62 .attr('alt', '') 89 wrap = $textarea.attr('wrap'); 92 DokuCookie.setValue('wrapCtl',$textarea.attr('wrap'));
|
| /dokuwiki/inc/Ui/ |
| H A D | UserProfile.php | 62 $attr = ['size' => '50', 'required' => 'required']; 63 $input = $form->addPasswordInput('oldpass', $lang['oldpass'])->attrs($attr) 65 $input->getLabel()->attr('class', 'block'); 86 $attr = ['size' => '50', 'disabled' => 'disabled']; 88 ->attrs($attr) 91 $input->getLabel()->attr('class', 'block'); 94 $attr = ['size' => '50']; 95 if (!$auth->canDo('modName')) $attr['disabled'] = 'disabled'; 97 ->attrs($attr) 100 $input->getLabel()->attr('class', 'block'); [all …]
|
| H A D | Editor.php | 108 $form->addButton('do[save]', $lang['btn_save'])->attr('type', 'submit') 111 $form->addButton('do[preview]', $lang['btn_preview'])->attr('type', 'submit') 114 $form->addButton('do[cancel]', $lang['btn_cancel'])->attr('type', 'submit') 124 $input->getLabel()->attr('class', 'nowrap'); 138 $attr = [ 146 … . ' <a ' . buildAttributes($attr, true) . '>' . $license[$conf['license']]['name'] . '</a>'); 201 $attr = ['tabindex' => '1']; 202 if (!$data['wr']) $attr['readonly'] = 'readonly'; 203 $attr['dir'] = 'auto'; 204 $attr['cols'] = '80'; [all …]
|
| H A D | UserResendPwd.php | 61 … $input = $form->addPasswordInput('pass', $lang['pass'])->attr('size', '50')->addClass('edit'); 62 $input->getLabel()->attr('class', 'block'); 64 …$input = $form->addPasswordInput('passchk', $lang['passchk'])->attr('size', '50')->addClass('edit'… 65 $input->getLabel()->attr('class', 'block'); 67 $form->addButton('', $lang['btn_resendpwd'])->attr('type', 'submit'); 91 $input->getLabel()->attr('class', 'block'); 94 $form->addButton('', $lang['btn_resendpwd'])->attr('type', 'submit');
|
| H A D | UserRegister.php | 43 $input->getLabel()->attr('class', 'block'); 48 $input->getLabel()->attr('class', 'block'); 51 $input->getLabel()->attr('class', 'block'); 57 $input->getLabel()->attr('class', 'block'); 62 $input->getLabel()->attr('class', 'block'); 65 $form->addButton('', $lang['btn_register'])->attr('type', 'submit');
|
| H A D | Login.php | 55 $input->getLabel()->attr('class', 'block'); 56 $input->attr('autocomplete', 'username'); 60 $input->getLabel()->attr('class', 'block'); 61 $input->attr('autocomplete', 'current-password'); 67 $form->addButton('', $lang['btn_login'])->attr('type', 'submit');
|
| H A D | PageRevisions.php | 83 $form->addCheckbox('rev2[]')->val($rev)->attr('checked', 'checked'); 87 $form->addCheckbox('')->val($rev)->attr('disabled', 'disabled'); 107 $form->addButton('do[diff]', $lang['diff2'])->attr('type', 'submit');
|
| /dokuwiki/_test/tests/Form/ |
| H A D | CheckableElementTest.php | 14 $form->addRadioButton('foo', 'label text first')->val('first')->attr('checked', 'checked'); 27 $this->assertEquals('first', $inputs->get(0)->attr('value')); 28 $this->assertEquals('second', $inputs->get(1)->attr('value')); 29 $this->assertEquals('checked', $inputs->get(0)->attr('checked')); 30 $this->assertEquals('', $inputs->get(1)->attr('checked')); 31 $this->assertEquals('radio', $inputs->get(0)->attr('type')); 43 $form->addRadioButton('foo', 'label text first')->val('first')->attr('checked', 'checked'); 50 $this->assertEquals('first', $inputs->get(0)->attr('value')); 51 $this->assertEquals('second', $inputs->get(1)->attr('value')); 52 $this->assertEquals('', $inputs->get(0)->attr('checked')); [all …]
|
| H A D | ButtonElementTest.php | 14 $form->addButton('foo', 'Hello <b>World</b>')->val('bam')->attr('type', 'submit'); 21 $this->assertEquals('bam', $input->attr('value')); 22 $this->assertEquals('submit', $input->attr('type')); 32 $form->addButtonHTML('foo', 'Hello <b>World</b>')->val('bam')->attr('type', 'submit'); 39 $this->assertEquals('bam', $input->attr('value')); 40 $this->assertEquals('submit', $input->attr('type'));
|
| H A D | InputElementTest.php | 19 $this->assertEquals('this is text', $input->attr('value')); 20 $this->assertEquals('text', $input->attr('type')); 42 $this->assertEquals('a new text', $input->attr('value')); 57 $this->assertEquals('', $input->attr('value')); 70 $this->assertEquals('this is text', $input->attr('value')); 71 $this->assertEquals('password', $input->attr('type'));
|
| H A D | DropdownElementTest.php | 45 $this->assertEquals('first', $option->attr('value')); 85 $this->assertEquals('first', $option->attr('value')); 87 $this->assertEquals('bar', $option->attr('data-foo')); 134 $this->assertEquals('third', $selected->attr('value')); 202 $this->assertEquals('second', $option->attr('value')); 211 $element = $form->addDropdown('foo', $options, 'label text')->attr('multiple', '1');
|
| /dokuwiki/inc/Form/ |
| H A D | LegacyForm.php | 29 [$ctl, $attr] = $this->parseLegacyAttr($element); 35 ->attrs($attr) 42 ->attrs($attr) 48 ->attrs($attr) 54 ->attrs($attr) 60 ->attrs($attr) 66 ->attrs($attr) 67 ->attr('name', $ctl['name']) 73 ->attrs($attr) 74 ->attr('name', $ctl['name']) [all …]
|
| H A D | Element.php | 57 public function attr($name, $value = null) function in dokuwiki\\Form\\Element 98 $this->attr($key, $val); 116 $classes = explode(' ', $this->attr('class')); 120 $this->attr('class', implode(' ', $classes)); 138 return $this->attr('id', $id); 151 return $this->attr('value', $value);
|
| H A D | CheckableElement.php | 23 $this->attr('value', 1); 41 $this->attr('checked', 'checked'); 58 $this->attr('checked', 'checked');
|
| H A D | InputElement.php | 34 $this->attr('name', $name); 35 $this->attr('type', $type); 72 if ($this->label) $this->label->attr('for', $id); 104 $name = $this->attr('name');
|
| H A D | DropdownElement.php | 180 $attr = $this->attrs(); 181 if (isset($attr['multiple'])) { 183 $attr['name'] .= '[]'; 189 $html = '<select ' . buildAttributes($attr) . '>';
|
| H A D | Form.php | 39 if (!$this->attr('action')) { 43 $this->attr('action', $self); 47 if (!$this->attr('method')) { 48 $this->attr('method', 'post'); 52 if (!$this->attr('accept-charset')) { 53 $this->attr('accept-charset', 'utf-8'); 152 if ($this->elements[$pos]->attr($name) == $value) { 347 $element->attr('for', $for);
|
| /dokuwiki/inc/Menu/Item/ |
| H A D | AbstractItem.php | 137 $attr = ['href' => $this->getLink(), 'title' => $this->getTitle()]; 138 if ($this->isNofollow()) $attr['rel'] = 'nofollow'; 140 $attr['accesskey'] = $this->getAccesskey(); 141 $attr['title'] .= ' [' . $this->getAccesskey() . ']'; 143 if ($classprefix !== false) $attr['class'] = $classprefix . $this->getType(); 145 return $attr; 159 $attr = buildAttributes($this->getLinkAttributes($classprefix)); 160 $html = "<a $attr>";
|
| /dokuwiki/_test/tests/test/ |
| H A D | phpquery.test.php | 16 … $this->assertEquals('DokuWiki', $response->queryHTML('meta[name="generator"]')->attr('content') );
|
| /dokuwiki/lib/plugins/styling/ |
| H A D | script.js | 11 $style.attr('href', ''); 38 $style.attr('href', DOKU_BASE + 'lib/exe/css.php?preview=1&tseed=' + now);
|