mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 11:59:16 +08:00
备案信息优化
This commit is contained in:
parent
e23321c88e
commit
b5f70f9ea3
@ -300,6 +300,11 @@ class Common extends Controller
|
||||
|
||||
// 编辑器文件存放地址
|
||||
$this->assign('editor_path_type', empty($this->user['id']) ? 'public' : 'user-'.$this->user['id']);
|
||||
|
||||
// 备案信息
|
||||
$this->assign('home_site_icp', MyC('home_site_icp'));
|
||||
$this->assign('home_site_security_record_name', MyC('home_site_security_record_name'));
|
||||
$this->assign('home_site_security_record_url', MyC('home_site_security_record_url'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -84,7 +84,8 @@
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 页脚信息 -->
|
||||
<div class="am-footer-miscs">
|
||||
<div class="am-container">
|
||||
<p class="powered">
|
||||
@ -92,9 +93,22 @@
|
||||
<span class="b">Shop</span><span class="o">XO</span>
|
||||
</a> {{$Think.APPLICATION_VERSION}}
|
||||
</p>
|
||||
<p>
|
||||
<a href="http://www.beian.miit.gov.cn/" target="_blank">{{:MyC('home_site_icp')}}</a>
|
||||
</p>
|
||||
{{if !empty($home_site_icp)}}
|
||||
<p>
|
||||
<a href="http://www.beian.miit.gov.cn/" target="_blank">
|
||||
<img src="{{$attachment_host}}/static/common/images/beian-icp-icon.png" width="20" height="20" alt="ICP备案" />
|
||||
{{$home_site_icp}}
|
||||
</a>
|
||||
</p>
|
||||
{{/if}}
|
||||
{{if !empty($home_site_security_record_name)}}
|
||||
<p>
|
||||
<a {{if empty($home_site_security_record_url)}}href="javascript:;"{{else /}}href="{{$home_site_security_record_url}}" target="_blank"{{/if}}>
|
||||
<img src="{{$attachment_host}}/static/common/images/beian-gongan-icon.png" width="20" height="20" alt="公安备案" />
|
||||
{{$home_site_security_record_name}}
|
||||
</a>
|
||||
</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
BIN
public/static/common/images/beian-gongan-icon.png
Normal file
BIN
public/static/common/images/beian-gongan-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
BIN
public/static/common/images/beian-icp-icon.png
Normal file
BIN
public/static/common/images/beian-icp-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
Loading…
Reference in New Issue
Block a user