/dokuwiki/inc/Form/ |
H A D | CheckableElement.php | 23 $this->attr('value', 1); 41 $this->attr('checked', 'checked'); 58 $this->attr('checked', 'checked');
|
H A D | DropdownElement.php | 84 * attr-key => attr-value, ... 180 $attr = $this->attrs(); 181 if (isset($attr['multiple'])) { 183 $attr['name'] .= '[]'; 189 $html = '<select ' . buildAttributes($attr) . '>';
|
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 | 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);
|
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 | 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('nam [all...] |
H A D | TagCloseElement.php | 60 public function attr($name, $value = null) function in dokuwiki\\Form\\TagCloseElement
|
H A D | TextareaElement.php | 23 $this->attr('dir', 'auto');
|
/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/inc/Ui/ |
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['col [all...] |
H A D | Login.php | 55 $input->getLabel()->attr('class', 'block'); 59 $input->getLabel()->attr('class', 'block'); 65 $form->addButton('', $lang['btn_login'])->attr('type', 'submit');
|
H A D | MediaRevisions.php | 85 $form->addCheckbox('')->val($rev)->attr('disabled', 'disabled'); 108 $form->addButton('do[diff]', $lang['diff2'])->attr('type', 'submit');
|
H A D | PageDiff.php | 315 $form->addButton('do[diff]', 'Go')->attr('type', 'submit'); 491 $form->addButton('do[diff]', 'Go')->attr('type', 'submit'); 522 $attr = [ 527 return '<a ' . buildAttributes($attr) . '><span>' . $lang[$linktype] . '</span></a>';
|
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');
|
H A D | Recent.php | 226 $form->addButton('do[recent]', $lang['btn_apply'])->attr('type', 'submit');
|
H A D | Search.php | 84 $searchForm->addButton('', $lang['btn_search'])->attr('type', 'submit'); 118 $searchForm->addTagOpen('div')->addClass('toggle')->attr('aria-haspopup', 'true'); 128 $searchForm->addTagOpen('ul')->attr('aria-expanded', 'false'); 192 ->attr('style', 'display: none;') 193 ->attr('aria-hidden', 'true'); 251 $searchForm->addTagOpen('div')->addClass('toggle')->attr('aria-haspopup', 'true'); 261 $searchForm->addTagOpen('ul')->attr('aria-expanded', 'false'); 300 $searchForm->addTagOpen('div')->addClass('toggle')->attr('aria-haspopup', 'true'); 312 $searchForm->addTagOpen('ul')->attr('aria-expanded', 'false'); 412 $searchForm->addTagOpen('div')->addClass('toggle')->attr('ari [all...] |
H A D | Subscribe.php | 109 $form->addButton('do[subscribe]', $lang['subscr_m_subscribe'])->attr('type', 'submit');
|
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('clas [all...] |
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 | 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');
|
/dokuwiki/inc/Ui/Media/ |
H A D | Display.php | 42 $attr = [ 49 return '<img src="' . $src . '" ' . buildAttributes($attr) . ' />';
|
/dokuwiki/inc/ |
H A D | media.php | 205 ->attr('rows', '6')->attr('cols', '50'); 210 $form->addButton('mediado[save]', $lang['btn_save'])->attr('type', 'submit') 880 $form->addButton('', $lang['btn_apply'])->attr('type', 'submit'); 1133 $form->addButton('', $lang['btn_delete'])->attr('type', 'submit'); 1148 $form->addButton('', $lang['media_update'])->attr('type', 'submit'); 1164 $form->addButton('', $lang['media_restore'])->attr('type', 'submit'); 1576 $form->addButton('', $lang['btn_upload'])->attr('type', 'submit'); 1655 ->attr('title', sprintf($lang['searchmedia_in'], hsc($ns) . ':*')) 1658 $form->addButton('', $lang['btn_search'])->attr('typ [all...] |
H A D | template.php | 424 foreach ($inst as $attr) { 425 if (empty($attr)) { 428 echo '<', $tag, ' ', buildAttributes($attr); 429 if (isset($attr['_data']) || $tag == 'script') { 430 if ($tag == 'script' && isset($attr['_data'])) 431 $attr['_data'] = "/*<![CDATA[*/" . 432 $attr['_data'] . 435 echo '>', $attr['_data'] ?? '', '</', $tag, '>';
|
/dokuwiki/lib/plugins/acl/ |
H A D | script.js | 40 $clicky.attr('src', 65 .attr('role', 'alert')
|
/dokuwiki/lib/plugins/extension/ |
H A D | script.js | 24 var image_href = jQuery(this).attr("href"); 54 var extension = $btn.attr('name').split('[')[2]; 59 $btn.attr('disabled', 'disabled');
|