Permalink
Browse files

Must. Not. Forget. This. File. (Thanks to @ophian.)

  • Loading branch information...
1 parent 4c91ff5 commit 88ab82553b7a9e2f36f57ad5d60a1806e45df6d0 @yellowled committed Apr 16, 2012
Showing with 8 additions and 5 deletions.
  1. +8 −5 preview_iframe.tpl
View
@@ -1,13 +1,13 @@
<!doctype html>
-<!--[if lt IE 7 ]> <html class="no-js ie6 oldie" lang="{$lang}"> <![endif]-->
-<!--[if IE 7 ]> <html class="no-js ie7 oldie" lang="{$lang}"> <![endif]-->
-<!--[if IE 8 ]> <html class="no-js ie8 oldie" lang="{$lang}"> <![endif]-->
+<!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{$lang}"> <![endif]-->
+<!--[if IE 7 ]> <html class="no-js lt-ie9 lt-ie8" lang="{$lang}"> <![endif]-->
+<!--[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="{$head_charset}">
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta name="generator" content="Serendipity v.{$head_version}">
- <meta name="viewport" content="width=device-width,initial-scale=1">
+ <meta name="viewport" content="width=device-width">
{if $template_option.webfonts == 'droid'}
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700">
{elseif $template_option.webfonts == 'ptsans'}
@@ -20,7 +20,10 @@
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic,700,700italic">
{/if}
<link rel="stylesheet" href="{$head_link_stylesheet}">
- <script src="{serendipity_getFile file="js/modernizr-2.0.6.min.js"}"></script>
+{if $template_option.userstyles == true}
+ <link rel="stylesheet" href="{serendipity_getFile file="user.css"}">
+{/if}
+ <script id="modernizr" src="{serendipity_getFile file="js/modernizr-2.5.3.min.js"}"></script>
<script>
window.onload = function() {ldelim}
parent.document.getElementById('serendipity_iframe').style.height = document.getElementById('content').offsetHeight

1 comment on commit 88ab825

ophian commented on 88ab825 Apr 17, 2012

still has id=modernizer ;-)

Please sign in to comment.