JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
drop ie 8 support
authorJason Woofenden <jason@jasonwoof.com>
Thu, 29 Jun 2017 19:16:49 +0000 (15:16 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 29 Jun 2017 19:16:49 +0000 (15:16 -0400)
inc/cms.php
template.html

index 5075dd7..d7118e0 100644 (file)
@@ -9,9 +9,6 @@ function enc_css_str($str) {
 }
 
 function cms_display($basename, &$tem) {
-       if(preg_match('/([.]l(ocal)?$)|^192[.]168[.]|^127.0.0.1$|^10[.]/', $_SERVER['HTTP_HOST'])) {
-               $GLOBALS['wfpl_main_template']->set('$running_locally');
-       }
        $tem->set('$host', this_host());
        $nav_items = db_get_assocs('cms_pages', "coalesce(nullif(nav_title,''), title) as title,filename", 'where navbar!=0 order by navbar');
        if($nav_items) {
index 794f585..9541cd5 100644 (file)
@@ -3,10 +3,6 @@
 <head>
        <title>~$title html~~$cms_title html~</title>
        <meta name="viewport" content="width=device-width, user-scalable=no" />
-       <!--[if lt IE 9]>
-               ~$running_locally {~<script src="/javascript/html5.js"></script>~}~
-               ~$running_locally unset {~<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>~}~
-       <![endif]-->
        <link rel="stylesheet" href="css.css?m=~css.css mtime~" />
        <!--~$meta_description nonempty {~--><meta name="description" content="~$meta_description attr~" /><!--~}~-->
        <!--~$meta_keywords nonempty {~--><meta name="keywords" content="~$meta_keywords attr~" /><!--~}~-->