Модуль Font your face не отображает выбранные шрифты

Главные вкладки

Аватар пользователя abraham abraham 27 марта 2016 в 21:06

Настроил по инструкции но пишет это Notice: Undefined index: display в функции theme_status_messages() (строка 1673 в файле theme.inc

и не ставит шрифты, сколько я их уже перепробовал и кириллические и латинские - один результат.

строка 1673 выглядит там так:

function theme_status_messages($variables) {
$display = $variables['display'];
$output = '';

$status_heading = array(
'status' => t('Status message'),
'error' => t('Error message'),
'warning' => t('Warning message'),
);
foreach (drupal_get_messages($display) as $type => $messages) {
$output .= "

\n";
if (!empty($status_heading[$type])) {
$output .= '

' . $status_heading[$type] . "

\n";
}
if (count($messages) > 1) {
$output .= "

    \n";
    foreach ($messages as $message) {
    $output .= '
  • ' . $message . "
  • \n";
    }
    $output .= "

\n";
}
else {
$output .= reset($messages);
}
$output .= "

\n";
}
return $output;
}

Комментарии