From fee93cdc8a3f99a93bcf9e5f9d77f362a4dd6c12 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Thu, 4 Sep 2025 15:31:49 +0800 Subject: [PATCH] * [task#149199] modify the page title and highlight the 2-level nav. --- module/ai/control.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module/ai/control.php b/module/ai/control.php index e8ae20152c..f761ac11a5 100644 --- a/module/ai/control.php +++ b/module/ai/control.php @@ -296,6 +296,9 @@ class ai extends control */ public function miniPrograms($category = '', $status = '', $orderBy = 'createdDate_desc', $recTotal = 0, $recPerPage = 15, $pageID = 1) { + $this->lang->aiapp->menu->generalAgent['subModule'] = 'ai'; + $this->lang->aiapp->menu->generalAgent['alias'] = 'miniprograms'; + $this->app->loadClass('pager', true); $pager = new pager($recTotal, $recPerPage, $pageID); $order = common::appendOrder($orderBy); @@ -312,7 +315,8 @@ class ai extends control : $this->lang->ai->miniPrograms->statuses['draft']; } - $this->view->title = $this->lang->ai->miniPrograms->common; + $this->app->loadLang('aiapp'); + $this->view->title = $this->lang->aiapp->manageGeneralAgent; $this->view->miniPrograms = $programs; $this->view->category = $category; $this->view->categoryList = $categoryList;