-
config->edition != 'open'
? $this->lang->ai->prompts->modules
: array_filter($this->lang->ai->prompts->modules, function($v, $k) use ($promptModules)
{
return in_array($k, $promptModules);
}, ARRAY_FILTER_USE_BOTH);
?>
$moduleName): ?>
- >">
lang->ai->prompts->modules[$module];?>
createLink('ai', 'prompts'), "", '', "class='text-muted'");?>
lang->ai->prompts->statuses as $statusKey => $statusName)
{
echo html::a($this->createLink('ai', 'prompts', "module=$module&status=$statusKey"), "{$this->lang->ai->prompts->statuses[$statusKey]}" . ($status == $statusKey ? '' . $pager->recTotal . '' : '') . "", '' ,"id='status-$statusKey' class='btn btn-link" . ($status == $statusKey ? ' btn-active-text' : '') . "'");
}
?>
config->edition != 'open' && common::hasPriv('ai', 'createprompt')) echo html::a($this->createLink('ai', 'createprompt'), " " . $lang->ai->prompts->create, '', "class='btn btn-primary iframe'");?>