Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 108) sorted by relevance

12345

/dokuwiki/lib/plugins/config/core/
H A DConfiguration.php105 $value = isset($input[$key]) ? $input[$key] : null;
159 foreach($keys as $key) {
163 $this->undefined[$key] = new SettingNoDefault($key);
166 $d = isset($this->default[$key]) ? $this->default[$key] : null;
167 $l = isset($this->local[$key]) ? $this->local[$key] : null;
168 $p = isset($this->protected[$key]) ? $this->protected[$key] : null;
179 * @param string $key
183 if(isset($this->metadata[$key])) {
187 $this->settings[$key] = $obj;
211 $this->undefined[$key] = new SettingNoKnownClass($key);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DTwofish.php411 $key = unpack('C*', $this->key);
455 $m3[$q1[$q1[$q0[$i] ^ $key[20]] ^ $key[12]] ^ $key[4]];
459 $m3[$q1[$q1[$q0[$j] ^ $key[24]] ^ $key[16]] ^ $key[8]];
479 $A = $m0[$q0[$q0[$q1[$q1[$i] ^ $key[25]] ^ $key[17]] ^ $key[ 9]] ^ $key[1]] ^
480 $m1[$q0[$q1[$q1[$q0[$i] ^ $key[26]] ^ $key[18]] ^ $key[10]] ^ $key[2]] ^
481 $m2[$q1[$q0[$q0[$q0[$i] ^ $key[27]] ^ $key[19]] ^ $key[11]] ^ $key[3]] ^
482 $m3[$q1[$q1[$q0[$q1[$i] ^ $key[28]] ^ $key[20]] ^ $key[12]] ^ $key[4]];
483 $B = $m0[$q0[$q0[$q1[$q1[$j] ^ $key[29]] ^ $key[21]] ^ $key[13]] ^ $key[5]] ^
484 $m1[$q0[$q1[$q1[$q0[$j] ^ $key[30]] ^ $key[22]] ^ $key[14]] ^ $key[6]] ^
485 $m2[$q1[$q0[$q0[$q0[$j] ^ $key[31]] ^ $key[23]] ^ $key[15]] ^ $key[7]] ^
[all …]
H A DTripleDES.php261 * @param string $key
263 function setKey($key) argument
267 $key = str_pad(substr($key, 0, 24), 24, chr(0));
270 … $key = $length <= 16 ? substr_replace($key, substr($key, 0, 8), 16) : substr($key, 0, 24);
272 $key = str_pad($key, 8, chr(0));
274 parent::setKey($key);
281 $this->des[0]->setKey(substr($key, 0, 8));
282 $this->des[1]->setKey(substr($key, 8, 8));
283 $this->des[2]->setKey(substr($key, 16, 8));
301 if ($this->mode_3cbc && strlen($this->key) > 8) {
[all …]
H A DAES.php105 * @param string $key
107 function setKey($key) argument
109 parent::setKey($key);
112 $length = strlen($key);
H A DRSA.php879 $key = "openssh-key-v1\0$key";
1193 if ($this->_decodeLength($key) != strlen($key)) {
1215 $temp = $this->_string_shift($key, $this->_decodeLength($key));
1251 $key = $crypto->decrypt($key);
1277 if ($this->_decodeLength($key) != strlen($key)) {
1333 $key = substr($key, 1);
1411 $key = preg_split('#\r\n|\r|\n#', $key);
1996 return $key;
1999 return $key !== false ? $key : '';
2010 $key = new RSA();
[all …]
H A DRC2.php63 var $key; variable in phpseclib\\Crypt\\RC2
334 * @param string $key
339 $this->orig_key = $key;
348 $key = strlen($key) ? substr($key, 0, 128) : "\x00";
349 $t = strlen($key);
393 $temp = $this->key;
396 $this->key = $temp;
416 $temp = $this->key;
419 $this->key = $temp;
524 if (!isset($this->key)) {
[all …]
/dokuwiki/lib/scripts/
H A Dcookie.js21 setValue: function(key,val){ argument
26 delete this.data[key];
29 this.data[key] = val;
34 jQuery.each(_this.data, function (key, val) { argument
35 if (_this.data.hasOwnProperty(key)) {
36 text.push(encodeURIComponent(key)+'#'+encodeURIComponent(val));
48 getValue: function(key, def){ argument
50 return this.data.hasOwnProperty(key) ? this.data[key] : def;
/dokuwiki/inc/Parsing/Handler/
H A DTable.php175 for ($key = 0; $key < count($this->tableCalls); ++$key) {
176 $call = $this->tableCalls[$key];
235 $toDelete[] = $key-1;
236 $toDelete[] = $key;
237 $toDelete[] = $key+1;
273 $toDelete[] = $key;
302 for ($key = 0; $key < $cnt; $key++) {
304 $ckey = $key;
305 $key++;
308 $toDelete[] = $key;
[all …]
/dokuwiki/inc/HTTP/
H A DHeaders.php19 foreach ($policy as $key => $values) {
25 $policy[$key] = $values;
29 foreach ($policy as $key => $values) {
31 $cspheader .= " $key " . join(' ', $values) . ';';
33 $cspheader .= " $key;";
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingLicense.php16 foreach($license as $key => $data) {
17 $this->choices[] = $key;
18 $this->lang[$this->key . '_o_' . $key] = $data['name']; // stored in setting
H A DSettingString.php24 $key = htmlspecialchars($this->key);
27 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
28 $input = '<input id="config___' . $key . '" name="config[' . $key .
H A DSettingPassword.php32 $key = htmlspecialchars($this->key);
34 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
35 $input = '<input id="config___' . $key . '" name="config[' . $key .
H A DSettingMulticheckbox.php51 $key = htmlspecialchars($this->key);
67 $prompt = ($plugin->getLang($this->key . '_' . $choice) ?
68 $plugin->getLang($this->key . '_' . $choice) : htmlspecialchars($choice));
72 $input .= '<input id="config___' . $key . '_' . $choice . '" name="config[' . $key .
95 $input .= '<label for="config___' . $key . '_other">' .
96 $plugin->getLang($key . '_other') .
98 $input .= '<input id="config___' . $key . '_other" name="config[' . $key .
118 foreach($this->combine as $key => $combinators) {
126 $array[] = $key;
151 foreach($this->combine as $key => $combinators) {
[all …]
H A DSettingMultichoice.php34 $key = htmlspecialchars($this->key);
36 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
39 …$input .= '<select class="edit" id="config___' . $key . '" name="config[' . $key . ']"' . $disable…
42 $option = $plugin->getLang($this->key . '_o_' . $choice);
43 if(!$option && isset($this->lang[$this->key . '_o_' . $choice])) {
44 $option = $this->lang[$this->key . '_o_' . $choice];
H A DSetting.php12 protected $key = ''; variable in dokuwiki\\plugin\\config\\core\\Setting\\Setting
36 * @param string $key
39 public function __construct($key, $params = null) { argument
40 $this->key = $key;
126 return $this->key;
136 $out = str_replace(Configuration::KEYMARKER, "»", $this->key);
156 return str_replace(Configuration::KEYMARKER, "']['", $this->key);
201 $key = htmlspecialchars($this->key);
247 $prompt = $plugin->getLang($this->key);
248 if(!$prompt) $prompt = htmlspecialchars(str_replace(array('____', '_'), ' ', $this->key));
[all …]
H A DSettingOnoff.php37 $key = htmlspecialchars($this->key);
40 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
41 $input = '<div class="input"><input id="config___' . $key . '" name="config[' . $key .
H A DSettingSepchar.php11 public function __construct($key, $param = null) { argument
16 parent::__construct($key, $param);
/dokuwiki/inc/Form/
H A DInputElement.php111 $key = array_keys($parsed[$name]);
112 $key = array_shift($key);
114 $key = null;
117 return array($name, $key);
127 list($name, $key) = $this->getInputName();
130 if ($key === null) {
134 if (isset($value[$key])) {
135 $value = $value[$key];
H A DOptGroup.php56 foreach ($options as $key => $val) {
66 $this->options[$key] = $val;
67 } elseif (is_int($key)) {
70 $this->options[$key] = array('label' => (string) $val);
99 foreach ($this->options as $key => $val) {
100 $selected = ((string)$key === (string)$this->value) ? ' selected="selected"' : '';
105 $html .= '<option' . $selected . ' value="' . hsc($key) . '" '.$attrs.'>';
H A DCheckableElement.php32 list($name, $key) = $this->getInputName();
37 if ($key === null) {
48 if (isset($input[$key])) {
52 if (is_array($input[$key])) {
53 $input = $input[$key];
H A DLegacyForm.php121 foreach ($legacy as $key => $val) {
122 if ($key[0] == '_') {
123 $control[substr($key, 1)] = $val;
124 } elseif($key == 'name') {
125 $control[$key] = $val;
126 } elseif($key == 'id') {
127 $control[$key] = $val;
129 $attributes[$key] = $val;
/dokuwiki/lib/scripts/jquery/
H A Djquery.cookie.js55 var config = $.cookie = function (key, value, options) {
68 encode(key), '=', stringifyCookieValue(value),
78 var result = key ? undefined : {};
90 if (key && key === name) {
97 if (!key && (cookie = read(cookie)) !== undefined) {
107 $.removeCookie = function (key, options) { argument
108 if ($.cookie(key) === undefined) {
113 $.cookie(key, '', $.extend({}, options, { expires: -1 }));
114 return !$.cookie(key);
/dokuwiki/lib/plugins/styling/
H A Dadmin.php81 foreach ($replacements as $key => $value) {
82 $name = tpl_getLang($key);
83 if (empty($name)) $name = $this->getLang($key);
84 if (empty($name)) $name = $key;
87 echo '<td><label for="tpl__'.hsc($key).'">'.$name.'</label></td>';
88 …o '<td><input type="'.$this->colorType($value).'" name="tpl['.hsc($key).']" id="tpl__'.hsc($key).'"
195 foreach ($INPUT->arr('tpl') as $key => $val) {
196 $ini .= $key.' = "'.addslashes($val).'"'."\n";
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DEnclosure.php292 * @param int $key
300 return $captions[$key];
324 * @param int $key
386 * @param int $key
394 return $credits[$key];
514 * @param int $key
522 return $hashes[$key];
577 * @param int $key
671 * @param int $key
703 * @param int $key
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php53 var $key; variable in phpseclib\\System\\SSH\\Agent\\Identity
103 function setPublicKey($key) argument
105 $this->key = $key;
106 $this->key->setPublicKey();
134 return !isset($format) ? $this->key->getPublicKey() : $this->key->getPublicKey($format);

12345