* [task#149199] modify the page title and highlight the 2-level nav.

This commit is contained in:
wangzemei
2025-10-09 13:34:48 +08:00
committed by sunhao
parent 3c076eb360
commit fee93cdc8a
+5 -1
View File
@@ -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;