From: dj3c1t Date: Sun, 16 Jun 2013 15:46:34 +0000 (+0200) Subject: css menu et test version php avant header_remove X-Git-Tag: mtweb.0.9.3 X-Git-Url: http://git.dj3c1t.com/index.cgi?a=commitdiff_plain;h=beb400a195a5ac025eb9fe75c5abdeddde4195c2;p=mtweb css menu et test version php avant header_remove --- diff --git a/mw/app/out/default/css/style.css b/mw/app/out/default/css/style.css index d765232..1dff183 100644 --- a/mw/app/out/default/css/style.css +++ b/mw/app/out/default/css/style.css @@ -166,34 +166,44 @@ strong{ font-weight: bold; } -/* ------------------------------------------------- MENU COLONNE */ +/* ------------------------------------------------- MENU COLONNE ET NAV */ -#colonne .menu ul{ +#colonne .menu, +nav.sous_pages{ + margin-bottom: 1em; +} + +#colonne .menu ul, +nav.sous_pages ul{ list-style-type: none; margin: 5px 20px 5px 10px; padding: 0; } -#colonne .menu ul ul{ +#colonne .menu ul ul, +nav.sous_pages ul ul{ list-style-type: none; margin: 0 0 0 20px; padding: 0; } -#colonne .menu ul li{ +#colonne .menu ul li, +nav.sous_pages ul li{ margin: 1px 0; padding: 0; border-bottom: solid 1px #e5e5e5; } -#colonne .menu ul li a{ +#colonne .menu ul li a, +nav.sous_pages ul li a{ display: block; line-height: 2em; padding: 0 1em; background-color: #f5f5f5; } -#colonne .menu ul li a:hover{ +#colonne .menu ul li a:hover, +nav.sous_pages ul li a:hover{ color: #000066; background-color: #f1f1f1; } diff --git a/mw/env/modules/mw_env_urls.php b/mw/env/modules/mw_env_urls.php index 0f745a7..9a6b014 100644 --- a/mw/env/modules/mw_env_urls.php +++ b/mw/env/modules/mw_env_urls.php @@ -42,7 +42,9 @@ ) ); if(!headers_sent()){ - if($wait) header_remove("Location"); + if($wait){ + if(function_exists("header_remove")) header_remove("Location"); + } else header("Location: ".str_replace("&", "&", $url)); } }