Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 71) sorted by relevance

123

/dokuwiki/inc/Form/
H A DOptGroup.php56 foreach ($options as $key => $val) {
57 if (is_array($val)) {
58 if (!key_exists('label', $val)) throw new \InvalidArgumentException(
61 …if (key_exists('attrs', $val) && is_array($val['attrs']) && key_exists('selected', $val['attrs']))…
66 $this->options[$key] = $val;
68 $this->options[$val] = array('label' => (string) $val);
70 $this->options[$key] = array('label' => (string) $val);
99 foreach ($this->options as $key => $val) {
102 if (!empty($val['attrs']) && is_array($val['attrs'])) {
103 $attrs = buildAttributes($val['attrs']);
[all …]
H A DValueElement.php29 $this->val($value);
38 public function val($value = null) function in dokuwiki\\Form\\ValueElement
H A DLegacyForm.php37 ->val($ctl['text'])
121 foreach ($legacy as $key => $val) {
123 $control[substr($key, 1)] = $val;
125 $control[$key] = $val;
127 $control[$key] = $val;
129 $attributes[$key] = $val;
H A DTextareaElement.php34 public function val($value = null) function in dokuwiki\\Form\\TextareaElement
52 formText($this->val()) . '</textarea>';
H A DElement.php97 foreach ((array) $attributes as $key => $val) {
98 $this->attr($key, $val);
149 public function val($value = null) function in dokuwiki\\Form\\Element
H A DHTMLElement.php29 return $this->val();
H A DLabelElement.php28 return '<label ' . buildAttributes($this->attrs()) . '>' . $this->val() . '</label>';
H A DTagElement.php30 return '<'.$this->val().' '.buildAttributes($this->attrs()).' />';
H A DTagOpenElement.php31 return '<'.$this->val().' '.buildAttributes($this->attrs()).'>';
H A DCheckableElement.php33 $myvalue = $this->val();
76 .'<span>'. $this->label->val() .'</span>'.DOKU_LF
H A DFieldsetOpenElement.php36 $legend = $this->val();
/dokuwiki/lib/tpl/
H A Dindex.php54 foreach($ini['replacements'] as $key => $val){
57 echo '<td>'.hsc($val).'</td>';
59 if(preg_match('/^#[0-f]{3,6}$/i',$val)){
60 echo '<div class="color" style="background-color:'.$val.';">&#160;</div>';
/dokuwiki/lib/scripts/
H A Dcookie.js21 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 Dlinkwiz.js96 }else if(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) {
252 if(dw_linkwiz.val.close) {
273 dw_linkwiz.$entry.val(entry_value);
301 q: dw_linkwiz.$entry.val()
316 var temp = dw_linkwiz.$entry.val();
317 dw_linkwiz.$entry.val('');
[all …]
H A Dtoolbar.js34 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.type.charAt(0).toUpperCase()+val.type.substring(1);
55 var pickerid = window[actionFunc]($btn, val, edid);
66 alert('unknown toolbar type: '+val.type+' '+actionFunc);
224 dw_linkwiz.val = props;
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUsers.php135 $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=$val+32; }
147 if (in_array("NORMAL_ACCOUNT",$options)){ $val=$val+512; }
152 if (in_array("MNS_LOGON_ACCOUNT",$options)){ $val=$val+131072; }
155 if (in_array("NOT_DELEGATED",$options)){ $val=$val+1048576; }
156 if (in_array("USE_DES_KEY_ONLY",$options)){ $val=$val+2097152; }
[all …]
/dokuwiki/inc/Ui/
H A DSubscribe.php92 foreach ($targets as $val => $label) {
93 $data = ($value === $val) ? ['checked' => 'checked'] : [];
94 $form->addRadioButton('sub_target', $label)->val($val)->attrs($data);
101 foreach ($styles as $val => $label) {
102 $data = ($value === $val) ? ['checked' => 'checked'] : [];
103 $form->addRadioButton('sub_style', $label)->val($val)->attrs($data);
H A DUserRegister.php42 ->val($INPUT->post->str('login'));
56 ->val($INPUT->post->str('fullname'));
61 ->val($INPUT->post->str('email'));
H A DUserProfile.php46 ->val($INPUT->server->str('REMOTE_USER'));
53 ->val($fullname);
60 ->val($email);
104 ->val('1');
/dokuwiki/lib/plugins/acl/
H A Dscript.js32 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 Dform.php330 foreach($entries as $val => $cap) {
637 $options[] = array($val, $text, (!is_null($selected) && $val==$selected));
641 foreach ($values as $val) {
642 if (is_array($val))
643 @list($val, $text) = $val;
646 $options[] = array($val, $text, $val===$selected);
688 $options[] = array($val, $text, in_array($val,$selected));
691 foreach ($values as $val) {
693 if (is_array($val)) {
694 @list($val, $text, $disabled) = $val;
[all …]
H A Dconfutils.php140 list($key, $val) = explode('=', $line, 2);
142 $val = trim($val);
143 $versions[$key] = $val;
461 foreach ($new as $val) {
462 if (substr($val,0,1) == DOKU_CONF_NEGATION) {
463 $idx = array_search(trim(substr($val,1)),$current);
468 $current[] = trim($val);
/dokuwiki/inc/HTTP/
H A DHTTPClient.php346 if($val == 'deleted'){
775 $val = trim($val);
780 $headers[$key][] = $val;
785 $headers[$key] = $val;
818 $headers .= "$key=$val; ";
849 foreach($data as $key => $val){
851 if(!is_array($val)){
854 $out .= $val;
858 if($val['filename']) $out .= '; filename="'.urlencode($val['filename']).'"';
860 if($val['mimetype']) $out .= 'Content-Type: '.$val['mimetype'].HTTP_NL;
[all …]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DOptions.php252 $val = array_shift($arg);
260 … if (is_null($val) && $i + 1 < $argc && !preg_match('/^--?[\w]/', $this->args[$i + 1])) {
261 $val = $this->args[++$i];
263 if (is_null($val)) {
267 $this->options[$opt] = $val;
285 $val = null;
287 $val = $this->args[++$i];
289 if (is_null($val)) {
293 $this->options[$opt] = $val;
/dokuwiki/bin/
H A Dindexer.php70 foreach($data as $val) {
71 $this->index($val['id']);

123