Lines Matching refs:url
193 $css = preg_replace_callback('#(url\([ \'"]*)(' . $base . ')(.*?(?:\.(png|gif)))#i', 'css_datauri', $css);
348 echo ' background: transparent url(' . DOKU_BASE . 'lib/images/interwiki.svg) 0 0 no-repeat;';
362 echo ' background-image: url(' . DOKU_BASE . $file . ')';
380 echo ' background: transparent url(' . DOKU_BASE . 'lib/images/fileicons/svg/file.svg) 0px 1px no-repeat;';
399 echo ' background-image: url(' . DOKU_BASE . 'lib/images/fileicons/svg/' . $ext . '.svg)';
426 protected $location; // base url location of the CSS/Less file
439 * @param string $location base url for this file
451 $css = preg_replace_callback('#(url\( *)([\'"]?)(.*?)(\2)( *\))#', [$this, 'replacements'], $css);
491 if (preg_match('#^(/|data:|https?://)#', $match[3])) { // not a relative url? - no adjustment required
497 } else { // everything else requires a url adjustment
519 $url = unslash($match[3]);
522 $local = DOKU_INC . $url;
528 $url = 'data:image/' . $ext . ';base64,' . $data;
530 $url = $base . $url;
532 return $pre . $url;
668 * Strips one line comments but makes sure it will not destroy url() constructs with slashes
682 $nexturl = stripos($line, 'url(', $i);
691 // no url anymore, strip comment and be done
696 // we have an upcoming url