From: pixelbrackets Date: Tue, 17 Jan 2017 21:21:47 +0000 (+0100) Subject: [!!][FEATURE] Remove XHTML doctype X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/7bbac163b8940fe703803727d87ef9cfb40a9135 [!!][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']; ?> - - - +