diff --git a/application/index/controller/Home.php b/application/index/controller/Home.php index f73650c0..0c57d863 100644 --- a/application/index/controller/Home.php +++ b/application/index/controller/Home.php @@ -35,6 +35,7 @@ class Home extends Controller{ 'extLimit' => $extLimit, 'policyData' => $policyData, 'groupData' => $groupData, + 'path' => input("?get.path")?input("get.path"):"", ]); } diff --git a/application/index/view/home/home.html b/application/index/view/home/home.html index 8a0b3a8e..872d4146 100644 --- a/application/index/view/home/home.html +++ b/application/index/view/home/home.html @@ -38,6 +38,15 @@ download:"/File/Download", docPreiview:'/File/DocPreview', }; + userInfo={ + uid:{$userInfo.uid}, + nick:"{$userInfo.userNick}", + email:"{$userInfo.userMail}", + group:"{$userInfo.groupData.group_name}", + groupId:{$userInfo.groupData.id}, + groupColor:"{$userInfo.groupData.color}", + }; + path = "{$path}"; mediaType = {}