mirror of https://gitee.com/karson/fastadmin.git
优化用户协议配置
parent
1ed0a1395c
commit
32329947a3
|
|
@ -12,6 +12,7 @@ return [
|
|||
'frontend' => 'zh-cn',
|
||||
],
|
||||
'fixedpage' => 'dashboard',
|
||||
'agreement' => '协议内容',
|
||||
'categorytype' => [
|
||||
'default' => 'Default',
|
||||
'page' => 'Page',
|
||||
|
|
|
|||
|
|
@ -400,6 +400,7 @@ class User extends Frontend
|
|||
public function agreement()
|
||||
{
|
||||
$this->view->assign('title', __('User agreement'));
|
||||
$this->view->assign('content', xss_clean(config('site.agreement')));
|
||||
return $this->view->fetch();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
<div id="content-container" class="container">
|
||||
<div class="user-section agreement-section">
|
||||
<h2>用户协议</h2>
|
||||
<h2>{$title}</h2>
|
||||
<div class="agreement-content">
|
||||
<p>用户协议内容</p>
|
||||
<p>{:$content}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue