/plugin/mediasyntax/syntax/ |
H A D | media.php | 47 $filename=preg_replace("/\|.*$/","",$start); // e.g. foo.png 48 $extension=preg_replace("/.*\./","",$filename); // e.g. png 57 $renderer->doc.= '<img src="'.DOKU_BASE.'lib/exe/fetch.php?media='.$filename.'" width='.$pipe.' />'; 61 $renderer->doc.= '<a href="'.DOKU_BASE.'lib/exe/fetch.php?media='.$filename.'">File:'.$filename.'</a>';
|
/plugin/mediasyntax/tools/ |
H A D | dokuwiki2mediawiki.php | 9 // filename: not only one file name! 27 $filename=$argv[$argument]; variable 28 $inputfile=fopen($filename,"r"); 236 $outputfile=fopen($filename.".mod","w");
|
/plugin/mermaid/ |
H A D | mermaid.min.js | 70 `:i===118?"\v":i===102?"\f":i===114?"\r":i===101?"\x1B":i===32?" ":i===34?'"':i===47?"/":i===92?"\\":i===78?"
":i===95?" ":i===76?"\u2028":i===80?"\u2029":""}function xBe(i){return i<=65535?String.fromCharCode(i):String.fromCharCode((i-65536>>10)+55296,(i-65536&1023)+56320)}for(var $Bt=new Array(256),zBt=new Array(256),dD=0;dD<256;dD++)$Bt[dD]=jBt(dD)?1:0,zBt[dD]=jBt(dD);function kBe(i,a){this.input=i,this.filename=a.filename||null,this.schema=a.schema||dBe,this.onWarning=a.onWarning||null,this.legacy=a.legacy||!1,this.json=a.json||!1,this.listener=a.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=i.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function qBt(i,a){var f={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};return f.snippet=uFe(f),new Ox(a,f)}function Ks(i,a){throw qBt(i,a)}function EY(i,a){i.onWarning&&i.onWarning.call(null,qBt(i,a))}var HBt={YAML:function(a,f,g){var w,v,b;a.version!==null&&Ks(a,"duplication of %YAML directive"),g.length!==1&&Ks(a,"YAML directive accepts exactly one argument"),w=/^([0-9]+)\.([0-9]+)$/.exec(g[0]),w===null&&Ks(a,"ill-formed argument of the YAML directive"),v=parseInt(w[1],10),b=parseInt(w[2],10),v!==1&&Ks(a,"unacceptable YAML version of the document"),a.version=g[0],a.checkLineBreaks=b<2,b!==1&&b!==2&&EY(a,"unsupported YAML version of the document")},TAG:function(a,f,g){var w,v;g.length!==2&&Ks(a,"TAG directive accepts exactly two arguments"),w=g[0],v=g[1],FBt.test(w)||Ks(a,"ill-formed tag handle (first argument) of the TAG directive"),m8.call(a.tagMap,w)&&Ks(a,'there is a previously declared suffix for "'+w+'" tag handle'),BBt.test(v)||Ks(a,"ill-formed tag prefix (second argument) of the TAG directive");try{v=decodeURIComponent(v)}catch{Ks(a,"tag prefix is malformed: "+v)}a.tagMap[w]=v}};function v8(i,a,f,g){var w,v,b,E;if(a<f){if(E=i.input.slice(a,f),g)for(w=0,v=E.length;w<v;w+=1)b=E.charCodeAt(w),b===9||32<=b&&b<=1114111||Ks(i,"expected valid JSON character");else pBe.test(E)&&Ks(i,"the stream contains non-printable characters");i.result+=E}}function VBt(i,a,f,g){var w,v,b,E;for(tp.isObject(f)||Ks(i,"cannot merge mappings; the provided source object is unacceptable"),w=Object.keys(f),b=0,E=w.length;b<E;b+=1)v=w[b],m8.call(a,v)||(a[v]=f[v],g[v]=!0)}function gD(i,a,f,g,w,v,b,E,S){var _,M;if(Array.isArray(w))for(w=Array.prototype.slice.call(w),_=0,M=w.length;_<M;_+=1)Array.isArray(w[_])&&Ks(i,"nested arrays are not supported inside keys"),typeof w=="object"&&RBt(w[_])==="[object Object]"&&(w[_]="[object Object]");if(typeof w=="object"&&RBt(w)==="[object Object]"&&(w="[object Object]"),w=String(w),a===null&&(a={}),g==="tag:yaml.org,2002:merge")if(Array.isArray(v))for(_=0,M=v.length;_<M;_+=1)VBt(i,a,v[_],f);else VBt(i,a,v,f);else!i.json&&!m8.call(f,w)&&m8.call(a,w)&&(i.line=b||i.line,i.lineStart=E||i.lineStart,i.position=S||i.position,Ks(i,"duplicated mapping key")),w==="__proto__"?Object.defineProperty(a,w,{configurable:!0,enumerable:!0,writable:!0,value:v}):a[w]=v,delete f[w];return a}function Kgt(i){var a;a=i.input.charCodeAt(i.position),a===10?i.position++:a===13?(i.position++,i.input.charCodeAt(i.position)===10&&i.position++):Ks(i,"a line break is expected"),i.line+=1,i.lineStart=i.position,i.firstTabInLine=-1}function c1(i,a,f){for(var g=0,w=i.input.charCodeAt(i.position);w!==0;){for(;C9(w);)w===9&&i.firstTabInLine===-1&&(i.firstTabInLine=i.position),w=i.input.charCodeAt(++i.position);if(a&&w===35)do w=i.input.charCodeAt(++i.position);while(w!==10&&w!==13&&w!==0);if(r4(w))for(Kgt(i),w=i.input.charCodeAt(i.position),g++,i.lineIndent=0;w===32;)i.lineIndent++,w=i.input.charCodeAt(++i.position);else break}return f!==-1&&g!==0&&i.lineIndent<f&&EY(i,"deficient indentation"),g}function TY(i){var a=i.position,f;return f=i.input.charCodeAt(a),!!((f===45||f===46)&&f===i.input.charCodeAt(a+1)&&f===i.input.charCodeAt(a+2)&&(a+=3,f=i.input.charCodeAt(a),f===0||sb(f)))}function Wgt(i,a){a===1?i.result+=" ":a>1&&(i.result+=tp.repeat(`
[all...] |
/plugin/mikioplugin/ |
H A D | action.php | 68 $filename = strtolower($value); 69 if (substr($filename, -5) == '.less' || substr($filename, -4) == '.css') { 70 $stylesheets[] = DOKU_BASE . $filename;
|
/plugin/navbox/ |
H A D | syntax.php | 182 foreach (glob($dir.'/*.txt') as $filename) { 184 $links .= '[['.str_replace('/', ':', substr($filename, 13, -4)).']]';
|
/plugin/nsexport/packer/ |
H A D | packer.php | 62 $filename = $this->result_filename(); 63 if (!is_file($filename)) { 72 header('Content-Length: ' . filesize($filename)); 79 $fh = @fopen($filename, 'rb'); 84 @unlink($filename);
|
/plugin/nsexport/packer/ziphtml/ |
H A D | packer.php | 127 * @param string $filename filename to store 130 public function _addFile($filename, $content) { argument 131 $filename = $this->tmp . "/$filename"; 132 io_makeFileDir($filename); 133 file_put_contents($filename , $content);
|
H A D | zip.php | 29 public function _addFile($filename, $content) { argument 30 $filename = $this->tmp . "/$filename"; 31 io_makeFileDir($filename); 32 file_put_contents($filename , $content); 186 $filename = $conf['tmpdir'].'/offline-'.time().rand(0,99999).'.zip'; 187 $this->zip = $filename; 188 $zfn = preg_replace('/^([a-z]{1}):/i','$1:\\',$filename);
|
/plugin/odp/ |
H A D | ZipLib.class.php | 68 while (false !== ($filename = readdir($dir))) { 69 if ($filename != "." && $filename != "..") { 70 if (is_dir($full_path."/".$filename)) { 71 $this->Compress($filename, $basedir, $zip_path); 73 $content = join('', file($full_path.'/'.$filename)); 74 $this->add_File($content, $zip_path.$filename);
|
H A D | renderer.php | 921 function file($text, $language=null, $filename=null) { argument 938 function code($text, $language=null, $filename=null) { argument
|
/plugin/odt/ODT/ |
H A D | ODTDefaultStyles.php | 213 * @param string $filename 216 function getMissingFonts($filename) { argument 218 $existing_styles = io_readFile($filename);
|
/plugin/odt/ODT/css/ |
H A D | cssimportnew.php | 1014 * @param string $filename 1017 function importFromFile($filename) { argument 1019 if ( empty($filename) ) { 1023 $handle = fopen($filename, "rb"); 1028 $contents = fread($handle, filesize($filename));
|
/plugin/odt/action/ |
H A D | export.php | 444 $filename = wikiFN($page, $REV); 446 if(!file_exists($filename)) { 451 … $xmlcontent .= p_render('odt_book', p_cached_instructions($filename, false, $page), $info); 475 $filename = rawurlencode(cleanID(strtr($title, ':/;"', ' '))); 477 header('Content-Disposition: attachment; filename="' . $filename . '.odt";'); 479 header('Content-Disposition: inline; filename="' . $filename . '.odt";');
|
/plugin/odt/helper/ |
H A D | cssimport.php | 1102 function importFrom($filename) { argument 1104 $this->importFromFile($filename); 1229 function importFromFile($filename) { argument 1231 if ( empty($filename) ) { 1235 $handle = fopen($filename, "rb"); 1240 $contents = fread($handle, filesize($filename)); 1253 function loadReplacements($filename) { argument 1255 if ( empty($filename) ) { 1259 $handle = fopen($filename, "rb"); 1264 $filesize = filesize($filename);
|
H A D | cssimportnew.php | 58 function importFromFile($filename) { argument 59 return $this->internal->importFromFile($filename);
|
/plugin/odt/renderer/ |
H A D | page.php | 1018 * @param string $filename file path label 1020 function file($text, $language=null, $filename=null, $options=null) { argument 1037 * @param string $filename file path label 1039 function code($text, $language=null, $filename=null, $options=null) { argument
|
/plugin/openid/Auth/OpenID/ |
H A D | FileStore.php | 220 if (@rename($tmp, $filename)) { 225 @unlink($filename); 271 $name = basename($filename); 313 * @param string $filename 316 function _getAssociation($filename) argument 421 $filename = $this->nonce_dir . DIRECTORY_SEPARATOR . $filename; 629 $filename = ""; 635 $filename .= $c; 640 return $filename; 648 * @param string $filename [all …]
|
/plugin/openlayersmap/ |
H A D | StaticMap.php | 112 * GPX filename 114 * KML filename 266 $filename = $this->mapCacheIDToFilename(); 267 return file_exists($filename); 459 $filename = $this->tileUrlToFilename($url); 460 if (file_exists($filename)) { 461 return file_get_contents($filename); 483 $filename = $this->tileUrlToFilename($url); 484 $this->mkdirRecursive(dirname($filename), 0777); 485 file_put_contents($filename, [all...] |
/plugin/orphanmedia/ |
H A D | README | 20 * Found media filename references
|
/plugin/orphanmedia2/ |
H A D | README | 20 * Found media filename references
|
H A D | dokuwiki-plugin-page.md | 78 displaying some filename and path info without any effect to your source.
|
/plugin/page4release/ |
H A D | action.php | 26 $filename = array_pop(explode(':',$ID)); 28 if ((is_array($page4release)) && (array_key_exists($filename, $page4release))) { 30 …if ( (array_key_exists($ID,$page4release[$filename]) && ($page4release[$filename][$ID] != $rele… 31 || (!array_key_exists($ID,$page4release[$filename]) && ($release)) 37 foreach ($page4release[$filename] as $otherId=>$otherRelease) { 44 $page4release[$filename][$ID] = $release; 47 unset($page4release[$filename][$ID]); 50 $page4release[$filename] = array($ID => $release);
|
H A D | rebuildindex.php | 37 $filename = array_pop(explode(':',$page['id'])); variable 40 echo "\t$filename {{pour $release}}\n"; 41 $page4release[$filename][$page['id']] = $release; 48 foreach ($page4release as $filename => $pages) { 50 echo $filename.': [['.join(']], [[',$pagesID)."]]\n";
|
H A D | syntax.php | 50 $filename = array_pop(explode(':',$ID)); 51 if (isset($page4release[$filename])) { 52 foreach ($page4release[$filename] as $otherId=>$otherRelease) {
|
/plugin/pagestat/ |
H A D | remote.php | 252 $filename=end(explode(":",$pageid)); 256 <code - $filename.srt>
|