Home
last modified time | relevance | path

Searched refs:media (Results 1 - 8 of 8) sorted by relevance

/dokuwiki/inc/
H A Dfetch.functions.php130 * Check for media for preconditions and return correct status code
137 * @param string $media reference to the media id
144 function checkFileStatus(&$media, &$file, $rev = '', $width=0, $height=0) {
147 //media to local file
148 if(media_isexternal($media)) {
150 if(media_get_token($media, $width, $height) !== $INPUT->str('tok')) {
154 if(strncmp($MIME, 'image/', 6) == 0) $file = media_get_from_URL($media, $EXT, $CACHE);
157 return array(302, $media);
160 $media variable
[all...]
H A DMailer.class.php127 $media = cleanID($matches[1]); variable
128 list(, $mime) = mimetype($media);
129 $file = mediaFN($media);
228 // embed media from templates
443 foreach($this->attach as $media) {
444 $media['name'] = str_replace(':', '_', cleanID($media['name'], true));
450 if($media['embed']) {
451 $this->html = str_replace('%%'.$media['embed'].'%%', 'cid:'.$cid, $this->html);
455 $mime .= $this->wrappedHeaderLine('Content-Type', $media['mim
[all...]
H A Dindexer.php177 if (($media = p_get_metadata($page, 'relation media', METADATA_RENDER_UNLIMITED)) !== null)
178 $metadata['relation_media'] = array_keys($media);
H A Dhtml.php300 * @param bool|string $media_id id of media, or false for current page
491 * @param bool $media If it is for media files
496 function html_diff_head($l_rev, $r_rev, $id = null, $media = false, $inline = false) {
/dokuwiki/inc/Ui/
H A DDiff.php241 * @param bool $media If it is for media files
245 public function diffHead($l_rev, $r_rev, $id = null, $media = false, $inline = false)
253 $media_or_wikiFN = $media ? 'mediaFN' : 'wikiFN';
254 $ml_or_wl = $media ? 'ml' : 'wl';
257 if ($media) {
276 $l_head_title = ($media) ? dformat($l_rev) : $id.' ['.dformat($l_rev).']';
293 $r_head_title = ($media) ? dformat($r_rev) : $id.' ['.dformat($r_rev).']';
308 $r_head_title = ($media) ? dformat($_rev) : $id.' ['.dformat($_rev).']';
/dokuwiki/lib/plugins/acl/
H A Dadmin.php260 * get a combined list of media and page files
272 // read tree structure from pages and media
275 $media = array(); variable
276 search($media, $conf['mediadir'], 'search_index', array('ns' => $folder, 'nofiles' => true), $limit);
277 $data = array_merge($data, $media);
278 unset($media);
295 * Sorts the combined trees of media and page files
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php203 case "media":
233 protected function compileMedia($media) {
234 $env = $this->pushEnv($media);
239 $this->scope = $this->makeOutputBlock($media->type, array($query));
242 $this->compileProps($media, $this->scope);
260 if (!empty($scope->type) && $scope->type != "media") {
389 $out = "@media";
399 !empty($env->block->type) && $env->block->type != "media")
2665 // media
2666 if ($this->literal('@media')) {
2670 $media = $this->pushSpecialBlock("media"); global() variable
[all...]
/dokuwiki/inc/parser/
H A Dhandler.php923 public function media($match, $state, $pos) { function

Completed in 13 milliseconds