Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 17 of 17) sorted by path

/dokuwiki/inc/Search/
H A DIndexer.php980 if (!file_exists($fn)) return array();
981 return file($fn, FILE_IGNORE_NEW_LINES);
997 $fh = @fopen($fn.'.tmp', 'w');
1004 chmod($fn.'.tmp', $conf['fperm']);
1005 io_rename($fn.'.tmp', $fn.'.idx');
1022 if (!file_exists($fn)) return '';
1023 $fh = @fopen($fn, 'r');
1049 $fh = @fopen($fn.'.tmp', 'w');
1051 $ih = @fopen($fn.'.idx', 'r');
1071 chmod($fn.'.tmp', $conf['fperm']);
[all …]
/dokuwiki/inc/
H A DTaskRunner.php105 if (file_exists($fn) &&
108 @touch($fn . '.trimmed');
109 io_lock($fn);
110 $lines = file($fn);
113 io_unlock($fn);
139 @unlink($fn . '_tmp');
140 io_unlock($fn);
164 @unlink($fn);
165 if (!rename($fn . '_tmp', $fn)) {
167 io_unlock($fn);
[all …]
H A Dchangelog.php398 $fn = (($flags & RECENTS_MEDIA_CHANGES) ? mediaFN($recent['id']) : wikiFN($recent['id']));
399 if(!file_exists($fn)) return false;
H A Dconfutils.php290 * @param callback $fn the function used to process the configuration file into an array
299 function retrieveConfig($type,$fn,$params=null,$combine='array_merge') { argument
310 $config = call_user_func_array($fn,array_merge(array($file),$params));
H A Dindexer.php255 $fn = $conf['indexdir'].'/'.$idx.$suffix.'.idx';
256 if (!file_exists($fn)) return array();
257 return file($fn);
H A Dmedia.php434 $fn = mediaFN($id);
452 $overwrite = file_exists($fn);
470 $data[1] = $fn;
505 * @param string $fn
517 $old = @filemtime($fn);
526 $filesize_old = file_exists($fn) ? filesize($fn) : 0;
528 if($move($fn_tmp, $fn)) {
529 @clearstatcache(true,$fn);
530 $new = @filemtime($fn);
534 chmod($fn, $conf['fmode']);
[all …]
H A Dpageutils.php313 if (file_exists($fn . '.gz')){
314 $fn .= '.gz';
315 }else if(file_exists($fn . '.bz2')){
316 $fn .= '.bz2';
319 $fn .= '.' . $conf['compression'];
325 $cache[$id][$rev] = $fn;
326 return $fn;
356 $fn = $conf['metadir'].'/'.utf8_encodeFN($id).$ext;
357 return $fn;
374 return $fn;
[all …]
H A Dtemplate.php864 $fn = $INFO['filepath'];
867 $fn = str_replace($conf['olddir'].'/', '', $fn);
869 $fn = str_replace($conf['datadir'].'/', '', $fn);
872 $fn = utf8_decodeFN($fn);
878 $out .= '<bdi>'.$fn.'</bdi>';
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php120 $fn = $INPUT->param('fn');
122 if (is_array($fn)) {
123 $cmd = key($fn);
124 $param = is_array($fn[$cmd]) ? key($fn[$cmd]) : null;
126 $cmd = $fn;
/dokuwiki/lib/scripts/
H A Dbehaviour.js8 jQuery.fn.dw_hide = function(fn, noaria) { argument
10 return this.slideUp('fast', fn);
20 jQuery.fn.dw_show = function(fn, noaria) { argument
22 return this.slideDown('fast', fn);
32 jQuery.fn.dw_toggle = function(state, fn, noaria) { argument
38 $this[state ? "dw_show" : "dw_hide" ](fn, noaria);
H A Dfileuploader.js53 qq.attach = function(element, type, fn){ argument
55 element.addEventListener(type, fn, false);
57 element.attachEvent('on' + type, fn);
60 qq.detach = function(element, type, fn){ argument
62 element.removeEventListener(type, fn, false);
64 element.detachEvent('on' + type, fn);
H A Dqsearch.js9 jQuery.fn.dw_qsearch = function (overrides) {
H A Dtree.js1 jQuery.fn.dw_tree = function(overrides) {
/dokuwiki/lib/scripts/jquery/
H A Djquery-ui.min.js6fn[e]=function(n){var o="string"==typeof n,a=l.call(arguments,1),r=this;return o?this.length||"ins… function
7fn.show),hide:function(t){return function(s){if(i(s))return t.apply(this,arguments);var n=e.apply(…
H A Djquery.min.js2fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"=… function
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_footnotes.css24 .dokuwiki div.footnotes div.fn {
26 .dokuwiki div.footnotes div.fn div.content {
29 .dokuwiki div.footnotes div.fn sup a.fn_bot {
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DItem.php207 * @param string|false $fn User-supplied function to generate an hash
210 public function get_id($hash = false, $fn = 'md5') argument
239 if ($fn === false)
243 elseif (!is_callable($fn))
246 $fn = 'md5';
248 return call_user_func($fn,