Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

Commit

Permalink
Must. Not. Forget. This. File. (Thanks to @ophian.)
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowled committed Apr 16, 2012
1 parent 4c91ff5 commit 88ab825
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions preview_iframe.tpl
@@ -1,13 +1,13 @@
<!doctype html> <!doctype html>
<!--[if lt IE 7 ]> <html class="no-js ie6 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 ie7 oldie" lang="{$lang}"> <![endif]--> <!--[if IE 7 ]> <html class="no-js lt-ie9 lt-ie8" lang="{$lang}"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8 oldie" 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]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="{$lang}"> <!--<![endif]-->
<head> <head>
<meta charset="{$head_charset}"> <meta charset="{$head_charset}">
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title> <title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta name="generator" content="Serendipity v.{$head_version}"> <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'} {if $template_option.webfonts == 'droid'}
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700">
{elseif $template_option.webfonts == 'ptsans'} {elseif $template_option.webfonts == 'ptsans'}
Expand All @@ -20,7 +20,10 @@
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic,700,700italic"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic,700,700italic">
{/if} {/if}
<link rel="stylesheet" href="{$head_link_stylesheet}"> <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> <script>
window.onload = function() {ldelim} window.onload = function() {ldelim}
parent.document.getElementById('serendipity_iframe').style.height = document.getElementById('content').offsetHeight parent.document.getElementById('serendipity_iframe').style.height = document.getElementById('content').offsetHeight
Expand Down

1 comment on commit 88ab825

@ophian
Copy link

@ophian ophian commented on 88ab825 Apr 17, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still has id=modernizer ;-)

Please sign in to comment.