Example #1
0
 /**
  * Replace URL for suitable mode
  *
  * @param array $matches  Matches of URL
  *
  * @return string  Replaced URL
  */
 public static function replaceurl($matches)
 {
     $url = str_replace(array('"', '\''), '', $matches[1]);
     global $current_css_url;
     $url = T3Head::converturl($url, $current_css_url);
     return "url('{$url}')";
 }