Use scheme agnostic url for fonts.

This removes warnings from browsers who complain about a mixture
of secure and insecure contents.
I think most just block the insecure content, which is even worse.
This commit is contained in:
Tom Hacohen 2015-04-17 10:41:34 +01:00
parent 43cddc1e13
commit 13ed630282
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ $showTOC = ($ACT == "show") && tpl_toc(true);
<link href="<?php echo tpl_getMediaFile(array("css/modifications.css")); ?>" rel="stylesheet">
<script src="<?php echo tpl_getMediaFile(array("js/bootstrap.min.js")); ?>"></script>
<script src="<?php echo tpl_getMediaFile(array("js/modifications.js")); ?>"></script>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Source+Code+Pro' rel='stylesheet' type='text/css'>
</head>
<body>