Subversion Repositories oidplus

Rev

Rev 1266 | Rev 1289 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1266 Rev 1286
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
                $head_elems[] = '<script src="'.OIDplus::webpath(null, OIDplus::PATH_RELATIVE).'polyfill.min.js.php"></script>';
277
                $head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'polyfill.min.js.php"></script>';
278
                $head_elems[] = '<script src="'.OIDplus::webpath(null, OIDplus::PATH_RELATIVE).'oidplus.min.js.php?noBaseConfig=1" type="text/javascript"></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[] = '<link rel="stylesheet" href="'.OIDplus::webpath(null, OIDplus::PATH_RELATIVE).'oidplus.min.css.php?noBaseConfig=1">';
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="shortcut icon" type="image/x-icon" href="'.OIDplus::webpath(null, OIDplus::PATH_RELATIVE).'favicon.ico.php">';
280
                $head_elems[] = '<link rel="shortcut icon" type="image/x-icon" href="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'favicon.ico.php">';
281
                if (OIDplus::baseConfig()->exists('CANONICAL_SYSTEM_URL')) {
281
                if (OIDplus::baseConfig()->exists('CANONICAL_SYSTEM_URL')) {
282
                        $head_elems[] = '<link rel="canonical" href="'.htmlentities(OIDplus::canonicalURL()).OIDplus::webpath(null, OIDplus::PATH_RELATIVE).'">';
282
                        $head_elems[] = '<link rel="canonical" href="'.htmlentities(OIDplus::canonicalURL().OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'">';
283
                }
283
                }
284
 
284
 
285
                return $head_elems;
285
                return $head_elems;
286
        }
286
        }
287
 
287