From 75f4119aba4c074acc8f83b82eb3be94ace4aeca Mon Sep 17 00:00:00 2001 From: pixelbrackets Date: Tue, 17 Jan 2017 22:21:47 +0100 Subject: [PATCH] [!!][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 --- lib/template/header.php | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) 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']; ?> - - - +

-- 2.34.1