Skip to content
Extraits de code Groupes Projets
Valider f059c3a4 rédigé par Fil's avatar Fil
Parcourir les fichiers

commencer a prendre en compte les urls contenant des /

parent 81313e1d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -16,10 +16,12 @@ ...@@ -16,10 +16,12 @@
// Feuilles de style admin : d'abord la CSS officielle, puis la perso, // Feuilles de style admin : d'abord la CSS officielle, puis la perso,
function affiche_boutons_admin($contenu) { function affiche_boutons_admin($contenu) {
$css = "<link rel='stylesheet' href='".find_in_path('spip_admin.css') include_spip('inc/filtres');
$css = "<link rel='stylesheet' href='".url_absolue(find_in_path('spip_admin.css'))
. "' type='text/css' />\n"; . "' type='text/css' />\n";
if ($f = find_in_path('spip_admin_perso.css')) if ($f = find_in_path('spip_admin_perso.css'))
$css .= "<link rel='stylesheet' href='$f' type='text/css' />\n"; $css .= "<link rel='stylesheet' href='"
. url_absolue($f) . "' type='text/css' />\n";
if (preg_match('@<(/head|body)@i', $contenu, $regs)) { if (preg_match('@<(/head|body)@i', $contenu, $regs)) {
$contenu = explode($regs[0], $contenu, 2); $contenu = explode($regs[0], $contenu, 2);
......
...@@ -339,6 +339,7 @@ function debug_dumpfile ($texte, $fonc, $type) { ...@@ -339,6 +339,7 @@ function debug_dumpfile ($texte, $fonc, $type) {
ob_end_clean(); ob_end_clean();
include_spip('inc/headers'); include_spip('inc/headers');
include_spip('inc/filtres');
http_no_cache(); http_no_cache();
lang_select($auteur_session['lang']); lang_select($auteur_session['lang']);
echo _DOCTYPE_ECRIRE, echo _DOCTYPE_ECRIRE,
...@@ -348,7 +349,7 @@ function debug_dumpfile ($texte, $fonc, $type) { ...@@ -348,7 +349,7 @@ function debug_dumpfile ($texte, $fonc, $type) {
_T('admin_debug') . ' ' . _T('admin_debug') . ' ' .
supprimer_tags(extraire_multi($GLOBALS['meta']['nom_site']))), supprimer_tags(extraire_multi($GLOBALS['meta']['nom_site']))),
"</title>\n", "</title>\n",
"<link rel='stylesheet' href='".find_in_path('spip_admin.css') "<link rel='stylesheet' href='".url_absolue(find_in_path('spip_admin.css'))
. "' type='text/css'>", . "' type='text/css'>",
"</head>\n<body style='margin:0 10px;'>", "</head>\n<body style='margin:0 10px;'>",
"\n<div id='spip-debug' style='position: absolute; top: 22px; z-index: 1000;height:97%;left:10px;right:10px;'><div id='spip-boucles'>\n"; "\n<div id='spip-debug' style='position: absolute; top: 22px; z-index: 1000;height:97%;left:10px;right:10px;'><div id='spip-boucles'>\n";
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter