Subversion Repositories oidplus

Rev

Rev 1435 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1435 Rev 1437
Line 272... Line 272...
272
                if ($theme_color != '') {
272
                if ($theme_color != '') {
273
                        $head_elems[] = '<meta name="theme-color" content="'.htmlentities($theme_color).'">';
273
                        $head_elems[] = '<meta name="theme-color" content="'.htmlentities($theme_color).'">';
274
                }
274
                }
275
                $head_elems[] = '<meta name="viewport" content="width=device-width, initial-scale=1.0">';
275
                $head_elems[] = '<meta name="viewport" content="width=device-width, initial-scale=1.0">';
276
                $head_elems[] = '<title>'.htmlentities($title).'</title>';
276
                $head_elems[] = '<title>'.htmlentities($title).'</title>';
-
 
277
                $tmp = (OIDplus::insideSetup()) ? '?noBaseConfig=1' : '';
277
                $head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'polyfill.min.js.php?noBaseConfig=1"></script>';
278
                $head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'polyfill.min.js.php'.$tmp.'"></script>';
278
                $head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'oidplus.min.js.php?noBaseConfig=1" type="text/javascript"></script>';
279
                $head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'oidplus.min.js.php'.$tmp.'" type="text/javascript"></script>';
279
                $head_elems[] = '<link rel="stylesheet" href="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'oidplus.min.css.php?noBaseConfig=1">';
280
                $head_elems[] = '<link rel="stylesheet" href="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'oidplus.min.css.php'.$tmp.'">';
280
                $head_elems[] = '<link rel="icon" type="image/png" href="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'favicon.png.php">';
281
                $head_elems[] = '<link rel="icon" type="image/png" href="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'favicon.png.php">';
281
                if (OIDplus::baseConfig()->exists('CANONICAL_SYSTEM_URL')) {
282
                if (OIDplus::baseConfig()->exists('CANONICAL_SYSTEM_URL')) {
282
                        $head_elems[] = '<link rel="canonical" href="'.htmlentities(OIDplus::canonicalURL().OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'">';
283
                        $head_elems[] = '<link rel="canonical" href="'.htmlentities(OIDplus::canonicalURL().OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'">';
283
                }
284
                }
284
 
285