/dokuwiki/inc/ |
D | fetch.functions.php | 143 * @param string $media reference to the media id 150 function checkFileStatus(&$media, &$file, $rev = '', $width = 0, $height = 0) argument 155 if (media_isexternal($media)) { 157 if (media_get_token($media, $width, $height) !== $INPUT->str('tok')) { 161 if (str_starts_with($MIME, 'image/')) $file = media_get_from_URL($media, $EXT, $CACHE); 164 return [302, $media]; 167 $media = cleanID($media); 168 if (empty($media)) { 172 … if (($width || $height) && media_get_token($media, $width, $height) !== $INPUT->str('tok')) { 177 if (auth_quickaclcheck(getNS($media) . ':X') < AUTH_READ) { [all …]
|
D | Mailer.class.php | 132 $media = cleanID($matches[1]); 133 [, $mime] = mimetype($media); 134 $file = mediaFN($media); 462 foreach ($this->attach as $media) { 463 $media['name'] = str_replace(':', '_', cleanID($media['name'], true)); 469 if ($media['embed']) { 470 … $this->html = str_replace('%%' . $media['embed'] . '%%', 'cid:' . $cid, $this->html); 474 … $mime .= $this->wrappedHeaderLine('Content-Type', $media['mime'] . '; id="' . $cid . '"'); 477 if ($media['embed']) { 478 … $mime .= $this->wrappedHeaderLine('Content-Disposition', 'inline; filename=' . $media['name']); [all …]
|
D | indexer.php | 183 if (($media = p_get_metadata($page, 'relation media', METADATA_RENDER_UNLIMITED)) !== null) 184 $metadata['relation_media'] = array_keys($media);
|
D | pageutils.php | 562 function resolve_mediaid($ns, &$media, &$exists, $rev = '', $date_at = false) argument 566 $media = $resolver->resolveId($media, $rev, $date_at); 567 $exists = media_exists($media, $rev, false, $date_at);
|
D | html.php | 538 * @param bool $media If it is for media files 543 function html_diff_head($l_rev, $r_rev, $id = null, $media = false, $inline = false) argument
|
/dokuwiki/inc/Remote/ |
D | ApiCore.php | 823 * @param string $media file id 831 public function getMedia($media, $rev = 0) argument 833 $media = cleanID($media); 834 if (auth_quickaclcheck($media) < AUTH_READ) { 839 if ($this->isCurrentMediaRev($media, $rev)) { 843 $file = mediaFN($media, $rev); 859 * @param string $media file id 868 public function getMediaInfo($media, $rev = 0, $author = false, $hash = false) argument 870 $media = cleanID($media); 871 if (auth_quickaclcheck($media) < AUTH_READ) { [all …]
|
/dokuwiki/_test/tests/lib/exe/ |
D | fetch_imagetoken.test.php | 5 private $media = 'wiki:dokuwiki-128.png'; variable in fetch_imagetoken_test 11 if (!file_exists(mediaFN($this->media))) { 35 return '/lib/exe/fetch.php?'.$w.$h.'{%token%}media='.$this->media; 50 $valid_token = 'tok='.media_get_token($this->media, $this->width, $this->height).'&'; 86 $bytes = filesize(mediaFN($this->media));
|
D | fetch_statuscodes_external.test.php | 8 …private $media = 'http://www.google.com/images/srpr/logo3w.png'; //used in media_get_from_url test… variable in fetch_statuscodes_external_test 34 return '/lib/exe/fetch.php?'.$w.$h.'{%token%}media='.rawurlencode($this->media);
|
/dokuwiki/lib/tpl/dokuwiki/css/ |
D | mobile.less | 8 /* for detecting media queries in JavaScript (see script.js): */ 16 @media only screen and (max-width: @ini_tablet_width) { 19 z-index: 1; /* for detecting media queries in JavaScript (see script.js) */ 104 /* enable horizontal scrolling in media manager */ 138 } /* /@media */ 143 @media only screen and (max-width: @ini_phone_width) { 146 z-index: 2; /* for detecting media queries in JavaScript (see script.js) */ 319 } /* /@media */ 324 @media only screen and (max-height: 400px) { 332 } /* /@media */
|
D | _modal.css | 74 /* media option wizard (opens when inserting media in the media popup)
|
D | _media_popup.css | 2 * This file provides styles for the media manager popup 153 /* link which inserts media file */ 169 /* info how to insert media, if JS disabled */ 195 /*____________ media search ____________*/
|
D | _links.css | 55 /* link to some embedded media */
|
D | _recent.css | 8 /* select type of revisions (media/pages) */
|
D | _fileuploader.css | 3 * used in the media manager (both fullscreen and popup).
|
D | _search.less | 15 /* "nothing found" at search + media */
|
D | print.css | 91 img.media {
|
/dokuwiki/ |
D | .htaccess.dist | 25 #RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L,B] 26 #RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L,B]
|
D | .gitignore | 37 /data/media/*
|
/dokuwiki/lib/plugins/acl/ |
D | admin.php | 281 $media = []; 282 … search($media, $conf['mediadir'], 'search_index', ['ns' => $folder, 'nofiles' => true], $limit); 283 $data = array_merge($data, $media); 284 unset($media);
|
/dokuwiki/lib/styles/ |
D | screen.css | 71 /* media manager popup toggle buttons */
|
/dokuwiki/_test/tests/inc/ |
D | common_ml.test.php | 107 $expect = DOKU_BASE.$this->script.'?tok='.$tok.'&media='.rawurlencode($id);
|
/dokuwiki/_test/tests/inc/parser/ |
D | parser_media.test.php | 41 $substr_start = strpos($url, '&media', $substr_start + $substr_len);
|
D | parser_links.test.php | 743 $this->P->addMode('media',new Media()); 758 $this->P->addMode('media',new Media());
|
/dokuwiki/lib/tpl/dokuwiki/ |
D | style.ini | 11 ; defines for which output media the style should be loaded. Currently
|
/dokuwiki/vendor/splitbrain/lesserphp/src/ |
D | Lessc.php | 510 protected function compileMedia($media) argument 512 $env = $this->pushEnv($media); 517 $this->scope = $this->makeOutputBlock($media->type, [$query]); 520 $this->compileProps($media, $this->scope);
|