Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 21 of 21) sorted by relevance

/dokuwiki/inc/
H A Dmail.php52 $replace = array();
54 $replace['@MAIL@'] = $USERINFO['mail'];
56 $replace['@MAIL@'] = $noreply;
60 $replace['@USER@'] = $INPUT->server->str('REMOTE_USER', 'noreply', true);
63 $replace['@NAME@'] = $USERINFO['name'];
65 $replace['@NAME@'] = '';
69 $from = str_replace(array_keys($replace),
70 array_values($replace),
H A Dutf8.php270 function utf8_bad_replace($str, $replace = '') argument
273 return Clean::replaceBadBytes($str, $replace);
H A Dio.php336 $replace = $regex ? $newline : addcslashes($newline, '\$');
345 $lines[$i] = preg_replace($pattern, $replace, $line, -1, $matched);
355 $lines = preg_replace($pattern, $replace, $lines);
H A Dcommon.php1468 * @param string[] $replace Additional string substitutions, @KEY@ to be replaced by value
1474 function notify($id, $who, $rev = '', $summary = '', $minor = false, $replace = array(), $current_r… argument
1487 … $data = array('id' => $id, 'addresslist' => '', 'self' => false, 'replacements' => $replace);
/dokuwiki/lib/scripts/
H A Dhelpers.js12 function substr_replace(str, replace, start, length) { argument
21 return str.substring(0, a2) + replace + str.substring(b1);
H A Dqsearch.js132 var start, length, replace, nsL, nsR, eli, runaway;
155 replace = '';
160 replace = '…';
163 replace, start, length);
H A Dfileuploaderextended.js61 fileName = fileName.replace(/([ !"#$%&\'()+,\/;<=>?@[\]^`{|}~:]+)/g, '_');
62 fileName = fileName.replace(/^_+/,'');
212 return file.value.replace(/.*(\/|\\)/, "");
H A Dtextselection.js84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length;
H A Dfileuploader.js140 element.className = element.className.replace(re, ' ').replace(/^\s+|\s+$/g, "");
238 .replace(/^&/, '')
239 .replace(/%20/g, '+');
408 name = file.value.replace(/.*(\/|\\)/, "");
436 function r(name, replacement){ message = message.replace(name, replacement); }
452 var ext = (-1 !== fileName.indexOf('.')) ? fileName.replace(/.*[.]/, '').toLowerCase() : '';
980 return this._inputs[id].value.replace(/.*(\/|\\)/, "");
H A Dbehaviour.js145 alert(LANG.nosmblinks.replace(/\\n/,"\n"));
H A Dtoolbar.js276 return str.replace(/\\n/g,"\n");
H A Dlinkwiz.js271 entry_value = dw_linkwiz.$entry.val().replace(/[^:]*$/, '')
H A Dmedia.js273 cb = cb ? cb[1].replace(/[^\w]+/, '') : 'dw_mediamanager_item_select';
725 … jQuery(document.getElementById('ex_' + id.replace(/:/g, '_').replace(/^_/, ''))).dw_toggle();
/dokuwiki/inc/Utf8/
H A DClean.php111 * @param string $replace to replace bad bytes with (defaults to '?') - use ASCII
114 public static function replaceBadBytes($str, $replace = '') argument
131 echo $replace;
/dokuwiki/lib/scripts/jquery/
H A Djquery.cookie.js38 s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
45 s = decodeURIComponent(s.replace(pluses, ' '));
H A Djquery.min.js2replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject…
H A Djquery-ui.min.js13 …})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href").replace(/#.*$/,""),before…
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DCLI.php349 $replace = array();
353 $replace['{' . $key . '}'] = $val;
358 return strtr($message, $replace);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DX509.php4388 * @param bool $replace optional
4393 function _setExtension($id, $value, $critical = false, $replace = true, $path = null) argument
4405 if (!$replace) {
4463 * @param bool $replace optional
4467 function setExtension($id, $value, $critical = false, $replace = true) argument
4469 return $this->_setExtension($id, $value, $critical, $replace);
5022 * @param bool $replace optional
5026 … function setRevokedCertificateExtension($serial, $id, $value, $critical = false, $replace = true) argument
5031 …return $this->_setExtension($id, $value, $critical, $replace, "tbsCertList/revokedCertificates/$i/…
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php3319 $replace = $this->_hmr_replace;
3328 $replace = str_replace($search, $matches, $replace);
3330 $replace = $matches[0];
3334 . str_replace("\n", "|>\n<|!REG3XP" . $this->_hmr_key . '!>', $replace)
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php424 protected function expandParentSelectors(&$tag, $replace) { argument
428 $part = str_replace($this->parentSelector, $replace, $part, $c);