mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 09:08:09 +01:00
Disable spellcheck on textarea to define path of dirs
This commit is contained in:
@@ -147,7 +147,7 @@ class doc_generic_asset_odt extends ModelePDFAsset
|
||||
if (!getDolGlobalString('MAIN_NO_MULTIDIR_FOR_ODT')) {
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('ASSET_ASSET_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -142,7 +142,7 @@ class doc_generic_bom_odt extends ModelePDFBom
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('BOM_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -153,7 +153,7 @@ class doc_generic_order_odt extends ModelePDFCommandes
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('COMMANDE_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -52,7 +52,7 @@ class doc_generic_contract_odt extends ModelePDFContract
|
||||
*/
|
||||
public function __construct($db)
|
||||
{
|
||||
global $conf, $langs, $mysoc;
|
||||
global $langs, $mysoc;
|
||||
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array("main", "companies"));
|
||||
@@ -147,7 +147,7 @@ class doc_generic_contract_odt extends ModelePDFContract
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('CONTRACT_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -150,7 +150,7 @@ class doc_generic_shipment_odt extends ModelePdfExpedition
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('EXPEDITION_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -149,7 +149,7 @@ class doc_generic_invoice_odt extends ModelePDFFactures
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('FACTURE_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -146,7 +146,7 @@ class doc_generic_member_odt extends ModelePDFMember
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('MEMBER_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -149,7 +149,7 @@ class doc_generic_mo_odt extends ModelePDFMo
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('MRP_MO_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -147,7 +147,7 @@ class doc_generic_product_odt extends ModelePDFProduct
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('PRODUCT_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -438,7 +438,7 @@ class doc_generic_project_odt extends ModelePDFProjects
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('PROJECT_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -406,7 +406,7 @@ class doc_generic_task_odt extends ModelePDFTask
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('PROJECT_TASK_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -157,7 +157,7 @@ class doc_generic_proposal_odt extends ModelePDFPropales
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= $odtPath;
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -144,7 +144,7 @@ class doc_generic_reception_odt extends ModelePdfReception
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('RECEPTION_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -142,7 +142,7 @@ class doc_generic_odt extends ModeleThirdPartyDoc
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
//$texte .= '<table><tr><td>';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('COMPANY_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
//$texte .= '</td>';
|
||||
|
||||
@@ -154,7 +154,7 @@ class mod_codecompta_digitaria extends ModeleAccountancyCode
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1);
|
||||
$texte .= "<br>\n";
|
||||
$texte .= '<textarea class="flat" cols="60" name="value5">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value5">';
|
||||
if (getDolGlobalString('COMPANY_DIGITARIA_CLEAN_WORDS')) {
|
||||
$texte .= $conf->global->COMPANY_DIGITARIA_CLEAN_WORDS;
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ class doc_generic_stock_odt extends ModelePDFStock
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('STOCK_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -159,7 +159,7 @@ class doc_generic_supplier_invoice_odt extends ModelePDFSuppliersInvoices
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('SUPPLIER_INVOICE_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -156,7 +156,7 @@ class doc_generic_supplier_order_odt extends ModelePDFSuppliersOrders
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('SUPPLIER_ORDER_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -156,7 +156,7 @@ class doc_generic_supplier_proposal_odt extends ModelePDFSupplierProposal
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= $odtPath;
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -144,7 +144,7 @@ class doc_generic_ticket_odt extends ModelePDFTicket
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= getDolGlobalString('TICKET_ADDON_PDF_ODT_PATH');
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -155,7 +155,7 @@ class doc_generic_user_odt extends ModelePDFUser
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= $odtPath;
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
@@ -156,7 +156,7 @@ class doc_generic_usergroup_odt extends ModelePDFUserGroup
|
||||
|
||||
$texte .= $form->textwithpicto($texttitle, $texthelp, 1, 'help', '', 1, 3, $this->name);
|
||||
$texte .= '<div><div style="display: inline-block; min-width: 100px; vertical-align: middle;">';
|
||||
$texte .= '<textarea class="flat" cols="60" name="value1">';
|
||||
$texte .= '<textarea class="flat textareafordir" spellcheck="false" cols="60" name="value1">';
|
||||
$texte .= $odtPath;
|
||||
$texte .= '</textarea>';
|
||||
$texte .= '</div><div style="display: inline-block; vertical-align: middle;">';
|
||||
|
||||
Reference in New Issue
Block a user