diff --git a/manifest.json b/manifest.json index 16ee9b7..e6fc012 100644 --- a/manifest.json +++ b/manifest.json @@ -51,14 +51,14 @@ }, { "name": "legal", + "optional" : "true", "ask": { "en": "Indicate a web page with legal information", "fr": "Indiquez la page où figure les mentions légales", "de": "Tragen Sie bitte die Website ein, wo man den Impressum finden kann." }, - "optional" : "true", "example": "http://example.com", - "default": "" + "default": "no" }, { "name": "language", diff --git a/sources/index.php b/sources/index.php index 3fe0640..5e31ef7 100644 --- a/sources/index.php +++ b/sources/index.php @@ -101,7 +101,7 @@ echo ' '; } echo ''."\n"; - if (URL_ABOUT && !is_empty(URL_ABOUT) && URL_ABOUT!='./apropos.php') + if (URL_ABOUT!='./apropos.php' && URL_ABOUT!='' && URL_ABOUT!='false' && URL_ABOUT!='no') { echo '