| /dokuwiki/bin/ |
| H A D | gittool.php | 120 foreach ($extensions as $ext) { 121 $repo = $this->getSourceRepo($ext); 124 $this->error("could not find a repository for $ext"); 125 $errors[] = $ext; 126 } elseif ($this->cloneExtension($ext, $repo)) { 127 $succeeded[] = $ext; 129 $errors[] = $ext; 148 foreach ($extensions as $ext) { 149 $repo = $this->getSourceRepo($ext); 152 $this->info("could not find a repository for $ext"); [all …]
|
| /dokuwiki/inc/Cache/ |
| H A D | Cache.php | 16 public $ext = ''; // file ext for cache data, secondary identifier for this item variable in dokuwiki\\Cache\\Cache 32 * @param string $ext file extension 34 public function __construct($key, $ext) argument 37 $this->ext = $ext; 38 $this->cache = getCacheName($key, $ext); 214 if (isset($stats[$this->ext])) { 215 [$ext, $count, $hits] = explode(',', $stats[$this->ext]); 217 $ext = $this->ext; 226 $stats[$this->ext] = "$ext,$count,$hits";
|
| H A D | CacheImageMod.php | 17 * @param string $ext Image extension - no leading dot 20 public function __construct($file, $w, $h, $ext, $crop) argument 24 $fullext .= ".$ext";
|
| /dokuwiki/lib/plugins/extension/ |
| H A D | cli.php | 130 foreach ($local->getExtensions() as $ext) { 131 … if ($ext->isGitControlled() && !$gitOverwrite) continue; // skip git controlled extensions 132 if ($ext->isUpdateAvailable()) $extensions[] = $ext->getID(); 148 $ext = Extension::createFromId($extname); 152 $ext->enable(); 155 $ext->disable(); 158 $this->success(sprintf($this->getLang($msg), $ext->getID())); 181 $ext = Extension::createFromId($extname); 184 $installer->uninstall($ext); 185 $this->success(sprintf($this->getLang('msg_delete_success'), $ext->getID())); [all …]
|
| H A D | remote.php | 83 $ext = Extension::createFromId($extension); 84 $ext->enable(); 100 $ext = Extension::createFromId($extension); 101 $ext->disable(); 144 $ext = Extension::createFromId($extension); 146 $installer->uninstall($ext);
|
| H A D | Local.php | 19 $ext = Extension::createFromDirectory($dir); 20 $extensions[$ext->getId()] = $ext;
|
| H A D | action.php | 51 $ext = $INPUT->str('ext'); 52 if (!$ext) { 65 $extension = Extension::createFromId($ext);
|
| H A D | admin.php | 44 $ext = Extension::createFromId($extension); 49 $installer->installExtension($ext); 52 $installer->uninstall($ext); 55 $ext->enable(); 58 $ext->disable();
|
| H A D | GuiAdmin.php | 78 foreach ($plugins as $ext) { 79 $gui = new GuiExtension($ext); 111 foreach ($templates as $ext) { 112 $gui = new GuiExtension($ext); 207 foreach ($extensions as $ext) { 208 $gui = new GuiExtension($ext);
|
| /dokuwiki/inc/File/ |
| H A D | MediaFile.php | 14 protected $ext; variable in dokuwiki\\File\\MediaFile 32 [$this->ext, $this->mime, $this->downloadable] = mimetype($this->path, false); 73 return (string)$this->ext; 83 $ext = $this->getExtension(); 84 if ($ext === '') $ext = 'file'; 85 return preg_replace('/[^_\-a-z0-9]+/i', '_', $ext);
|
| /dokuwiki/lib/plugins/extension/_test/ |
| H A D | InstallerTest.php | 60 foreach ($list as $ext) { 61 $base = $ext->getBase(); 63 $this->assertEquals($expected[$base], $ext->getType(), 'extension type');
|
| /dokuwiki/inc/Extension/ |
| H A D | PluginTrait.php | 24 $ext = $parts[2]; 26 if (empty($ext)) { 31 $ext = strtok($ext, '_'); 34 'base' => $ext, 38 'name' => $ext . ' plugin',
|
| H A D | PluginInterface.php | 77 * @param string $ext The file extension (usually txt) 80 public function localFN($id, $ext = 'txt'); argument
|
| /dokuwiki/inc/ |
| H A D | confutils.php | 36 $ext = strrpos($file, '.'); 37 if ($ext === false) { 40 $ext = strtolower(substr($file, $ext + 1)); 41 if (!isset($mtypes[$ext])) { 45 return [$ext, 'application/octet-stream', true]; 48 if ($mtypes[$ext][0] == '!') { 49 return [$ext, substr($mtypes[$ext], 1), true]; 51 return [$ext, $mtypes[$ext], false];
|
| H A D | pageutils.php | 393 * @param string $ext file extension 396 function metaFN($id, $ext) argument 402 $fn = $conf['metadir'] . '/' . utf8_encodeFN($id) . $ext; 412 * @param string $ext extension of media 415 function mediaMetaFN($id, $ext) argument 421 $fn = $conf['mediametadir'] . '/' . utf8_encodeFN($id) . $ext; 464 $ext = mimetype($id); 465 $name = substr($id, 0, -1 * strlen($ext[0]) - 1); 466 … $fn = $conf['mediaolddir'] . '/' . utf8_encodeFN($name . '.' . ( (int) $rev ) . '.' . $ext[0]); 476 * @param string $ext The file extension (usually txt) [all …]
|
| H A D | cache.php | 14 public function __construct($key, $ext) argument 17 parent::__construct($key, $ext);
|
| H A D | media.php | 315 [$ext, $mime] = mimetype($id); 329 ['name' => $path, 'mime' => $mime, 'ext' => $ext], 447 [$ext, $mime] = mimetype($id); 452 $file['ext'] = $ext; 1483 [$ext] = mimetype(mediaFN($filename), false); 1485 if (file_exists(DOKU_INC . 'lib/images/fileicons/' . $size . '/' . $ext . '.png')) { 1486 $icon = DOKU_BASE . 'lib/images/fileicons/' . $size . '/' . $ext . '.png'; 1783 * @param string $ext extension 1789 function media_mod_image($file, $ext, $w, $h = 0, $crop = false) argument 1803 $cache = new CacheImageMod($file, $w, $h, $ext, $crop); [all …]
|
| /dokuwiki/ |
| H A D | composer.lock | 116 "ext-xml": "*", 297 … "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." 346 "ext-intl": "For proper locale aware output" 397 "ext-dom": "Install the DOM extension to load XML formatted public keys.", 398 …"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary prec… 399 …"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extensio… 400 …"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operati… 401 …"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic… 499 "ext-pcre": "*", 500 "ext-xml": "*", [all …]
|
| /dokuwiki/lib/exe/ |
| H A D | css.php | 357 foreach (['svg', 'png', 'gif'] as $ext) { 358 $file = 'lib/images/interwiki/' . $iw . '.' . $ext; 396 foreach ($exts as $ext) { 397 $class = preg_replace('/[^_\-a-z0-9]+/', '_', $ext); 399 echo ' background-image: url(' . DOKU_BASE . 'lib/images/fileicons/svg/' . $ext . '.svg)'; 520 $ext = unslash($match[4]); 528 $url = 'data:image/' . $ext . ';base64,' . $data;
|
| /dokuwiki/lib/scripts/ |
| H A D | media.js | 13 ext: false, property 237 if ({img: 1, swf: 1}[dw_mediamanager.ext] === 1) { 243 if (dw_mediamanager.link === "3" && dw_mediamanager.ext === 'img') { 245 } else if (dw_mediamanager.link === "2" && dw_mediamanager.ext === 'img') { 255 if (dw_mediamanager.ext === 'swf') { 690 var $link, id, dot, ext; 706 dw_mediamanager.ext = false; 714 ext = id.substr(dot); 716 if ({'.jpg': 1, '.jpeg': 1, '.png': 1, '.gif': 1, '.swf': 1}[ext] !== 1) { 726 if (ext === '.swf') { [all …]
|
| /dokuwiki/_test/ |
| H A D | composer.lock | 24 "ext-libxml": "*", 25 "ext-mbstring": "*", 236 "ext-pdo": "*", 237 "ext-phar": "*", 362 "ext-ctype": "*", 363 "ext-json": "*", 364 "ext-tokenizer": "*", 420 "ext-dom": "*", 421 "ext-libxml": "*", 422 "ext-phar": "*", [all …]
|
| /dokuwiki/vendor/splitbrain/php-jsstrip/ |
| H A D | composer.lock | 29 "ext-pdo": "*", 30 "ext-phar": "*", 154 "ext-dom": "*", 155 "ext-phar": "*", 156 "ext-xmlwriter": "*", 265 "ext-dom": "*", 266 "ext-xmlwriter": "*", 280 "ext-xdebug": "^2.7.2" 502 "ext-tokenizer": "*", 563 "ext-dom": "*", [all …]
|
| /dokuwiki/vendor/composer/ |
| H A D | ClassLoader.php | 489 * @param string $ext 492 private function findFileWithExtension($class, $ext) argument 495 $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; 528 $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
|
| /dokuwiki/vendor/splitbrain/slika/ |
| H A D | composer.lock | 29 "ext-pdo": "*", 30 "ext-phar": "*", 152 "ext-dom": "*", 153 "ext-phar": "*", 154 "ext-xmlwriter": "*", 316 "ext-filter": "*", 376 "ext-tokenizer": "*" 488 "ext-dom": "*", 489 "ext-xmlwriter": "*", 503 "ext-xdebug": "^2.7.2" [all …]
|
| /dokuwiki/_test/tests/inc/ |
| H A D | common_pageinfo.test.php | 151 $ext = '.txt'; 154 $ext .= "." . $conf['compression']; //.gz or .bz2 163 $info['filepath'] = str_replace('pages','attic',substr($filename,0,-3).$REV.$ext);
|