From: pixelbrackets Date: Tue, 17 Jan 2017 21:21:47 +0000 (+0100) Subject: [!!][FEATURE] Remove XHTML doctype X-Git-Tag: 3.0.0~30 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/75f4119aba4c074acc8f83b82eb3be94ace4aeca [!!][FEATURE] Remove XHTML doctype The project uses a HTML5 doctype, but switches to XHTML if a condition says that the clients browser can handle XHTML. As this is the case for nearly any browser which also supports HTML5, the condition causes the script to *always* render the XHTML doctype. We remove the whole condition and the XHTML doctype in favour of a HTML5 doctype only. Note: This may be considered as breaking change, since HTML5 may not be working in ancient versions of IE. Refs #97 --- diff --git a/lib/template/header.php b/lib/template/header.php index 59d145d..2b4e525 100644 --- a/lib/template/header.php +++ b/lib/template/header.php @@ -1,15 +1,6 @@ - - - - + <?php echo (true === empty($cfg['title']))? t('Jirafeau, your web file repository') : $cfg['title']; ?> - - - +