function _mimemail_css_file_paths in Mime Mail 6
Convert an array of CSS files to an array of file paths.
1 call to _mimemail_css_file_paths()
- template_preprocess_mimemail_message in theme/
mimemail.theme.inc - A preprocess function for theme('mimemail_message').
File
- theme/
mimemail.theme.inc, line 99 - The theme system, which controls the output of the messages.
Code
function _mimemail_css_file_paths($css) {
return explode("\n", preg_replace('|<link.*href="(' . $GLOBALS['base_url'] . ')?' . base_path() . '([^"?]*)[?"].*|', '\\2', drupal_get_css($css)));
}