File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1212 'frontend ' => 'zh-cn ' ,
1313 ],
1414 'fixedpage ' => 'dashboard ' ,
15+ 'agreement ' => '协议内容 ' ,
1516 'categorytype ' => [
1617 'default ' => 'Default ' ,
1718 'page ' => 'Page ' ,
Original file line number Diff line number Diff line change @@ -400,6 +400,7 @@ public function attachment()
400400 public function agreement ()
401401 {
402402 $ this ->view ->assign ('title ' , __ ('User agreement ' ));
403+ $ this ->view ->assign ('content ' , xss_clean (config ('site.agreement ' )));
403404 return $ this ->view ->fetch ();
404405 }
405406}
Original file line number Diff line number Diff line change 11< div id ="content-container " class ="container ">
22 < div class ="user-section agreement-section ">
3- < h2 > 用户协议 </ h2 >
3+ < h2 > {$title} </ h2 >
44 < div class ="agreement-content ">
5- < p > 用户协议内容</ p >
5+ < p > {:$content}</ p >
6+ </ div >
67 </ div >
78</ div >
You can’t perform that action at this time.
0 commit comments