/dokuwiki/inc/Form/ |
H A D | OptGroup.php | 23 * This is intended to be only called from within DropdownElement::val() 27 * @see DropdownElement::val() 62 foreach ($options as $key => $val) { 63 if (is_array($val)) { 64 if (!array_key_exists('label', $val)) { 70 array_key_exists('attrs', $val) && 71 is_array($val['attrs']) && 72 array_key_exists('selected', $val['attrs']) 75 'Please use function "DropdownElement::val()" to set the selected option' 78 $this->options[$key] = $val; [all...] |
H A D | ValueElement.php | 29 $this->val($value); 38 public function val($value = null) function in dokuwiki\\Form\\ValueElement
|
H A D | LegacyForm.php | 37 ->val($ctl['text']) 118 foreach ($legacy as $key => $val) { 120 $control[substr($key, 1)] = $val; 122 $control[$key] = $val; 124 $control[$key] = $val; 126 $attributes[$key] = $val;
|
H A D | TextareaElement.php | 34 public function val($value = null) function in dokuwiki\\Form\\TextareaElement 52 formText($this->val()) . '</textarea>';
|
H A D | Element.php | 97 foreach ((array) $attributes as $key => $val) { 98 $this->attr($key, $val); 149 public function val($value = null) function in dokuwiki\\Form\\Element
|
H A D | HTMLElement.php | 29 return $this->val();
|
H A D | LabelElement.php | 28 return '<label ' . buildAttributes($this->attrs()) . '>' . $this->val() . '</label>';
|
H A D | TagElement.php | 30 return '<' . $this->val() . ' ' . buildAttributes($this->attrs()) . ' />';
|
H A D | TagOpenElement.php | 31 return '<' . $this->val() . ' ' . buildAttributes($this->attrs()) . '>';
|
/dokuwiki/inc/ChangeLog/ |
H A D | RevisionInfo.php | 64 return (bool) $this->val('current', $value); 75 public function val($key, $value = null) 97 $this->val($key, $value); 110 $id = $this->val('id'); 111 if ($this->val('mode') == self::MODE_MEDIA) { 114 } elseif ($this->val('mode') == self::MODE_PAGE) { 129 $formatted = dformat($this->val('date')); 130 if ($checkTimestamp && $this->val('timestamp') === false) { 146 return '<span class="sum">' . ' – ' . hsc($this->val('sum')) . '</span>'; 157 if ($this->val('use 73 public function val($key, $value = null) global() function in dokuwiki\\ChangeLog\\RevisionInfo [all...] |
/dokuwiki/lib/tpl/ |
H A D | index.php | 56 foreach ($ini['replacements'] as $key => $val) { 59 echo '<td>' . hsc($val) . '</td>'; 61 if (preg_match('/^#[0-f]{3,6}$/i', $val)) { 62 echo '<div class="color" style="background-color:' . $val . ';"> </div>';
|
/dokuwiki/lib/scripts/ |
H A D | cookie.js | 21 setValue: function(key,val){ argument 25 if (val === false){ 28 val = val + ""; 29 this.data[key] = val; 34 jQuery.each(_this.data, function (key, val) { argument 36 text.push(encodeURIComponent(key)+'#'+encodeURIComponent(val));
|
H A D | linkwiz.js | 56 dw_linkwiz.$entry.val(JSINFO.namespace+':'); 96 }else if(dw_linkwiz.$entry.val()){ 97 dw_linkwiz.insertLink(dw_linkwiz.$entry.val()); 192 dw_linkwiz.$entry.val(a.title); 211 var link = dw_linkwiz.$entry.val(), 242 if(dw_linkwiz.val){ 243 if(dw_linkwiz.val.open) { 244 so += dw_linkwiz.val.open.length; 245 link = dw_linkwiz.val.open+link; 252 if(dw_linkwiz.val [all...] |
H A D | toolbar.js | 34 jQuery.each(tb, function (k, val) { argument 35 if (!tb.hasOwnProperty(k) || (!allowblock && val.block === true)) { 41 $btn = jQuery(createToolButton(val.icon, val.title, val.key, val.id, 42 val['class'])); 45 actionFunc = 'tb_'+val.type; 47 $btn.on('click', bind(window[actionFunc],$btn,val,edid) ); 53 actionFunc = 'addBtnAction'+val [all...] |
/dokuwiki/inc/Ui/ |
H A D | Subscribe.php | 93 foreach ($targets as $val => $label) { 94 $data = ($value === $val) ? ['checked' => 'checked'] : []; 95 $form->addRadioButton('sub_target', $label)->val($val)->attrs($data); 103 foreach ($styles as $val => $label) { 104 $data = ($value === $val) ? ['checked' => 'checked'] : []; 105 $form->addRadioButton('sub_style', $label)->val($val)->attrs($data);
|
H A D | PageDiff.php | 148 $isCurrent = $changelog->isCurrentRevision($RevInfo->val('date')); 151 if ($RevInfo->val('type') == DOKU_CHANGE_TYPE_DELETE || empty($RevInfo->val('type'))) { 154 $rev = $isCurrent ? '' : $RevInfo->val('date'); 195 $rev1Summary = ($this->RevInfo1->val('date')) 199 if ($this->RevInfo2->val('extra') == 'compareWith') { 204 $rev2Summary = ($this->RevInfo2->val('date')) 211 explode("\n", $this->RevInfo1->val('text')), 212 explode("\n", $this->RevInfo2->val('text')) 239 if ($this->RevInfo2->val('extr [all...] |
H A D | MediaDiff.php | 92 $isCurrent = $changelog->isCurrentRevision($RevInfo->val('date')); 96 $rev = $isCurrent ? '' : $RevInfo->val('date'); 107 && ($this->RevInfo1->val('previewSize')[0] ?? 0) >= 30 108 && ($this->RevInfo2->val('previewSize')[0] ?? 0) >= 30 168 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')]; 197 $rev1 = $this->RevInfo1->isCurrent() ? '' : $this->RevInfo1->val('date'); 198 $rev2 = $this->RevInfo2->isCurrent() ? '' : $this->RevInfo2->val('date'); 204 $rev1Size = $this->RevInfo1->val('previewSize'); 205 $rev2Size = $this->RevInfo2->val('previewSiz [all...] |
H A D | PageRevisions.php | 76 $class = ($RevInfo->val('type') === DOKU_CHANGE_TYPE_MINOR_EDIT) ? 'minor' : ''; 81 $form->addCheckbox('rev2[]')->val($rev); 83 $form->addCheckbox('rev2[]')->val($rev)->attr('checked', 'checked'); 85 $form->addCheckbox('rev2[]')->val($rev); 87 $form->addCheckbox('')->val($rev)->attr('disabled', 'disabled');
|
H A D | MediaRevisions.php | 76 $class = ($RevInfo->val('type') === DOKU_CHANGE_TYPE_MINOR_EDIT) ? 'minor' : ''; 81 $form->addCheckbox('rev2[]')->val($rev); 83 $form->addCheckbox('rev2[]')->val($rev); 85 $form->addCheckbox('')->val($rev)->attr('disabled', 'disabled');
|
H A D | UserRegister.php | 42 ->val($INPUT->post->str('login')); 56 ->val($INPUT->post->str('fullname')); 61 ->val($INPUT->post->str('email'));
|
/dokuwiki/lib/plugins/authad/adLDAP/classes/ |
H A D | adLDAPUsers.php | 135 $val=0; 138 if (in_array("SCRIPT",$options)){ $val=$val+1; } 139 if (in_array("ACCOUNTDISABLE",$options)){ $val=$val+2; } 140 if (in_array("HOMEDIR_REQUIRED",$options)){ $val=$val+8; } 141 if (in_array("LOCKOUT",$options)){ $val=$val+16; } 142 if (in_array("PASSWD_NOTREQD",$options)){ $val [all...] |
/dokuwiki/lib/plugins/acl/ |
H A D | script.js | 32 current_ns: $frm.find('input[name=ns]').val(), 33 current_id: $frm.find('input[name=id]').val()}), 109 $frm.find('input[name=ns]').val(''); 110 $frm.find('input[name=id]').val(dw_acl.parseatt($link[0].search).id); 112 $frm.find('input[name=ns]').val(dw_acl.parseatt($link[0].search).ns); 113 $frm.find('input[name=id]').val('');
|
/dokuwiki/inc/ |
H A D | form.php | 330 foreach ($entries as $val => $cap) { 331 $data = ($value === $val) ? array('checked' => 'checked') : array(); 332 $this->addElement(form_makeRadioField($name, $val, $cap, '', '', $data)); 648 foreach ($values as $val => $text) { 649 $options[] = array($val, $text, (!is_null($selected) && $val == $selected)); 653 foreach ($values as $val) { 654 if (is_array($val)) 655 @list($val, $text) = $val; [all...] |
/dokuwiki/lib/plugins/extension/lang/hu/ |
H A D | intro_install.txt |
|
/dokuwiki/vendor/splitbrain/php-cli/src/ |
H A D | Base.php | 321 foreach ($context as $key => $val) { 323 if (!is_array($val) && (!is_object($val) || method_exists($val, '__toString'))) { 324 $replace['{' . $key . '}'] = $val;
|