From fdbf04147fcf4b8e6be6e02ed57138f83fb3991f Mon Sep 17 00:00:00 2001 From: liwenrui Date: Wed, 5 Jul 2023 16:04:13 +0800 Subject: [PATCH] * show targetForm properly in prompts list. --- module/ai/view/prompts.html.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/module/ai/view/prompts.html.php b/module/ai/view/prompts.html.php index bd371749da..b8f84d52c2 100644 --- a/module/ai/view/prompts.html.php +++ b/module/ai/view/prompts.html.php @@ -72,7 +72,15 @@ createdBy;?> createdDate;?> - targetForm;?> + + targetForm) + { + $targetFormPath = explode('.', $prompt->targetForm); + if(count($targetFormPath) == 2) echo $lang->ai->targetForm[$targetFormPath[0]]['common'] . ' / ' . $lang->ai->targetForm[$targetFormPath[0]][$targetFormPath[1]]; + } + ?> + desc;?>