From 00d97e59b3daee516adf6aae03e09551e25994dd Mon Sep 17 00:00:00 2001 From: Matthias Mees <mm@yellowled.de> Date: Sat, 1 Jun 2013 11:11:40 +0200 Subject: [PATCH] Use proper doctype and html helper classes. --- templates/2k11/admin/media_choose.tpl | 3 ++- templates/2k11/admin/media_showitem.tpl | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/2k11/admin/media_choose.tpl b/templates/2k11/admin/media_choose.tpl index 2a57ea8a..57a4c4f7 100644 --- a/templates/2k11/admin/media_choose.tpl +++ b/templates/2k11/admin/media_choose.tpl @@ -1,5 +1,6 @@ <!doctype html> -<html> +<!--[if IE 8]> <html class="no-js lt-ie9" lang="{$lang}"> <![endif]--> +<!--[if gt IE 8]><!--> <html class="no-js" lang="{$lang}"> <!--<![endif]--> <head> <meta charset="{$CONST.LANG_CHARSET}"> <title>{$CONST.SERENDIPITY_ADMIN_SUITE}: {$CONST.SELECT_FILE}</title> diff --git a/templates/2k11/admin/media_showitem.tpl b/templates/2k11/admin/media_showitem.tpl index 3fca9c2b..5a8f7de4 100644 --- a/templates/2k11/admin/media_showitem.tpl +++ b/templates/2k11/admin/media_showitem.tpl @@ -1,4 +1,6 @@ -<html> +<!doctype html> +<!--[if IE 8]> <html class="no-js lt-ie9" lang="{$lang}"> <![endif]--> +<!--[if gt IE 8]><!--> <html class="no-js" lang="{$lang}"> <!--<![endif]--> <head> <meta charset="{$CONST.LANG_CHARSET}"> <title>{$media.file.props.base_property.TITLE|@default:$media.file.realname}</title>