aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorcyberalien <cyberalien@gmail.com>2015-06-12 15:15:52 +0300
committerJoas Schilling <nickvergessen@gmx.de>2015-06-14 07:42:37 +0200
commit338abf77e3b8e48a5d74ba399348c7e0f78fc6b7 (patch)
treebd5bd5d7b4ba4b25ad5f06bc1e17cffddec85c42 /phpBB
parentf9c50a8db397e254cc0604ab7173707f600448ac (diff)
downloadforums-338abf77e3b8e48a5d74ba399348c7e0f78fc6b7.tar
forums-338abf77e3b8e48a5d74ba399348c7e0f78fc6b7.tar.gz
forums-338abf77e3b8e48a5d74ba399348c7e0f78fc6b7.tar.bz2
forums-338abf77e3b8e48a5d74ba399348c7e0f78fc6b7.tar.xz
forums-338abf77e3b8e48a5d74ba399348c7e0f78fc6b7.zip
[ticket/13938] Change web font code in simple_header
Apply ticket 13876 to simple_header.html PHPBB3-13938
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/styles/prosilver/template/simple_header.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html
index de79ef2028..637ac59465 100644
--- a/phpBB/styles/prosilver/template/simple_header.html
+++ b/phpBB/styles/prosilver/template/simple_header.html
@@ -6,7 +6,22 @@
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
-<!-- IF S_ALLOW_CDN --><link href="//fonts.googleapis.com/css?family=Open+Sans:600&amp;subset=latin,cyrillic-ext,latin-ext,cyrillic,greek-ext,greek,vietnamese" rel="stylesheet"><!-- ENDIF -->
+<!-- IF S_ALLOW_CDN -->
+<script>
+ WebFontConfig = {
+ google: {
+ families: ['Open Sans:n6']
+ }
+ };
+
+ (function(d) {
+ var wf = d.createElement('script'), s = d.scripts[0];
+ wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js';
+ wf.async = true;
+ s.parentNode.insertBefore(wf, s);
+ })(document);
+</script>
+<!-- ENDIF -->
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
<link href="{T_STYLESHEET_LANG_LINK}" rel="stylesheet">
<link href="{T_THEME_PATH}/responsive.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" media="only screen and (max-width: 700px), only screen and (max-device-width: 700px)">