search api autocomplet t() for transmlate term name
This commit is contained in:
@@ -211,12 +211,12 @@ function materio_admin_getSimplenewsNodeBodyTemplate($cat){
|
||||
return file_get_contents(drupal_get_path('module', 'materio_admin').'/templates/simplenews_'.$cat.'_node.html');
|
||||
}
|
||||
|
||||
function materio_admin_process_html(&$vars)
|
||||
{
|
||||
foreach (array('head', 'styles', 'scripts') as $replace) {
|
||||
if (!isset($vars[$replace])) {
|
||||
continue;
|
||||
}
|
||||
$vars[$replace] = preg_replace('/(src|href|@import )(url\(|=)(")http(s?):/', '$1$2$3', $vars[$replace]);
|
||||
// http://stackoverflow.com/questions/19202449/change-drupal-7-compiled-css-and-js-includes-to-use-https-as-opposed-to-http
|
||||
function materio_admin_process_html(&$vars){
|
||||
foreach (array('head', 'styles', 'scripts') as $replace) {
|
||||
if (!isset($vars[$replace])) {
|
||||
continue;
|
||||
}
|
||||
$vars[$replace] = preg_replace('/(src|href|@import )(url\(|=)(")http(s?):/', '$1$2$3', $vars[$replace]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user