Home
last modified time | relevance | path

Searched refs:media (Results 1 – 25 of 38) sorted by relevance

12

/dokuwiki/inc/
Dfetch.functions.php143 * @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 …]
DMailer.class.php132 $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 …]
Dindexer.php183 if (($media = p_get_metadata($page, 'relation media', METADATA_RENDER_UNLIMITED)) !== null)
184 $metadata['relation_media'] = array_keys($media);
Dpageutils.php562 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);
Dhtml.php538 * @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/
DApiCore.php823 * @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/
Dfetch_imagetoken.test.php5 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));
Dfetch_statuscodes_external.test.php8 …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/
Dmobile.less8 /* 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.css74 /* media option wizard (opens when inserting media in the media popup)
D_media_popup.css2 * 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.css55 /* link to some embedded media */
D_recent.css8 /* select type of revisions (media/pages) */
D_fileuploader.css3 * used in the media manager (both fullscreen and popup).
D_search.less15 /* "nothing found" at search + media */
Dprint.css91 img.media {
/dokuwiki/
D.htaccess.dist25 #RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L,B]
26 #RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L,B]
D.gitignore37 /data/media/*
/dokuwiki/lib/plugins/acl/
Dadmin.php281 $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/
Dscreen.css71 /* media manager popup toggle buttons */
/dokuwiki/_test/tests/inc/
Dcommon_ml.test.php107 $expect = DOKU_BASE.$this->script.'?tok='.$tok.'&amp;media='.rawurlencode($id);
/dokuwiki/_test/tests/inc/parser/
Dparser_media.test.php41 $substr_start = strpos($url, '&amp;media', $substr_start + $substr_len);
Dparser_links.test.php743 $this->P->addMode('media',new Media());
758 $this->P->addMode('media',new Media());
/dokuwiki/lib/tpl/dokuwiki/
Dstyle.ini11 ; defines for which output media the style should be loaded. Currently
/dokuwiki/vendor/splitbrain/lesserphp/src/
DLessc.php510 protected function compileMedia($media) argument
512 $env = $this->pushEnv($media);
517 $this->scope = $this->makeOutputBlock($media->type, [$query]);
520 $this->compileProps($media, $this->scope);

12