Home
last modified time | relevance | path

Searched refs:file (Results 76 – 100 of 162) sorted by path

1234567

/dokuwiki/inc/
H A Dparserutils.php67 * If $excuse is true an explanation is returned if the file
81 $file = wikiFN($id, $rev);
90 if (file_exists($file)) {
92 $ret = p_render('xhtml', p_get_instructions(io_readWikiPage($file, $id, $rev)), $info, $date_at);
96 } elseif (file_exists($file)) {
97 $ret = p_cached_output($file, 'xhtml', $id);
137 * Returns the given file parsed into the requested output format
139 * @param string $file filename, path to file
147 function p_cached_output($file, argument
187 p_cached_instructions($file, $cacheonly = false, $id = '') global() argument
[all...]
H A Dpreload.php.dist3 * This is an example for a farm setup. Simply copy this file to preload.php and
H A Dsearch.php18 * and calls the supplied function for each file and directory
44 while (($file = readdir($dh)) !== false) {
45 if (preg_match('/^[\._]/', $file)) continue; //skip hidden files and upper dirs
46 if (is_dir($base . '/' . $dir . '/' . $file)) {
47 $dirs[] = $dir . '/' . $file;
50 $files[] = $dir . '/' . $file;
51 $filepaths[] = $base . '/' . $dir . '/' . $file;
70 foreach ($files as $file) {
71 call_user_func_array($func, [&$data, $base, $file, 'f', $lvl, $opts]);
77 * function above. This function is called for every found file o
108 search_qsearch(& $data, $base, $file, $type, $lvl, $opts) global() argument
133 search_index(& $data, $base, $file, $type, $lvl, $opts) global() argument
162 search_namespaces(& $data, $base, $file, $type, $lvl, $opts) global() argument
188 search_media(& $data, $base, $file, $type, $lvl, $opts) global() argument
255 search_mediafiles(& $data, $base, $file, $type, $lvl, $opts) global() argument
302 search_list(& $data, $base, $file, $type, $lvl, $opts) global() argument
333 search_pagename(& $data, $base, $file, $type, $lvl, $opts) global() argument
371 search_allpages(& $data, $base, $file, $type, $lvl, $opts) global() argument
487 search_universal(& $data, $base, $file, $type, $lvl, $opts) global() argument
[all...]
H A Dtemplate.php24 * Access a template file
26 * Returns the path to the given file inside the current template, uses
29 * @param string $file
34 function template($file)
38 if (@is_readable(DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file))
39 return DOKU_INC . 'lib/tpl/' . $conf['template'] . '/' . $file;
41 return DOKU_INC . 'lib/tpl/dokuwiki/' . $file;
85 * Everything that doesn't use the main template file isn't
1134 * Returns metadata as configured in mediameta config file, ready for creating html
1312 $file
23 template($file) global() argument
1699 tpl_includeFile($file) global() argument
[all...]
/dokuwiki/
H A Dinstall.php494 * Write the given content to a file
523 * unmodified main config file
543 foreach ($config_files as $file) {
544 if (file_exists($file) && filesize($file)) {
545 $file = str_replace($_SERVER['DOCUMENT_ROOT'], '{DOCUMENT_ROOT}/', $file);
546 $error[] = sprintf($lang['i_confexists'], $file);
555 * Check other installation dir/file permission requirements
629 'file file_exist
[all...]
/dokuwiki/lib/exe/
H A Dcss.php157 foreach ($cssData['files'] as $file => $location) {
158 $display = str_replace(fullpath(DOKU_INC), '', fullpath($file));
160 echo css_loadfile($file, $location);
226 // try to use line number to find affected file
263 * the ones defined in a templates style.ini file
325 // print the default classes for interwiki links and file downloads
358 $file = 'lib/images/interwiki/' . $iw . '.' . $ext;
360 if (file_exists(DOKU_INC . $file)) {
362 echo ' background-image: url(' . DOKU_BASE . $file . ')';
371 * Prints classes for file downloa
394 css_loadfile($file, $location = '') global() argument
410 __construct($file) global() argument
[all...]
H A Djquery.php39 foreach ($files as $file) {
40 $js .= file_get_contents($file) . "\n";
H A Djs.php128 foreach ($files as $file) {
129 if (!file_exists($file)) continue;
130 $ismin = str_ends_with($file, '.min.js');
131 $debugjs = ($conf['allowdebug'] && strpos($file, DOKU_INC . 'lib/scripts/') !== 0);
133 echo "\n\n/* XXXXXXXXXX begin of " . str_replace(DOKU_INC, '', $file) . " XXXXXXXXXX */\n\n";
136 js_load($file);
137 if ($debugjs) echo "\n} catch (e) {\n logError(e, '" . str_replace(DOKU_INC, '', $file) . "');\n}\n";
139 echo "\n\n/* XXXXXXXXXX end of " . str_replace(DOKU_INC, '', $file) . " XXXXXXXXXX */\n\n";
171 * Load the given file, handle include calls and print it
173 * @param string $file filenam
175 js_load($file) global() argument
[all...]
/dokuwiki/lib/images/fileicons/
H A DREADME2 https://github.com/splitbrain/file-icon-generator/blob/master/example-dokuwiki.php
/dokuwiki/lib/plugins/acl/
H A Dadmin.php68 $AUTH_ACL = file($config_cascade['acl']['default']);
131 // handle update of the whole file
166 $AUTH_ACL = file($config_cascade['acl']['default']);
317 // if one of the components is the last component and is a file
319 // the file has to come after the deeper level or directory
/dokuwiki/lib/plugins/authldap/
H A Dauth.php695 * @param string $file
698 protected function debug($message, $err, $line, $file)
701 msg($message, $err, $line, $file);
697 debug($message, $err, $line, $file) global() argument
/dokuwiki/lib/plugins/authpdo/
H A DREADME27 See the COPYING file in your DokuWiki folder for details
/dokuwiki/lib/plugins/authplain/
H A Dauth.php99 * in the file database
384 * loads the user file into a datastructure
405 * Read user data from given file argument
409 * @param string $file the file to load data from
412 protected function readUserFile($file)
415 if (!file_exists($file)) return $users;
417 $lines = file($file);
449 Logger::error('User line with less than 5 fields. Possibly corruption in your user file',
[all...]
/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php6 * A naive PHP file parser
8 * This parses our very simple config file in PHP format. We use this instead of simply including
9 * the file, because we want to keep expressions such as 24*60*60 as is.
15 /** @var string variable to parse from the file */
21 * Parse the given PHP file into an array
25 * @param string $file
28 public function parse($file)
30 if (!file_exists($file)) return [];
33 $contents = @php_strip_whitespace($file);
35 // fallback to simply including the file #327
27 parse($file) global() argument
[all...]
H A DLoader.php41 * Reads the main file, plugins and template settings meta data
47 // load main file
79 * Reads the main file, plugins and template defaults
186 foreach ($files as $file) {
187 $conf = array_merge($conf, $this->parser->parse($file));
193 * Read settings file from an extension
197 * @param string $file php file to read
202 protected function loadExtensionMeta($file, $type, $extname)
204 if (!file_exists($file)) retur
195 loadExtensionMeta($file, $type, $extname) global() argument
225 loadExtensionConf($file, $type, $extname) global() argument
[all...]
H A DWriter.php9 * Writes the settings to the correct local file
16 /** @var string the file where the config will be saved to */
39 // backup current file (remove any existing backup)
69 * Update last modified time stamp of the config file
83 * Invalidate the opcache of the given file (if possible) argument
86 * @param string $file
88 protected function opcacheUpdate($file)
94 opcache_invalidate($file);
100 * or the directory its in is not writable or the file exists and is not writable
113 * Returns the PHP intro header for the config file
[all...]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingDirchoice.php24 $file = (is_link($this->dir . $entry)) ? readlink($this->dir . $entry) : $this->dir . $entry;
25 if (is_dir($file)) $list[] = $entry;
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php647 * @param string $field name of the upload file
771 * Purge the cache by touching the main configuration file
824 * Save the given URL and current datetime in the manager.dat file of all installed extensions
856 * Read the manager.dat file
862 $file = @file($managerpath);
863 if (!empty($file)) {
864 foreach ($file as $line) {
877 * Write the manager.data file
905 * downloads a file fro
901 downloadToFile($url, $file, $defaultName = '') global() argument
986 installArchive($file, $overwrite = false, $base = '') global() argument
1175 decompress($file, $target) global() argument
1218 guessArchiveType($file) global() argument
[all...]
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php201 [$dt, $file, $msg] = sexplode("\t", $line, 3, '');
206 echo '<span class="file">' . hsc($file) . '</span>';
H A Dstyle.less39 span.file {
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php20 * Name of the file which determine if the the autosubmit is enabled,
31 * Name of the file which determine when the popularity data was manually
33 * (If this file doesn't exist, the data has never been sent)
108 * Initialize an empty list to be used in file traversing
226 $list = (array) @file($conf['metadir'] . '/_dokuwiki.changes');
284 * @param string $file current file or directory relative to $base
285 * @param string $type Type either 'd' for directory or 'f' for file
290 public function searchCountCallback(&$data, $base, $file, $type, $lvl, $opts)
300 if ($opts['all'] || str_ends_with($file, '
289 searchCountCallback(& $data, $base, $file, $type, $lvl, $opts) global() argument
[all...]
/dokuwiki/lib/plugins/popularity/lang/it/
H A Dintro.txt7 I dati raccolti contengono informazioni come la versione di DokuWiki, il numero e le dimensioni delle pagine e dei file, i plugin installati e informazioni sulla versione di PHP presente nel sistema.
/dokuwiki/lib/plugins/safefnrecode/
H A Daction.php61 while (($file = readdir($dh)) !== false) {
62 if ($file == '.' || $file == '..') continue; # cur and upper dir
63 if (is_dir("$dir/$file")) $this->recode("$dir/$file"); #recurse
64 if (strpos($file, '%') === false) continue; # no encoding used
65 $new = preg_replace('/(%[^\]]*?)\./', '\1]', $file); # new post indicator
67 rename("$dir/$file", "$dir/$new"); # rename it
/dokuwiki/lib/plugins/styling/
H A DREADME27 See the COPYING file in your DokuWiki folder for details
/dokuwiki/lib/plugins/styling/lang/en/
H A Dintro.txt2 All changes are stored in a local configuration file and are upgrade safe

1234567