Lines Matching refs:replacements
192 function css_applystyle($css, $replacements) { argument
196 foreach((array) $replacements as $key => $value) {
201 $replacements[$key] = $lkey;
205 $css = strtr($css, $replacements);
224 $replacements = array(); // placeholder => value
240 …$replacements = array_merge($replacements, css_fixreplacementurls($data['replacements'],$webbase));
258 …$replacements = array_merge($replacements, css_fixreplacementurls($data['replacements'],$webbase));
264 'replacements' => $replacements
273 function css_fixreplacementurls($replacements, $location) { argument
274 foreach($replacements as $key => $value) {
275 …$replacements[$key] = preg_replace('#(url\([ \'"]*)(?!/|data:|http://|https://| |\'|")#','\\1'.$lo…
277 return $replacements;
423 public function replacements($match) { function in DokuCssFile