mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
Hot fix
This commit is contained in:
parent
95d735f704
commit
c0aa599016
@ -72,8 +72,8 @@ if (!!window.ActiveXObject || "ActiveXObject" in window) { //is IE?
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<?php if(akina_option('google_analytics_id', '')):?>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo akina_option('google_analytics_id', ''); ?>"></script>
|
||||
<script>
|
||||
<?php endif; ?>
|
||||
<script>
|
||||
window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag('js',new Date());gtag('config','<?php echo akina_option('google_analytics_id', ''); ?>');
|
||||
</script>
|
||||
</head>
|
||||
|
23
options.php
23
options.php
@ -714,28 +714,7 @@ function optionsframework_options() {
|
||||
'id' => 'qiniu_cdn',
|
||||
'std' => '',
|
||||
'type' => 'text');
|
||||
/*
|
||||
$options[] = array(
|
||||
'name' => __('Adobe Typekit ID 1', 'options_framework_theme'),
|
||||
'desc' => __('加载 Adobe 字体,填写的是 js 文件名,请把<a href="https://typekit.com/fonts/source-han-serif-simplified-chinese">这页</a>七个字体都加入到你的 kit。免费账号有每月 2,5000 PV 的使用限制,可注册多个ID,每次随机选择一个调用,如果访问量没那么高,那么填这里第一个就OK了', 'options_framework_theme'),
|
||||
'id' => 'adobe_id_1',
|
||||
'std' => '',
|
||||
'type' => 'text');
|
||||
|
||||
$options[] = array(
|
||||
'name' => __('Adobe Typekit ID 2', 'options_framework_theme'),
|
||||
'desc' => __('可留空,如果仅填前两个ID,那么随机到此 ID 的概率是1/3,随机到 ID 1 的概率是2/3', 'options_framework_theme'),
|
||||
'id' => 'adobe_id_2',
|
||||
'std' => '',
|
||||
'type' => 'text');
|
||||
|
||||
$options[] = array(
|
||||
'name' => __('Adobe Typekit ID 3', 'options_framework_theme'),
|
||||
'desc' => __('可留空,如果三个都填写,那么三个 ID 随机调用,概率各为 1/3', 'options_framework_theme'),
|
||||
'id' => 'adobe_id_3',
|
||||
'std' => '',
|
||||
'type' => 'text');
|
||||
*/
|
||||
|
||||
$options[] = array(
|
||||
'name' => __('开启 jsDelivr 测试?', 'options_framework_theme'),
|
||||
'desc' => __('如不清楚什么意思切勿勾选!', 'options_framework_theme'),
|
||||
|
Loading…
Reference in New Issue
Block a user