mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
fix: warning Form IA and settings (#34426)
* fix: warning Form IA and settings * fix: warning Form IA and settings * Update html.formmail.class.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -406,6 +406,7 @@ if ($action == 'edit' || $action == 'create' || $action == 'deleteproperty') {
|
|||||||
$showlinktoailabel = $langs->trans("ToTest");
|
$showlinktoailabel = $langs->trans("ToTest");
|
||||||
$htmlname = $confkey;
|
$htmlname = $confkey;
|
||||||
$onlyenhancements = $confkey;
|
$onlyenhancements = $confkey;
|
||||||
|
$showlinktolayout = 0;
|
||||||
|
|
||||||
// Fill $out
|
// Fill $out
|
||||||
include DOL_DOCUMENT_ROOT.'/core/tpl/formlayoutai.tpl.php';
|
include DOL_DOCUMENT_ROOT.'/core/tpl/formlayoutai.tpl.php';
|
||||||
|
|||||||
@@ -1102,10 +1102,12 @@ class FormMail extends Form
|
|||||||
$showlinktoailabel = $langs->trans("AIEnhancements");
|
$showlinktoailabel = $langs->trans("AIEnhancements");
|
||||||
$formatforouput = '';
|
$formatforouput = '';
|
||||||
$htmlname = 'message';
|
$htmlname = 'message';
|
||||||
|
|
||||||
$formai->substit = $this->substit;
|
$formai->substit = $this->substit;
|
||||||
$formai->substit_lines = $this->substit_lines;
|
$formai->substit_lines = $this->substit_lines;
|
||||||
|
|
||||||
// Fill $out
|
// Fill $out
|
||||||
|
$db = $this->db;
|
||||||
include DOL_DOCUMENT_ROOT.'/core/tpl/formlayoutai.tpl.php';
|
include DOL_DOCUMENT_ROOT.'/core/tpl/formlayoutai.tpl.php';
|
||||||
|
|
||||||
$out .= '</td>';
|
$out .= '</td>';
|
||||||
|
|||||||
Reference in New Issue
Block a user