Home
last modified time | relevance | path

Searched refs:input (Results 1 - 25 of 36) sorted by relevance

12

/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingMulticheckbox.php15 public function update($input) {
19 $input = ($input) ? $input : array(); variable
20 $input = $this->array2str($input); variable
23 if($value == $input) return false;
25 if($this->pattern && !preg_match($this->pattern, $input)) {
27 $this->input = $input; variable
57 $input = ''; global() variable
[all...]
H A DSettingImConvert.php11 public function update($input) {
14 $input = trim($input); variable
17 if($value == $input) return false;
19 if($input && !file_exists($input)) {
21 $this->input = $input; variable
25 $this->local = $input;
H A DSettingPassword.php13 public function update($input) {
15 if(!$input) return false;
17 if($this->pattern && !preg_match($this->pattern, $input)) {
19 $this->input = $input; variable
23 $this->local = conf_encodeString($input, $this->code);
35 $input = '<input id="config___' . $key . '" name="config[' . $key . variable
37 return array($label, $input);
H A DSettingEmail.php13 public function update($input) {
14 if(is_null($input)) return false;
18 if($value == $input) return false;
19 if($input === '') {
20 $this->local = $input;
23 $mail = $input;
50 $this->input = $input; variable
55 $this->local = $input;
H A DSettingArray.php35 * update setting with user provided value $input
38 * @param string $input
41 public function update($input) {
42 if(is_null($input)) return false;
45 $input = $this->fromString($input); variable
48 if($value == $input) return false;
50 foreach($input as $item) {
53 $this->input = $input; variable
101 $input = '<input id="config___' . $key . '" name="config[' . $key . global() variable
[all...]
H A DSettingSavedir.php11 public function update($input) {
15 if($value == $input) return false;
17 if(!init_path($input)) {
19 $this->input = $input; variable
23 $this->local = $input;
H A DSettingNumericopt.php16 public function update($input) {
17 if($input === '') {
18 if($input == $this->local) return false;
19 $this->local = $input;
23 return parent::update($input);
H A DSettingMultichoice.php38 $input = "<div class=\"input\">\n"; variable
39 $input .= '<select class="edit" id="config___' . $key . '" name="config[' . $key . ']"' . $disable . '>' . "\n";
50 $input .= ' <option value="' . $choice . '"' . $selected . ' >' . $option . '</option>' . "\n";
52 $input .= "</select> $nochoice \n";
53 $input .= "</div>\n";
55 return array($label, $input);
59 public function update($input) {
60 if(is_null($input)) return false;
64 if($value == $input) retur
[all...]
H A DSettingAuthtype.php24 public function update($input) {
30 if(!parent::update($input)) return false; // nothing changed or an error caught by parent
34 $auth_plugin = $plugin_controller->load('auth', $input);
39 msg('Cannot load Auth Plugin "' . $input . '"', -1);
46 msg('Cannot create Auth Plugin "' . $input . '"', -1);
52 if($conf['authtype'] != $input) {
57 $this->local = $input;
H A DSettingOnoff.php41 $input = '<div class="input"><input id="config___' . $key . '" name="config[' . $key . variable
43 return array($label, $input);
47 public function update($input) {
50 $input = ($input) ? 1 : 0; variable
52 if($value == $input) return false;
54 $this->local = $input;
H A DSettingRegex.php10 protected $delimiter = '/'; // regex delimiter to be used in testing input
11 protected $pregflags = 'ui'; // regex pattern modifiers to be used in testing input
14 public function update($input) {
18 if(!parent::update($input)) return false;
22 $regex = $this->delimiter . $input . $this->delimiter . $this->pregflags;
26 $this->input = $input; variable
31 $this->local = $input;
H A DSetting.php26 protected $input = null; // only used by those classes which error check variable
67 * update changed setting with validated user provided value $input
68 * - if changed value fails validation check, save it to $this->input (to allow echoing later)
71 * @param mixed $input the new value
74 public function update($input) {
75 if(is_null($input)) return false;
77 $input = $this->cleanValue($input); variable
80 if($value == $input) return false;
83 if($this->pattern && !preg_match($this->pattern, $input)) {
85 $this->input = $input; global() variable
205 $input = '<textarea rows="3" cols="40" id="config___' . $key . global() variable
[all...]
H A DSettingNumeric.php17 public function update($input) {
19 $valid = parent::update($input);
25 $this->input = $input; variable
H A DSettingString.php18 $value = $this->input;
28 $input = '<input id="config___' . $key . '" name="config[' . $key . variable
30 return array($label, $input);
H A DSettingUndefined.php35 $input = $plugin->getLang($this->errorMessage); variable
37 return array($label, $input);
/dokuwiki/inc/Ui/
H A DUserRegister.php41 $input = $form->addTextInput('login', $lang['user'])->attrs($base_attrs)->addClass('edit') variable
43 $input->getLabel()->attr('class', 'block');
47 $input = $form->addPasswordInput('pass', $lang['pass'])->attrs($base_attrs)->addClass('edit'); variable
48 $input->getLabel()->attr('class', 'block');
50 $input = $form->addPasswordInput('passchk', $lang['passchk'])->attrs($base_attrs)->addClass('edit'); variable
51 $input->getLabel()->attr('class', 'block');
55 $input = $form->addTextInput('fullname', $lang['fullname'])->attrs($base_attrs)->addClass('edit') variable
57 $input->getLabel()->attr('class', 'block');
60 $input = $form->addTextInput('email', $lang['email'])->attrs($email_attrs)->addClass('edit') variable
62 $input
[all...]
H A DUserProfile.php45 $input = $form->addTextInput('login', $lang['user'])->attrs($attr)->addClass('edit') variable
47 $input->getLabel()->attr('class', 'block');
52 $input = $form->addTextInput('fullname', $lang['fullname'])->attrs($attr)->addClass('edit') variable
54 $input->getLabel()->attr('class', 'block');
59 $input = $form->addTextInput('email', $lang['email'])->attrs($attr)->addClass('edit') variable
61 $input->getLabel()->attr('class', 'block');
66 $input = $form->addPasswordInput('newpass', $lang['newpass'])->attrs($attr)->addClass('edit'); variable
67 $input->getLabel()->attr('class', 'block');
70 $input = $form->addPasswordInput('passchk', $lang['passchk'])->attrs($attr)->addClass('edit'); variable
71 $input
78 $input = $form->addPasswordInput('oldpass', $lang['oldpass'])->attrs($attr)->addClass('edit'); global() variable
109 $input = $form->addPasswordInput('oldppass', $lang['oldpass'])->attrs($attr) global() variable
[all...]
H A DUserResendPwd.php60 $input = $form->addPasswordInput('pass', $lang['pass'])->attr('size', '50')->addClass('edit'); variable
61 $input->getLabel()->attr('class', 'block');
63 $input = $form->addPasswordInput('passchk', $lang['passchk'])->attr('size', '50')->addClass('edit'); variable
64 $input->getLabel()->attr('class', 'block');
88 $input = $form->addTextInput('login', $lang['user'])->addClass('edit'); variable
89 $input->getLabel()->attr('class', 'block');
H A DLogin.php51 $input = $form->addTextInput('u', $lang['user'])->id('focus__this')->addClass('edit') variable
53 $input->getLabel()->attr('class', 'block');
56 $input = $form->addPasswordInput('p', $lang['pass'])->addClass('block edit'); variable
57 $input->getLabel()->attr('class', 'block');
/dokuwiki/inc/Form/
H A DCheckableElement.php47 $input = $INPUT->arr($name); variable
48 if (isset($input[$key])) {
52 if (is_array($input[$key])) {
53 $input = $input[$key]; variable
56 foreach ($input as $value) {
/dokuwiki/vendor/simplepie/simplepie/idn/
H A Didna_convert.class.php43 * Unicode input might be given as either UTF-8 string, UCS-4 string or UCS-4
47 * ACE input and output is always expected to be ASCII.
89 var $_api_encoding = 'utf8'; // Default input charset is UTF-8
111 * [encoding - Use either UTF-8, UCS4 as array or UCS4 as string as input ('utf8' for UTF-8,
118 * by silently ignoring errors and returning the original input instead
165 function decode($input, $one_time_encoding = false)
180 $input = trim($input); variable
182 // Negotiate input and try to determine, whether it is a plain string,
184 if (strpos($input, '
198 $input = join('.', $arr); global() variable
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DIRI.php396 * @param string $input
399 protected function remove_dot_segments($input)
402 while (strpos($input, './') !== false || strpos($input, '/.') !== false || $input === '.' || $input === '..')
404 // A: If the input buffer begins with a prefix of "../" or "./", then remove that prefix from the input buffer; otherwise,
405 if (strpos($input, '../') === 0)
407 $input variable
411 $input = substr($input, 2); global() variable
416 $input = substr($input, 2); global() variable
420 $input = '/'; global() variable
425 $input = substr($input, 3); global() variable
430 $input = '/'; global() variable
436 $input = ''; global() variable
442 $input = substr_replace($input, '', 0, $pos); global() variable
447 $input = ''; global() variable
[all...]
H A DMisc.php298 * @param string $data Raw data in $input encoding
299 * @param string $input Encoding of $data
303 public static function change_encoding($data, $input, $output)
305 $input = SimplePie_Misc::encoding($input); variable
309 if ($input === 'US-ASCII')
323 if ($input === 'windows-1252' && $output === 'UTF-8')
328 elseif (function_exists('mb_convert_encoding') && ($return = SimplePie_Misc::change_encoding_mbstring($data, $input, $output)))
333 elseif (function_exists('iconv') && ($return = SimplePie_Misc::change_encoding_iconv($data, $input, $output)))
338 elseif (class_exists('\UConverter') && ($return = SimplePie_Misc::change_encoding_uconverter($data, $input,
351 $input = 'EUC-KR'; global() variable
359 $input = 'SJIS'; global() variable
[all...]
/dokuwiki/lib/tpl/dokuwiki/images/
H A Dpagetools-build.php22 // load input images
23 $input = glob('pagetools/*.png'); variable
24 sort($input);
25 $cnt = count($input);
27 die("No input images found. This script needs to be called from within the image directory!\n");
45 $IN = imagecreatefrompng($input[$i]);
51 $IN = imagecreatefrompng($input[$i]);
/dokuwiki/lib/scripts/
H A Dfileuploader.js310 onChange: function(input){
311 self._onInputChange(input);
372 _onInputChange: function(input){
374 this._uploadFileList(input.files);
376 if (this._validateFile(input)){
377 this._uploadFile(input);
406 // it is a file input
407 // get input value and remove path to normalize
758 // if set to true adds multiple attribute to file input
760 // name attribute of file input
[all...]

Completed in 12 milliseconds

12