summaryrefslogtreecommitdiff
path: root/libs/Matcha.php
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2023-06-21 17:38:54 +0800
committerGitHub <noreply@github.com>2023-06-21 17:38:54 +0800
commit0eebc62ab6f25acfb9a384cd963da2cf18522180 (patch)
treeab738de9d38766e9f4d38b531382b9c552ad9c90 /libs/Matcha.php
parent845cbc0509448f7a5c625db1f5cfa7ff04d00613 (diff)
parent18a7e01e4327d3e3ad639b5173f77feb79a876da (diff)
Merge pull request #32 from 1989car/main
增加公安备案号设置
Diffstat (limited to 'libs/Matcha.php')
-rw-r--r--libs/Matcha.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/Matcha.php b/libs/Matcha.php
index aa4e71c..772b3c1 100644
--- a/libs/Matcha.php
+++ b/libs/Matcha.php
@@ -394,6 +394,11 @@ class Matcha
echo '<br />';
echo '<a rel="nofollow" href="http://beian.miit.gov.cn"> '.Helper::options()->icpNum.' </a>';
}
+ //公安备案号
+ if (Helper::options()->policeNum!='') {
+ echo ' | ';
+ echo '<a target="_blank" rel="nofollow" href="'.Helper::options()->policeUrl.'">'.Helper::options()->policeNum.'<img src="/police.png" /></a>';
+ }
//字数统计
if (Helper::options()->EnableWordsCounter=='able') {
echo '<br />';
@@ -649,4 +654,4 @@ class Matcha
}
return false;
}
-} \ No newline at end of file
+}