Browse Source

Permettre de surcharger les fichiers CSS aussi dans le prive

pull/4/head
Matthieu Marcillaud 2 years ago
parent
commit
7bcef7415d
  1. 5
      typoenluminee_pipelines.php

5
typoenluminee_pipelines.php

@ -26,8 +26,9 @@ function TypoEnluminee_insert_head($flux) {
$flux = TypoEnluminee_insert_head_css($flux);
return $flux;
}
function TypoEnluminee_header_prive($texte) {
$texte.= '<link rel="stylesheet" type="text/css" href="' . _DIR_PLUGIN_TYPOENLUMINEE . 'css/enluminurestypo.css" />' . "\n";
$texte.= '<link rel="stylesheet" type="text/css" href="' . _DIR_PLUGIN_TYPOENLUMINEE . 'css/enluminurestypo_prive.css" />' . "\n";
$texte .= '<link rel="stylesheet" type="text/css" href="' . find_in_path('css/enluminurestypo.css') . '" />' . "\n";
$texte .= '<link rel="stylesheet" type="text/css" href="' . find_in_path('css/enluminurestypo_prive.css') . '" />' . "\n";
return $texte;
}

Loading…
Cancel
Save