mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Clean code
This commit is contained in:
parent
ad8503cd28
commit
a6ef430ca1
|
|
@ -24,13 +24,11 @@
|
|||
|
||||
// Load Dolibarr environment
|
||||
require '../../main.inc.php';
|
||||
|
||||
global $langs, $user, $conf;
|
||||
|
||||
// Libraries
|
||||
require_once DOL_DOCUMENT_ROOT."/core/lib/admin.lib.php";
|
||||
require_once '../lib/ai.lib.php';
|
||||
|
||||
$langs->loadLangs(array("admin"));
|
||||
|
||||
// Parameters
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
$backtopage = GETPOST('backtopage', 'alpha');
|
||||
|
|
|
|||
|
|
@ -24,13 +24,11 @@
|
|||
|
||||
// Load Dolibarr environment
|
||||
require '../../main.inc.php';
|
||||
|
||||
global $langs, $user;
|
||||
|
||||
// Libraries
|
||||
require_once DOL_DOCUMENT_ROOT."/core/lib/admin.lib.php";
|
||||
require_once '../lib/ai.lib.php';
|
||||
|
||||
$langs->loadLangs(array("admin"));
|
||||
|
||||
// Parameters
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
$backtopage = GETPOST('backtopage', 'alpha');
|
||||
|
|
|
|||
|
|
@ -2433,4 +2433,12 @@ UrlPublicInterfaceLabelAdmin=Alternative URL for public interface
|
|||
UrlPublicInterfaceHelpAdmin=It is possible to define an alias to the web server and thus make available the public interface with another URL (the virtual host server must act as a proxy on the standard URL)
|
||||
ExportUseForce=Use the parameter -f
|
||||
ExportUseForceHelp=Force to continue the export even when an error is found (Backup may not be reliable)
|
||||
CustomPrompt=Custom prompts
|
||||
CustomPrompt=Custom prompts
|
||||
AiDescription=AI (Artificial Intelligence) features
|
||||
AiDescriptionLong=Provides AI (Artificial Intelligence) features in different part of the application. Need external AI API.
|
||||
AI_KEY_API_CHATGPT= Key for ChatGPT IA api
|
||||
AiSetup=AI module setup
|
||||
AiCustomPrompt=AI customs prompt
|
||||
AI_CONFIGURATIONS_PROMPT=Custom prompt
|
||||
ImageGeneration=Image generation
|
||||
AIPromptForFeatures=AI custom prompts for features
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
AiDescription=AI (Artificial Intelligence) features
|
||||
AiDescriptionLong=Provides AI (Artificial Intelligence) features in different part of the application. Need external AI API.
|
||||
AI_KEY_API_CHATGPT= Key for ChatGPT IA api
|
||||
AiSetup=AI module setup
|
||||
AiCustomPrompt=AI customs prompt
|
||||
AI_CONFIGURATIONS_PROMPT=Custom prompt
|
||||
ImageGeneration=Image generation
|
||||
AIPromptForFeatures=AI custom prompts for features
|
||||
Loading…
Reference in New Issue
Block a user