Lines Matching defs:svg
89 const CDNBASE = 'https://raw.githubusercontent.com/Templarian/MaterialDesign/master/svg/';
100 $svg = cleanID($INPUT->str('svg'));
101 if(blank($svg)) $this->abort(404);
104 $file = self::IMGDIR . $svg;
107 $file = mediaFN($svg);
110 if(auth_quickaclcheck($svg) < AUTH_READ) $this->abort(403);
113 $file = getCacheName($svg, '.svg');
115 io_download(self::CDNBASE . $svg, $file);
134 header('Content-Type: image/svg+xml');
136 $cache = new \dokuwiki\Cache\Cache($cachekey, '.svg');
187 return "<svg viewBox=\"$v\"><path d=\"$def\" /></svg>";
292 * sets a rectangular background of the size of the svg/this itself
343 $svg = new SVG();
344 $svg->out();