diff --git a/themes/tajian/controller/MyController.php b/themes/tajian/controller/MyController.php index 73b752e..509061a 100644 --- a/themes/tajian/controller/MyController.php +++ b/themes/tajian/controller/MyController.php @@ -102,9 +102,16 @@ Class MyController extends SiteController { //管理收藏 public function actionFavs() { + //分类筛选支持 + $selectTag = $this->get('tag', ''); + $searchKeyword = $this->get('keyword', ''); + if (!empty($searchKeyword)) { + $searchKeyword = Common::cleanSpecialChars($searchKeyword); + } + $defaultTitle = "管理收藏"; $viewName = 'favs'; - return $this->actionIndex($viewName, $defaultTitle); + return $this->actionIndex($viewName, $defaultTitle, compact('selectTag', 'searchKeyword')); } //分享收藏夹 diff --git a/themes/tajian/views/my/favs.php b/themes/tajian/views/my/favs.php index 6c376c1..d253b77 100644 --- a/themes/tajian/views/my/favs.php +++ b/themes/tajian/views/my/favs.php @@ -34,6 +34,23 @@ $allTags = Html::getTagNames($viewData['tags']);

你已收藏 个视频

勾选视频下方的分类,将该视频归类到对应的分类;取消勾选,则将视频从该分类中移除。

+ +
+ + + +
+