From dca4cf5987e8228a38df37e0828ac599edc2f479 Mon Sep 17 00:00:00 2001 From: Givriz Date: Mon, 23 Nov 2020 15:12:52 +0100 Subject: [PATCH] Feature : ajout de la class "button-cancel" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajout de la class "button-cancel" suite à l'issue #3756 et achèvement de ma tâche Dolibarr. --- htdocs/accountancy/admin/accountmodel.php | 2 +- htdocs/accountancy/admin/card.php | 4 +-- htdocs/accountancy/admin/categories_list.php | 2 +- htdocs/accountancy/admin/fiscalyear_card.php | 4 +-- htdocs/accountancy/admin/journals_list.php | 2 +- htdocs/accountancy/bookkeeping/card.php | 4 +-- htdocs/accountancy/customer/card.php | 2 +- htdocs/accountancy/customer/lines.php | 2 +- htdocs/accountancy/expensereport/card.php | 2 +- htdocs/accountancy/expensereport/lines.php | 2 +- htdocs/accountancy/supplier/card.php | 2 +- htdocs/accountancy/supplier/lines.php | 2 +- .../default/tpl/adherentcard_edit.tpl.php | 2 +- htdocs/adherents/card.php | 6 ++-- htdocs/adherents/subscription.php | 2 +- htdocs/adherents/subscription/card.php | 2 +- htdocs/adherents/type.php | 4 +-- htdocs/adherents/type_translation.php | 4 +-- htdocs/admin/accountant.php | 2 +- htdocs/admin/defaultvalues.php | 2 +- htdocs/admin/dict.php | 2 +- htdocs/admin/emailcollector_card.php | 6 ++-- htdocs/admin/expensereport_ik.php | 4 +-- htdocs/admin/expensereport_rules.php | 2 +- htdocs/admin/mails.php | 2 +- htdocs/admin/mails_emailing.php | 2 +- htdocs/admin/mails_senderprofile_list.php | 4 +-- htdocs/admin/mails_templates.php | 2 +- htdocs/admin/mails_ticket.php | 2 +- htdocs/admin/menus/edit.php | 4 +-- htdocs/admin/sms.php | 2 +- htdocs/admin/translation.php | 2 +- htdocs/admin/website.php | 2 +- htdocs/asset/card.php | 4 +-- htdocs/asset/type.php | 4 +-- htdocs/bom/bom_card.php | 4 +-- htdocs/bom/tpl/objectline_edit.tpl.php | 2 +- htdocs/bookmarks/card.php | 4 +-- htdocs/categories/card.php | 2 +- htdocs/categories/edit.php | 2 +- htdocs/categories/traduction.php | 4 +-- htdocs/comm/action/card.php | 6 ++-- htdocs/comm/mailing/card.php | 2 +- htdocs/comm/propal/card.php | 2 +- htdocs/comm/remise.php | 2 +- htdocs/comm/remx.php | 2 +- htdocs/commande/card.php | 8 ++--- htdocs/commande/list.php | 2 +- htdocs/compta/bank/bankentries_list.php | 4 +-- htdocs/compta/bank/card.php | 4 +-- htdocs/compta/bank/line.php | 2 +- htdocs/compta/bank/releve.php | 2 +- htdocs/compta/bank/various_payment/card.php | 2 +- .../compta/cashcontrol/cashcontrol_card.php | 4 +-- htdocs/compta/deplacement/card.php | 4 +-- htdocs/compta/facture/card-rec.php | 2 +- htdocs/compta/facture/card.php | 4 +-- htdocs/compta/localtax/card.php | 2 +- htdocs/compta/paiement_charge.php | 2 +- htdocs/compta/sociales/card.php | 4 +-- htdocs/compta/tva/card.php | 2 +- .../default/tpl/contactcard_edit.tpl.php | 2 +- htdocs/contact/card.php | 6 ++-- htdocs/contact/perso.php | 2 +- htdocs/contrat/card.php | 8 ++--- htdocs/core/class/html.form.class.php | 4 +-- htdocs/core/class/html.formfile.class.php | 8 ++--- htdocs/core/class/html.formmail.class.php | 2 +- htdocs/core/class/html.formsms.class.php | 2 +- htdocs/core/class/html.formticket.class.php | 4 +-- htdocs/core/photos_resize.php | 4 +-- htdocs/core/tpl/admin_extrafields_add.tpl.php | 2 +- .../core/tpl/admin_extrafields_edit.tpl.php | 2 +- htdocs/core/tpl/ajax/fileupload_main.tpl.php | 4 +-- .../tpl/ajax/objectlinked_lineimport.tpl.php | 2 +- htdocs/core/tpl/bloc_comment.tpl.php | 2 +- htdocs/core/tpl/objectline_edit.tpl.php | 2 +- htdocs/cron/card.php | 2 +- .../class/actions_datapolicy.class.php | 2 +- htdocs/don/card.php | 4 +-- htdocs/don/payment/payment.php | 2 +- htdocs/ecm/dir_add_card.php | 2 +- htdocs/ecm/dir_card.php | 2 +- htdocs/ecm/file_card.php | 2 +- htdocs/expedition/card.php | 10 +++---- htdocs/expensereport/card.php | 14 ++++----- htdocs/expensereport/payment/payment.php | 2 +- htdocs/fichinter/card-rec.php | 2 +- htdocs/fichinter/card.php | 6 ++-- htdocs/fourn/commande/card.php | 10 +++---- htdocs/fourn/commande/dispatch.php | 2 +- htdocs/fourn/commande/list.php | 2 +- htdocs/fourn/facture/card.php | 2 +- htdocs/fourn/facture/list.php | 2 +- htdocs/holiday/card.php | 4 +-- htdocs/hrm/establishment/card.php | 4 +-- .../intracommreport/admin/intracommreport.php | 2 +- htdocs/intracommreport/card.php | 2 +- htdocs/loan/card.php | 4 +-- htdocs/loan/payment/payment.php | 2 +- htdocs/main.inc.php | 2 +- htdocs/modulebuilder/index.php | 30 +++++++++---------- .../modulebuilder/template/myobject_card.php | 4 +-- htdocs/mrp/mo_card.php | 4 +-- htdocs/mrp/mo_production.php | 2 +- htdocs/opensurvey/card.php | 2 +- htdocs/opensurvey/results.php | 4 +-- htdocs/product/admin/dynamic_prices.php | 4 +-- htdocs/product/admin/price_rules.php | 2 +- .../canvas/product/tpl/card_edit.tpl.php | 2 +- .../canvas/service/tpl/card_edit.tpl.php | 2 +- htdocs/product/card.php | 4 +-- htdocs/product/composition/card.php | 6 ++-- htdocs/product/document.php | 2 +- htdocs/product/fournisseurs.php | 2 +- htdocs/product/inventory/card.php | 4 +-- htdocs/product/inventory/inventory.php | 6 ++-- htdocs/product/price.php | 12 ++++---- htdocs/product/stock/card.php | 4 +-- htdocs/product/stock/product.php | 6 ++-- htdocs/product/stock/productlot_card.php | 2 +- .../product/stock/tpl/stockcorrection.tpl.php | 4 +-- .../product/stock/tpl/stocktransfer.tpl.php | 4 +-- htdocs/product/traduction.php | 4 +-- htdocs/projet/card.php | 6 ++-- htdocs/projet/tasks.php | 2 +- htdocs/projet/tasks/task.php | 2 +- htdocs/projet/tasks/time.php | 8 ++--- htdocs/public/members/new.php | 2 +- htdocs/reception/card.php | 10 +++---- htdocs/reception/list.php | 2 +- .../recruitmentcandidature_card.php | 4 +-- .../recruitmentjobposition_applications.php | 6 ++-- .../recruitmentjobposition_card.php | 4 +-- htdocs/resource/card.php | 2 +- htdocs/salaries/card.php | 2 +- .../canvas/company/tpl/card_edit.tpl.php | 2 +- .../canvas/individual/tpl/card_edit.tpl.php | 2 +- htdocs/societe/card.php | 6 ++-- htdocs/societe/paymentmodes.php | 8 ++--- htdocs/societe/price.php | 8 ++--- htdocs/supplier_proposal/card.php | 8 ++--- htdocs/ticket/card.php | 4 +-- htdocs/ticket/class/actions_ticket.class.php | 2 +- htdocs/user/bank.php | 6 ++-- htdocs/user/card.php | 4 +-- htdocs/user/clicktodial.php | 2 +- htdocs/user/group/card.php | 4 +-- htdocs/user/note.php | 2 +- htdocs/user/param_ihm.php | 2 +- htdocs/variants/admin/admin.php | 2 +- htdocs/variants/card.php | 8 ++--- htdocs/variants/combinations.php | 4 +-- htdocs/variants/create_val.php | 2 +- htdocs/website/index.php | 10 +++---- htdocs/website/websiteaccount_card.php | 4 +-- htdocs/zapier/hook_card.php | 4 +-- 157 files changed, 291 insertions(+), 291 deletions(-) diff --git a/htdocs/accountancy/admin/accountmodel.php b/htdocs/accountancy/admin/accountmodel.php index acec1468d79..2bd2a84841e 100644 --- a/htdocs/accountancy/admin/accountmodel.php +++ b/htdocs/accountancy/admin/accountmodel.php @@ -609,7 +609,7 @@ if ($id) if (empty($reshook)) fieldListAccountModel($fieldlist, $obj, $tabname[$id], 'edit'); print ' '; - print ' '; + print ' '; } else { $tmpaction = 'view'; $parameters = array('var'=>$var, 'fieldlist'=>$fieldlist, 'tabname'=>$tabname[$id]); diff --git a/htdocs/accountancy/admin/card.php b/htdocs/accountancy/admin/card.php index e2142f4fee8..cd17e5a1538 100644 --- a/htdocs/accountancy/admin/card.php +++ b/htdocs/accountancy/admin/card.php @@ -257,7 +257,7 @@ if ($action == 'create') { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -319,7 +319,7 @@ if ($action == 'create') { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/accountancy/admin/categories_list.php b/htdocs/accountancy/admin/categories_list.php index c9adac2f5a3..2e51d3d1b38 100644 --- a/htdocs/accountancy/admin/categories_list.php +++ b/htdocs/accountancy/admin/categories_list.php @@ -705,7 +705,7 @@ if ($id) print ''; print ''; print '
'; - print ''; + print ''; print ''; print ''; } else { diff --git a/htdocs/accountancy/admin/fiscalyear_card.php b/htdocs/accountancy/admin/fiscalyear_card.php index 7f2038b57de..c3b782de583 100644 --- a/htdocs/accountancy/admin/fiscalyear_card.php +++ b/htdocs/accountancy/admin/fiscalyear_card.php @@ -192,7 +192,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -243,7 +243,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/accountancy/admin/journals_list.php b/htdocs/accountancy/admin/journals_list.php index 68a9660a0e9..bb192f0a693 100644 --- a/htdocs/accountancy/admin/journals_list.php +++ b/htdocs/accountancy/admin/journals_list.php @@ -582,7 +582,7 @@ if ($id) print ''; print ''; print ''; - print ''; + print ''; print '
'; print ''; } else { diff --git a/htdocs/accountancy/bookkeeping/card.php b/htdocs/accountancy/bookkeeping/card.php index c2a478c79ec..b250459bdce 100644 --- a/htdocs/accountancy/bookkeeping/card.php +++ b/htdocs/accountancy/bookkeeping/card.php @@ -391,7 +391,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -707,7 +707,7 @@ if ($action == 'create') } print '   '; - print ''.$langs->trans("Cancel").''; + print ''.$langs->trans("Cancel").''; print ""; } diff --git a/htdocs/accountancy/customer/card.php b/htdocs/accountancy/customer/card.php index a14203916f9..118e9b430a4 100644 --- a/htdocs/accountancy/customer/card.php +++ b/htdocs/accountancy/customer/card.php @@ -142,7 +142,7 @@ if (!empty($id)) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/accountancy/customer/lines.php b/htdocs/accountancy/customer/lines.php index 5d35040f6ab..9a78ea3bfc9 100644 --- a/htdocs/accountancy/customer/lines.php +++ b/htdocs/accountancy/customer/lines.php @@ -133,7 +133,7 @@ if (is_array($changeaccount) && count($changeaccount) > 0) { } if (!$error) { $db->commit(); - setEventMessages($langs->trans('Save'), null, 'mesgs'); + setEventMessages($langs->trans("Save"), null, 'mesgs'); } else { $db->rollback(); setEventMessages($db->lasterror(), null, 'errors'); diff --git a/htdocs/accountancy/expensereport/card.php b/htdocs/accountancy/expensereport/card.php index 4ccb2617dd6..3cf680adfbf 100644 --- a/htdocs/accountancy/expensereport/card.php +++ b/htdocs/accountancy/expensereport/card.php @@ -151,7 +151,7 @@ if (!empty($id)) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/accountancy/expensereport/lines.php b/htdocs/accountancy/expensereport/lines.php index a6cf6f2fc14..02a6ce64df2 100644 --- a/htdocs/accountancy/expensereport/lines.php +++ b/htdocs/accountancy/expensereport/lines.php @@ -123,7 +123,7 @@ if (is_array($changeaccount) && count($changeaccount) > 0) { } if (!$error) { $db->commit(); - setEventMessages($langs->trans('Save'), null, 'mesgs'); + setEventMessages($langs->trans("Save"), null, 'mesgs'); } else { $db->rollback(); setEventMessages($db->lasterror(), null, 'errors'); diff --git a/htdocs/accountancy/supplier/card.php b/htdocs/accountancy/supplier/card.php index 12e0c7796c4..f958004b813 100644 --- a/htdocs/accountancy/supplier/card.php +++ b/htdocs/accountancy/supplier/card.php @@ -146,7 +146,7 @@ if (!empty($id)) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/accountancy/supplier/lines.php b/htdocs/accountancy/supplier/lines.php index 903d2188a80..e23d9f9868a 100644 --- a/htdocs/accountancy/supplier/lines.php +++ b/htdocs/accountancy/supplier/lines.php @@ -135,7 +135,7 @@ if (is_array($changeaccount) && count($changeaccount) > 0) { } if (!$error) { $db->commit(); - setEventMessages($langs->trans('Save'), null, 'mesgs'); + setEventMessages($langs->trans("Save"), null, 'mesgs'); } else { $db->rollback(); setEventMessages($db->lasterror(), null, 'errors'); diff --git a/htdocs/adherents/canvas/default/tpl/adherentcard_edit.tpl.php b/htdocs/adherents/canvas/default/tpl/adherentcard_edit.tpl.php index b3c7f59e67e..3259df07b8d 100644 --- a/htdocs/adherents/canvas/default/tpl/adherentcard_edit.tpl.php +++ b/htdocs/adherents/canvas/default/tpl/adherentcard_edit.tpl.php @@ -135,7 +135,7 @@ echo $this->control->tpl['ajax_selectcountry']; ">  - "> + "> diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index 9a122ee6c09..edd553b0d1b 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -978,9 +978,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { print ''; print '  '; if (!empty($backtopage)) { - print ''; + print ''; } else { - print ''; + print ''; } print ''; @@ -1237,7 +1237,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/adherents/subscription.php b/htdocs/adherents/subscription.php index 748ac19814c..611542b8ebc 100644 --- a/htdocs/adherents/subscription.php +++ b/htdocs/adherents/subscription.php @@ -1025,7 +1025,7 @@ if ($rowid > 0) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/adherents/subscription/card.php b/htdocs/adherents/subscription/card.php index 09c9d3c752c..1be08bb5b34 100644 --- a/htdocs/adherents/subscription/card.php +++ b/htdocs/adherents/subscription/card.php @@ -238,7 +238,7 @@ if ($user->rights->adherent->cotisation->creer && $action == 'edit') { print '
'; print ''; print '       '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index 6607d952dd0..d3b918b9849 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -364,7 +364,7 @@ if ($action == 'create') { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print "\n"; @@ -767,7 +767,7 @@ if ($rowid > 0) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ""; diff --git a/htdocs/adherents/type_translation.php b/htdocs/adherents/type_translation.php index c425fefdb4a..e661bde6ea7 100644 --- a/htdocs/adherents/type_translation.php +++ b/htdocs/adherents/type_translation.php @@ -220,7 +220,7 @@ if ($action == 'edit') { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -277,7 +277,7 @@ if ($action == 'add' && $user->rights->adherent->configurer) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/admin/accountant.php b/htdocs/admin/accountant.php index 38d4eff2d3e..7a1d5b66ece 100644 --- a/htdocs/admin/accountant.php +++ b/htdocs/admin/accountant.php @@ -172,7 +172,7 @@ print ''; print '
'; print ''; //print '     '; -//print ''; +//print ''; print '
'; //print '
'; diff --git a/htdocs/admin/defaultvalues.php b/htdocs/admin/defaultvalues.php index a3e015b2d44..789762830e3 100644 --- a/htdocs/admin/defaultvalues.php +++ b/htdocs/admin/defaultvalues.php @@ -385,7 +385,7 @@ if ($result) print ''; print '
'; print ''; - print ''; + print ''; } print ''; diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 43ce69f6e02..a185071c227 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -1462,7 +1462,7 @@ if ($id) if (!is_null($withentity)) print ''; print ''; - print ''; + print ''; print ''; } else { $tmpaction = 'view'; diff --git a/htdocs/admin/emailcollector_card.php b/htdocs/admin/emailcollector_card.php index 35c24a15dac..fd3361515fb 100644 --- a/htdocs/admin/emailcollector_card.php +++ b/htdocs/admin/emailcollector_card.php @@ -266,7 +266,7 @@ if ($action == 'create') { print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -298,7 +298,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; @@ -615,7 +615,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea print '
'; print '
'; print ''; - print ''; + print ''; } else { print $ruleaction['actionparam']; } diff --git a/htdocs/admin/expensereport_ik.php b/htdocs/admin/expensereport_ik.php index 2e00d0d8ff9..968833b764c 100644 --- a/htdocs/admin/expensereport_ik.php +++ b/htdocs/admin/expensereport_ik.php @@ -163,8 +163,8 @@ foreach ($rangesbycateg as $fk_c_exp_tax_cat => $Tab) { if ($action == 'edit' && $range->ik->id == $id && $range->rowid == $fk_range && $range->fk_c_exp_tax_cat == $fk_c_exp_tax_cat) { - echo ''; - echo ''; + echo ''; + echo ''; } else { echo ''.img_edit().''; if (!empty($range->ik->id)) echo ''.img_delete().''; diff --git a/htdocs/admin/expensereport_rules.php b/htdocs/admin/expensereport_rules.php index 9a4bf2804b2..9b56ac5901b 100644 --- a/htdocs/admin/expensereport_rules.php +++ b/htdocs/admin/expensereport_rules.php @@ -309,7 +309,7 @@ foreach ($rules as $rule) echo ''.img_delete().''; } else { echo ' '; - echo ''.$langs->trans('Cancel').''; + echo ''.$langs->trans("Cancel").''; } echo ''; diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index 524d7249963..a89480314a6 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -511,7 +511,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/admin/mails_emailing.php b/htdocs/admin/mails_emailing.php index 353ce632e91..faa72f4fc7c 100644 --- a/htdocs/admin/mails_emailing.php +++ b/htdocs/admin/mails_emailing.php @@ -389,7 +389,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/admin/mails_senderprofile_list.php b/htdocs/admin/mails_senderprofile_list.php index ccaf48f3227..eff7cb24205 100644 --- a/htdocs/admin/mails_senderprofile_list.php +++ b/htdocs/admin/mails_senderprofile_list.php @@ -383,7 +383,7 @@ if ($action != 'create') { print '
'; print ''; print '   '; - print ''; + print ''; print '
'; } } else { @@ -416,7 +416,7 @@ if ($action != 'create') { print '
'; print ''; print '   '; - print ''; + print ''; print '
'; //print ''; } diff --git a/htdocs/admin/mails_templates.php b/htdocs/admin/mails_templates.php index f63af39e985..448d2bb4bfb 100644 --- a/htdocs/admin/mails_templates.php +++ b/htdocs/admin/mails_templates.php @@ -791,7 +791,7 @@ if ($resql) print ''; print ''; print '
'; - print ''; + print ''; print ''; $fieldsforcontent = array('topic', 'joinfiles', 'content'); diff --git a/htdocs/admin/mails_ticket.php b/htdocs/admin/mails_ticket.php index b24bfa2c565..49dc61a270a 100644 --- a/htdocs/admin/mails_ticket.php +++ b/htdocs/admin/mails_ticket.php @@ -366,7 +366,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/admin/menus/edit.php b/htdocs/admin/menus/edit.php index 42130485594..6181754e979 100644 --- a/htdocs/admin/menus/edit.php +++ b/htdocs/admin/menus/edit.php @@ -403,7 +403,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -513,7 +513,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php index 09faea88772..823d4804121 100644 --- a/htdocs/admin/sms.php +++ b/htdocs/admin/sms.php @@ -198,7 +198,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/admin/translation.php b/htdocs/admin/translation.php index 49e10d23af1..f4d50cb6f8d 100644 --- a/htdocs/admin/translation.php +++ b/htdocs/admin/translation.php @@ -343,7 +343,7 @@ if ($mode == 'overwrite') print ''; print ''; print '   '; - print ''; + print ''; } else { print ''.img_edit().''; print '   '; diff --git a/htdocs/admin/website.php b/htdocs/admin/website.php index 208caf85666..0ca4be65910 100644 --- a/htdocs/admin/website.php +++ b/htdocs/admin/website.php @@ -567,7 +567,7 @@ if ($id) if (empty($reshook)) fieldListWebsites($fieldlist, $obj, $tabname[$id], 'edit'); print ' '; - print ' '; + print ' '; } else { $tmpaction = 'view'; $parameters = array('var'=>$var, 'fieldlist'=>$fieldlist, 'tabname'=>$tabname[$id]); diff --git a/htdocs/asset/card.php b/htdocs/asset/card.php index f4bc63f730d..58307781cf2 100644 --- a/htdocs/asset/card.php +++ b/htdocs/asset/card.php @@ -185,7 +185,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -221,7 +221,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/asset/type.php b/htdocs/asset/type.php index 90fcefd5626..fecebb676a8 100644 --- a/htdocs/asset/type.php +++ b/htdocs/asset/type.php @@ -387,7 +387,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print "\n"; @@ -598,7 +598,7 @@ if ($rowid > 0) print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ""; diff --git a/htdocs/bom/bom_card.php b/htdocs/bom/bom_card.php index d8f96ce7f6e..913ba862496 100644 --- a/htdocs/bom/bom_card.php +++ b/htdocs/bom/bom_card.php @@ -280,7 +280,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -314,7 +314,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/bom/tpl/objectline_edit.tpl.php b/htdocs/bom/tpl/objectline_edit.tpl.php index 89c4d98729f..873e7d724b2 100644 --- a/htdocs/bom/tpl/objectline_edit.tpl.php +++ b/htdocs/bom/tpl/objectline_edit.tpl.php @@ -137,7 +137,7 @@ print ''; print '
'; -print ''; +print ''; print ''; print ''; diff --git a/htdocs/bookmarks/card.php b/htdocs/bookmarks/card.php index f67f32fb599..7cc69ac9a61 100644 --- a/htdocs/bookmarks/card.php +++ b/htdocs/bookmarks/card.php @@ -181,7 +181,7 @@ if ($action == 'create') print '
'; print '   '; - print ''; + print ''; print '
'; print ''; @@ -299,7 +299,7 @@ if ($id > 0 && !preg_match('/^add/i', $action)) if ($action == 'edit') { - print '
   
'; + print '
   
'; print ''; } diff --git a/htdocs/categories/card.php b/htdocs/categories/card.php index 590ffe83cf1..feca9c4f204 100644 --- a/htdocs/categories/card.php +++ b/htdocs/categories/card.php @@ -269,7 +269,7 @@ if ($user->rights->categorie->creer) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php index a27295fcd84..49126ea1111 100644 --- a/htdocs/categories/edit.php +++ b/htdocs/categories/edit.php @@ -176,7 +176,7 @@ print ''; print dol_get_fiche_end(); -print '
 
'; +print '
 
'; print ''; diff --git a/htdocs/categories/traduction.php b/htdocs/categories/traduction.php index cef04e7915e..423819c49ac 100644 --- a/htdocs/categories/traduction.php +++ b/htdocs/categories/traduction.php @@ -287,7 +287,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -348,7 +348,7 @@ if ($action == 'add' && ($user->rights->produit->creer || $user->rights->service print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index bc0a514dadb..6dfdf41e679 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -1291,9 +1291,9 @@ if ($action == 'create') print ''; print '     '; if (empty($backtopage)) { - print ''; + print ''; } else { - print ''; + print ''; } print ''; @@ -1774,7 +1774,7 @@ if ($id > 0) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php index 97e072fcdd6..7b401374b07 100644 --- a/htdocs/comm/mailing/card.php +++ b/htdocs/comm/mailing/card.php @@ -1294,7 +1294,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index 3a80ae22306..b2f728ac5f5 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -1788,7 +1788,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ""; diff --git a/htdocs/comm/remise.php b/htdocs/comm/remise.php index 34ac6229ac1..e93944d4fbe 100644 --- a/htdocs/comm/remise.php +++ b/htdocs/comm/remise.php @@ -196,7 +196,7 @@ if ($socid > 0) if (!empty($backtopage)) { print '     '; - print ''; + print ''; } print ''; diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php index 98aa79161fb..57c1cf40114 100644 --- a/htdocs/comm/remx.php +++ b/htdocs/comm/remx.php @@ -385,7 +385,7 @@ if ($socid > 0) if (!empty($backtopage)) { print '     '; - print ''; + print ''; } print ''; } diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index cb629e2c1f9..22c512aa0ed 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -1120,7 +1120,7 @@ if (empty($reshook)) setEventMessages($object->error, $object->errors, 'errors'); } } - } elseif ($action == 'updateline' && $usercancreate && GETPOST('cancel', 'alpha') == $langs->trans('Cancel')) { + } elseif ($action == 'updateline' && $usercancreate && GETPOST('cancel', 'alpha') == $langs->trans("Cancel")) { header('Location: '.$_SERVER['PHP_SELF'].'?id='.$object->id); // Pour reaffichage de la fiche en cours d'edition exit(); } elseif ($action == 'confirm_validate' && $confirm == 'yes' && $usercanvalidate) @@ -1829,7 +1829,7 @@ if ($action == 'create' && $usercancreate) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; // Show origin lines @@ -1986,7 +1986,7 @@ if ($action == 'create' && $usercancreate) ); } - $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('Cancel'), $text, 'confirm_cancel', $formquestion, 0, 1); + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans("Cancel"), $text, 'confirm_cancel', $formquestion, 0, 1); } // Confirmation to delete line @@ -2590,7 +2590,7 @@ if ($action == 'create' && $usercancreate) // Cancel order if ($object->statut == Commande::STATUS_VALIDATED && (!empty($usercanclose) || !empty($usercancancel))) { - print '
'.$langs->trans('Cancel').'
'; + print '
'.$langs->trans("Cancel").'
'; } // Delete order diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 0828971eaa5..14b05b587b3 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -561,7 +561,7 @@ if ($resql) print '
'; print '
'; print ' '; - print ''; + print ''; print '
'; print '
'; } diff --git a/htdocs/compta/bank/bankentries_list.php b/htdocs/compta/bank/bankentries_list.php index f8b978ca4c8..02c89772e94 100644 --- a/htdocs/compta/bank/bankentries_list.php +++ b/htdocs/compta/bank/bankentries_list.php @@ -634,7 +634,7 @@ if ($resql) print ' '.$langs->trans("or").' '; print ''; print ' '.$langs->trans("or").' '; - print ''; + print ''; print ''; // Show last bank statements @@ -741,7 +741,7 @@ if ($resql) }*/ print ''; print '
'; - print ''; + print ''; print ''; print ''; diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 8b086516351..be938d3bf70 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -549,7 +549,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -1033,7 +1033,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/compta/bank/line.php b/htdocs/compta/bank/line.php index dd14ebf4e54..42bddce5d28 100644 --- a/htdocs/compta/bank/line.php +++ b/htdocs/compta/bank/line.php @@ -629,7 +629,7 @@ if ($result) if ($backtopage) { print '   '; - print ''; + print ''; } print ''; diff --git a/htdocs/compta/bank/releve.php b/htdocs/compta/bank/releve.php index 92dd2de75f4..9a534b76320 100644 --- a/htdocs/compta/bank/releve.php +++ b/htdocs/compta/bank/releve.php @@ -305,7 +305,7 @@ if (empty($numref)) print ''; print ''; print ''; - print ''; + print ''; } print ''; diff --git a/htdocs/compta/bank/various_payment/card.php b/htdocs/compta/bank/various_payment/card.php index 62d94dd4aa6..1212f9c9e16 100644 --- a/htdocs/compta/bank/various_payment/card.php +++ b/htdocs/compta/bank/various_payment/card.php @@ -465,7 +465,7 @@ if ($action == 'create') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/compta/cashcontrol/cashcontrol_card.php b/htdocs/compta/cashcontrol/cashcontrol_card.php index c396765f07a..ad88e928b6b 100644 --- a/htdocs/compta/cashcontrol/cashcontrol_card.php +++ b/htdocs/compta/cashcontrol/cashcontrol_card.php @@ -567,7 +567,7 @@ if ($action == "create" || $action == "start" || $action == 'close') }*/ // Save print ''; - print ''; + print ''; if ($action == 'start') print ''; elseif ($action == 'close') print ''; print ''; @@ -853,7 +853,7 @@ if (empty($action) || $action == "view" || $action == "close") } // Save print ''; - print ''; + print ''; if ($action == 'start') print ''; elseif ($action == 'close') print ''; print ''; diff --git a/htdocs/compta/deplacement/card.php b/htdocs/compta/deplacement/card.php index 29c22be11a2..0a18d68b5db 100644 --- a/htdocs/compta/deplacement/card.php +++ b/htdocs/compta/deplacement/card.php @@ -280,7 +280,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -376,7 +376,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/compta/facture/card-rec.php b/htdocs/compta/facture/card-rec.php index 0197c7e4f70..c191c87f219 100644 --- a/htdocs/compta/facture/card-rec.php +++ b/htdocs/compta/facture/card-rec.php @@ -1145,7 +1145,7 @@ if ($action == 'create') print '
'; print '     '; - print ''; + print ''; print '
'; print "\n"; } else { diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index ec89b662de0..101b0aa82e6 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -2429,7 +2429,7 @@ if (empty($reshook)) } else $object->update_percent($line, $_POST['all_progress']); } } - } elseif ($action == 'updateline' && $usercancreate && $_POST['cancel'] == $langs->trans('Cancel')) { + } elseif ($action == 'updateline' && $usercancreate && $_POST['cancel'] == $langs->trans("Cancel")) { header('Location: '.$_SERVER["PHP_SELF"].'?facid='.$id); // To show again edited page exit(); } // Outing situation invoice from cycle @@ -3631,7 +3631,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; // Show origin lines diff --git a/htdocs/compta/localtax/card.php b/htdocs/compta/localtax/card.php index 8c0b388b456..ec365ac68e7 100644 --- a/htdocs/compta/localtax/card.php +++ b/htdocs/compta/localtax/card.php @@ -203,7 +203,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index f091c214cd8..b9aa625c06d 100644 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -331,7 +331,7 @@ if ($action == 'create') print '
'.$langs->trans("ClosePaidContributionsAutomatically"); print '
'; print '     '; - print ''; + print ''; print '
'; print "\n"; diff --git a/htdocs/compta/sociales/card.php b/htdocs/compta/sociales/card.php index 49189ce2067..0bb6c3ed09e 100644 --- a/htdocs/compta/sociales/card.php +++ b/htdocs/compta/sociales/card.php @@ -376,7 +376,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -683,7 +683,7 @@ if ($id > 0) print '
'; print ''; print '   '; - print ''; + print ''; print '
'; } diff --git a/htdocs/compta/tva/card.php b/htdocs/compta/tva/card.php index ee96d32af1e..493f01ee53c 100644 --- a/htdocs/compta/tva/card.php +++ b/htdocs/compta/tva/card.php @@ -298,7 +298,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/contact/canvas/default/tpl/contactcard_edit.tpl.php b/htdocs/contact/canvas/default/tpl/contactcard_edit.tpl.php index 4823b801f26..2c82a868ed4 100644 --- a/htdocs/contact/canvas/default/tpl/contactcard_edit.tpl.php +++ b/htdocs/contact/canvas/default/tpl/contactcard_edit.tpl.php @@ -153,7 +153,7 @@ if (!empty($this->control->tpl['contact_element'])) { ">  - "> + "> diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index 495271e339b..bd97f88ff65 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -879,10 +879,10 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) if (!empty($backtopage)) { print '     '; - print ''; + print ''; } else { print '     '; - print ''; + print ''; } print ''; @@ -1240,7 +1240,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ""; diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php index 579edd9adfc..0555eb84719 100644 --- a/htdocs/contact/perso.php +++ b/htdocs/contact/perso.php @@ -209,7 +209,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ""; diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php index 799827a4ebb..999525f6012 100644 --- a/htdocs/contrat/card.php +++ b/htdocs/contrat/card.php @@ -1202,7 +1202,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; if (is_object($objectsrc)) @@ -1700,7 +1700,7 @@ if ($action == 'create') } print ''; print ''; - print '
'; + print '
'; print ''; print ''; @@ -1910,7 +1910,7 @@ if ($action == 'create') print ''.$langs->trans("Comment").''; print ''; print '   '; - print ''; + print ''; print ''; print ''; @@ -1968,7 +1968,7 @@ if ($action == 'create') print ''.$langs->trans("Comment").''; print ''; print '   '; - print ''; + print ''; print ''; print ''; diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 15cfa9e5771..5c0dc99112d 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -255,7 +255,7 @@ class Form //else $ret.='
'; $ret .= ''; if (preg_match('/ckeditor|textarea/', $typeofdata) && empty($notabletag)) $ret .= '
'."\n"; - $ret .= ''; + $ret .= ''; if (empty($notabletag)) $ret .= ''; if (empty($notabletag)) $ret .= ''."\n"; @@ -7117,7 +7117,7 @@ class Form $i++; } print ''; - print '
     
'; + print '
     
'; print ''; $this->db->free($resqllist); diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index f7a24c56c8e..437cef27afc 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -188,7 +188,7 @@ class FormFile if ($addcancel) { $out .= '   '; - $out .= ''; + $out .= ''; } if (!empty($conf->global->MAIN_UPLOAD_DOC)) @@ -1363,7 +1363,7 @@ class FormFile print ''; print ''; print ''; - print ''; + print ''; print ''; if (empty($disablemove)) print ''; } @@ -1853,8 +1853,8 @@ class FormFile print ''.dol_print_date(dol_now(), "dayhour", "tzuser").''; print ''; print ''; - print ''; - print ''; + print ''; + print ''; print ''; } else { print ''; diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 420ad549413..999a5866c22 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -1022,7 +1022,7 @@ class FormMail extends Form if ($this->withcancel) { $out .= '     '; - $out .= ''; + $out .= ''; } $out .= ''."\n"; } diff --git a/htdocs/core/class/html.formsms.class.php b/htdocs/core/class/html.formsms.class.php index c6ffa4e092c..2ef3545d335 100644 --- a/htdocs/core/class/html.formsms.class.php +++ b/htdocs/core/class/html.formsms.class.php @@ -342,7 +342,7 @@ function limitChars(textarea, limit, infodiv) if ($this->withcancel) { print '     '; - print ''; + print ''; } print ''; diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 8b1618c8da9..cd224d55082 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -428,7 +428,7 @@ class FormTicket print ''; if ($this->withcancel) { print "      "; - print "trans("Cancel")."\">"; + print ''; } print ''; @@ -1075,7 +1075,7 @@ class FormTicket print ''; if ($this->withcancel) { print "     "; - print "trans("Cancel")."\">"; + print ''; } print "\n"; diff --git a/htdocs/core/photos_resize.php b/htdocs/core/photos_resize.php index 3ceef18d8ae..0dacab15f3f 100644 --- a/htdocs/core/photos_resize.php +++ b/htdocs/core/photos_resize.php @@ -455,7 +455,7 @@ print ''; print '
'; print ''; print ' '; -print ''; +print ''; print ''."\n"; print ''; print '
'."\n"; @@ -514,7 +514,7 @@ if (!empty($conf->use_javascript_ajax))
  - + '."\n"; print ''."\n"; print '
'; diff --git a/htdocs/core/tpl/admin_extrafields_add.tpl.php b/htdocs/core/tpl/admin_extrafields_add.tpl.php index a4533681b16..2a9438f4413 100644 --- a/htdocs/core/tpl/admin_extrafields_add.tpl.php +++ b/htdocs/core/tpl/admin_extrafields_add.tpl.php @@ -214,7 +214,7 @@ $listofexamplesforlink = 'Societe:societe/class/societe.class.php
Contact:con
">      -">
+"> diff --git a/htdocs/core/tpl/admin_extrafields_edit.tpl.php b/htdocs/core/tpl/admin_extrafields_edit.tpl.php index 364ebbf45d8..58c18bfc3e8 100644 --- a/htdocs/core/tpl/admin_extrafields_edit.tpl.php +++ b/htdocs/core/tpl/admin_extrafields_edit.tpl.php @@ -303,7 +303,7 @@ if (in_array($type, array_keys($typewecanchangeinto)))
">      -">
+"> diff --git a/htdocs/core/tpl/ajax/fileupload_main.tpl.php b/htdocs/core/tpl/ajax/fileupload_main.tpl.php index 8aab549bf33..6b7e21b5261 100644 --- a/htdocs/core/tpl/ajax/fileupload_main.tpl.php +++ b/htdocs/core/tpl/ajax/fileupload_main.tpl.php @@ -38,7 +38,7 @@ window.locale = { }, "error": "trans('Error'); ?>", "start": "trans('Start'); ?>", - "cancel": "trans('Cancel'); ?>", + "cancel": "trans("Cancel"); ?>", "destroy": "trans('Delete'); ?>" } }; @@ -82,7 +82,7 @@ $(function () { }); } }, - "trans('Cancel'); ?>": function() { + "trans("Cancel"); ?>": function() { $( "#confirm-delete" ).dialog( "close" ); } } diff --git a/htdocs/core/tpl/ajax/objectlinked_lineimport.tpl.php b/htdocs/core/tpl/ajax/objectlinked_lineimport.tpl.php index a12ea47fdb0..119e27a705b 100644 --- a/htdocs/core/tpl/ajax/objectlinked_lineimport.tpl.php +++ b/htdocs/core/tpl/ajax/objectlinked_lineimport.tpl.php @@ -83,7 +83,7 @@ $(document).ready(function(){ $("#" + formId).append(''); $("#" + formId).submit(); }, - "trans('Cancel'); ?>": function() { + "trans("Cancel"); ?>": function() { $( this ).dialog( "close" ); } } diff --git a/htdocs/core/tpl/bloc_comment.tpl.php b/htdocs/core/tpl/bloc_comment.tpl.php index e78a5a7734e..6dae2c713f2 100644 --- a/htdocs/core/tpl/bloc_comment.tpl.php +++ b/htdocs/core/tpl/bloc_comment.tpl.php @@ -119,7 +119,7 @@ if (!empty($object->comments)) if ($action === 'editcomment' && $comment->id == $idcomment) { print ''; - print ''; + print ''; print ''; } else { diff --git a/htdocs/core/tpl/objectline_edit.tpl.php b/htdocs/core/tpl/objectline_edit.tpl.php index fc6ef24bd59..cb72107cb89 100644 --- a/htdocs/core/tpl/objectline_edit.tpl.php +++ b/htdocs/core/tpl/objectline_edit.tpl.php @@ -256,7 +256,7 @@ $coldisplay++; ">
- "> + "> diff --git a/htdocs/cron/card.php b/htdocs/cron/card.php index 2e6281cbcf4..b0e5936d326 100644 --- a/htdocs/cron/card.php +++ b/htdocs/cron/card.php @@ -517,7 +517,7 @@ if (($action == "create") || ($action == "edit")) print '
'; print ''; print '     '; - print ''; + print ''; print "
"; print "\n"; diff --git a/htdocs/datapolicy/class/actions_datapolicy.class.php b/htdocs/datapolicy/class/actions_datapolicy.class.php index 1eb2ea9701b..d6c16a6be4e 100644 --- a/htdocs/datapolicy/class/actions_datapolicy.class.php +++ b/htdocs/datapolicy/class/actions_datapolicy.class.php @@ -348,7 +348,7 @@ class ActionsDatapolicy window.open(href); $( this ).dialog( "close" ); }, - "' . $langs->trans('Cancel').'": function() { + "' . $langs->trans("Cancel").'": function() { $( this ).dialog( "close" ); } } diff --git a/htdocs/don/card.php b/htdocs/don/card.php index b5c58001d09..01c6fdf30b8 100644 --- a/htdocs/don/card.php +++ b/htdocs/don/card.php @@ -493,7 +493,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print "\n"; @@ -620,7 +620,7 @@ if (!empty($id) && $action == 'edit') print dol_get_fiche_end(); - print '
   
'; + print '
   
'; print "\n"; } diff --git a/htdocs/don/payment/payment.php b/htdocs/don/payment/payment.php index 0046a658707..9f944fe65b3 100644 --- a/htdocs/don/payment/payment.php +++ b/htdocs/don/payment/payment.php @@ -301,7 +301,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print "\n"; diff --git a/htdocs/ecm/dir_add_card.php b/htdocs/ecm/dir_add_card.php index 436e87714a2..a2726a1ba75 100644 --- a/htdocs/ecm/dir_add_card.php +++ b/htdocs/ecm/dir_add_card.php @@ -256,7 +256,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; } diff --git a/htdocs/ecm/dir_card.php b/htdocs/ecm/dir_card.php index 078eee7699c..9dc6977f1e4 100644 --- a/htdocs/ecm/dir_card.php +++ b/htdocs/ecm/dir_card.php @@ -438,7 +438,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; } diff --git a/htdocs/ecm/file_card.php b/htdocs/ecm/file_card.php index 7e2df52ed62..496afbf8568 100644 --- a/htdocs/ecm/file_card.php +++ b/htdocs/ecm/file_card.php @@ -395,7 +395,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php index af1c06d8214..facd5ee1d14 100644 --- a/htdocs/expedition/card.php +++ b/htdocs/expedition/card.php @@ -804,7 +804,7 @@ if (empty($reshook)) header('Location: '.$_SERVER['PHP_SELF'].'?id='.$object->id); // To redisplay the form being edited exit(); } - } elseif ($action == 'updateline' && $user->rights->expedition->creer && GETPOST('cancel', 'alpha') == $langs->trans('Cancel')) { + } elseif ($action == 'updateline' && $user->rights->expedition->creer && GETPOST('cancel', 'alpha') == $langs->trans("Cancel")) { header('Location: '.$_SERVER['PHP_SELF'].'?id='.$object->id); // To redisplay the form being edited exit(); } @@ -1551,7 +1551,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -1789,7 +1789,7 @@ if ($action == 'create') print ''; print $formproduct->selectMeasuringUnits("weight_units", "weight", $object->weight_units, 0, 2); print ' '; - print ' '; + print ' '; print ''; } else { print $object->trueWeight; @@ -1822,7 +1822,7 @@ if ($action == 'create') print ''; print $formproduct->selectMeasuringUnits("size_units", "size", $object->size_units, 0, 2); print ' '; - print ' '; + print ' '; print ''; } else { print $object->trueHeight; @@ -2361,7 +2361,7 @@ if ($action == 'create') { print ''; print '
'; - print '
'; + print '
'; print ''; } elseif ($object->statut == Expedition::STATUS_DRAFT) { diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php index baf77227163..83e1173fcb4 100644 --- a/htdocs/expensereport/card.php +++ b/htdocs/expensereport/card.php @@ -1487,7 +1487,7 @@ if ($action == 'create') print '
'; print ''; - print '     '; + print '     '; print '
'; print ''; @@ -1620,7 +1620,7 @@ if ($action == 'create') print '
'; print ''; - print '     '; + print '     '; print '
'; print ''; @@ -2353,8 +2353,8 @@ if ($action == 'create') print ''; print ''; - print ''; - print '
'; + print ''; + print '
'; print ''; print ''; @@ -2648,7 +2648,7 @@ if ($action != 'create' && $action != 'edit') if ($user->id == $object->fk_user_author || $user->id == $object->fk_user_valid) { // Cancel - print '
id.'">'.$langs->trans('Cancel').'
'; + print '
id.'">'.$langs->trans("Cancel").'
'; } } @@ -2686,14 +2686,14 @@ if ($action != 'create' && $action != 'edit') if ($user->rights->expensereport->creer && ($user->id == $object->fk_user_author || $user->id == $object->fk_user_valid) && $object->status == ExpenseReport::STATUS_APPROVED) { // Cancel - print '
id.'">'.$langs->trans('Cancel').'
'; + print '
id.'">'.$langs->trans("Cancel").'
'; } // TODO Replace this. It should be SetUnpaid and should go back to status unpaid not canceled. if (($user->rights->expensereport->approve || $user->rights->expensereport->to_paid) && $object->status == ExpenseReport::STATUS_CLOSED) { // Cancel - print '
id.'">'.$langs->trans('Cancel').'
'; + print '
id.'">'.$langs->trans("Cancel").'
'; } if ($user->rights->expensereport->to_paid && $object->paid && $object->status == ExpenseReport::STATUS_CLOSED) diff --git a/htdocs/expensereport/payment/payment.php b/htdocs/expensereport/payment/payment.php index 4da5eef07be..fdaeaf68977 100644 --- a/htdocs/expensereport/payment/payment.php +++ b/htdocs/expensereport/payment/payment.php @@ -348,7 +348,7 @@ if ($action == 'create' || empty($action)) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print "\n"; diff --git a/htdocs/fichinter/card-rec.php b/htdocs/fichinter/card-rec.php index 975a5dc9698..f245084f8db 100644 --- a/htdocs/fichinter/card-rec.php +++ b/htdocs/fichinter/card-rec.php @@ -421,7 +421,7 @@ if ($action == 'create') { print '
'; print '     '; - print ''; + print ''; print '
'; print "\n"; } else { diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index fa5259a4f8e..172455c2c35 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1013,7 +1013,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -1055,7 +1055,7 @@ if ($action == 'create') print ''; print ''; print '     '; - print ''; + print ''; print ''; print ''; @@ -1479,7 +1479,7 @@ if ($action == 'create') print ''; print ''; - print ''; + print ''; print ''."\n"; $line = new FichinterLigne($db); diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php index b4f3570ff34..e03fae8857d 100644 --- a/htdocs/fourn/commande/card.php +++ b/htdocs/fourn/commande/card.php @@ -1772,7 +1772,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; @@ -2597,7 +2597,7 @@ if ($action == 'create') print ''; print ''; print '     '; - print ''; + print ''; print ''; print ''; @@ -2717,7 +2717,7 @@ if ($action == 'create') if ($error_occurred) { print "
".$langs->trans("ErrorOccurredReviseAndRetry")."
"; - print ''; + print ''; } else { $textinput_size = "50"; // Webservice url @@ -2731,7 +2731,7 @@ if ($action == 'create') print ''; print '     '; //Cancel button - print ''; + print ''; print ''; } @@ -2862,7 +2862,7 @@ if ($action == 'create') print ''; print '     '; } - print ''; + print ''; print ''; } } diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php index 2b79a234a69..4dc090a85b6 100644 --- a/htdocs/fourn/commande/dispatch.php +++ b/htdocs/fourn/commande/dispatch.php @@ -1309,7 +1309,7 @@ if ($id > 0 || !empty($ref)) { print ''; print ''; print ''; - print ''; + print ''; print ''; } diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php index a46c900e215..e63ad81d891 100644 --- a/htdocs/fourn/commande/list.php +++ b/htdocs/fourn/commande/list.php @@ -750,7 +750,7 @@ if ($resql) print '
'; print '
'; print ' '; - print ''; + print ''; print '
'; print '
'; } diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index 709cbdb84f7..76a43475616 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -2196,7 +2196,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print "\n"; diff --git a/htdocs/fourn/facture/list.php b/htdocs/fourn/facture/list.php index 6b5c6cb67db..39b91f42b09 100644 --- a/htdocs/fourn/facture/list.php +++ b/htdocs/fourn/facture/list.php @@ -578,7 +578,7 @@ if ($resql) print '
'; print '
'; print ' '; - print ''; + print ''; print '
'; print '
'; } diff --git a/htdocs/holiday/card.php b/htdocs/holiday/card.php index 02a4ba89e2b..7248f385994 100644 --- a/htdocs/holiday/card.php +++ b/htdocs/holiday/card.php @@ -1099,7 +1099,7 @@ if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') print '
'; print ''; print '    '; - print ''; + print ''; print '
'; print ''."\n"; @@ -1357,7 +1357,7 @@ if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') if ($action == 'editvalidator') { print ''; - print ''; + print ''; } print ''; print ''; diff --git a/htdocs/hrm/establishment/card.php b/htdocs/hrm/establishment/card.php index 9f62fe96c70..15fd44e2c3b 100644 --- a/htdocs/hrm/establishment/card.php +++ b/htdocs/hrm/establishment/card.php @@ -246,7 +246,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -329,7 +329,7 @@ if (($id || $ref) && $action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/intracommreport/admin/intracommreport.php b/htdocs/intracommreport/admin/intracommreport.php index c9968c14215..9947e844e40 100644 --- a/htdocs/intracommreport/admin/intracommreport.php +++ b/htdocs/intracommreport/admin/intracommreport.php @@ -195,7 +195,7 @@ print ''; print '
'; print '
'; -print ''; +print ''; print '
'; print '
'; diff --git a/htdocs/intracommreport/card.php b/htdocs/intracommreport/card.php index 181cfac0cf6..668eca12674 100644 --- a/htdocs/intracommreport/card.php +++ b/htdocs/intracommreport/card.php @@ -160,7 +160,7 @@ if ($action == 'create') print dol_get_fiche_end(); print '
'; - print '     '; + print '     '; print '
'; print ''; diff --git a/htdocs/loan/card.php b/htdocs/loan/card.php index d8e2e3471df..17454356c76 100644 --- a/htdocs/loan/card.php +++ b/htdocs/loan/card.php @@ -372,7 +372,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -723,7 +723,7 @@ if ($id > 0) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/loan/payment/payment.php b/htdocs/loan/payment/payment.php index 753e58d7ae5..1793854631e 100644 --- a/htdocs/loan/payment/payment.php +++ b/htdocs/loan/payment/payment.php @@ -397,7 +397,7 @@ if ($action == 'create') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print "\n"; diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index f26fb9a342d..d6999dba6e7 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1412,7 +1412,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr print 'var urlLoadInPlace = \''.DOL_URL_ROOT.'/core/ajax/loadinplace.php\';'."\n"; print 'var tooltipInPlace = \''.$langs->transnoentities('ClickToEdit').'\';'."\n"; // Added in title attribute of span print 'var placeholderInPlace = \' \';'."\n"; // If we put another string than $langs->trans("ClickToEdit") here, nothing is shown. If we put empty string, there is error, Why ? - print 'var cancelInPlace = \''.$langs->trans('Cancel').'\';'."\n"; + print 'var cancelInPlace = \''.$langs->trans("Cancel").'\';'."\n"; print 'var submitInPlace = \''.$langs->trans('Ok').'\';'."\n"; print 'var indicatorInPlace = \'theme."/img/working.gif".'">\';'."\n"; print 'var withInPlace = 300;'; // width in pixel for default string edit diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index 61f97ff6e2a..babce9eba15 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -2015,7 +2015,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -2080,7 +2080,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -2213,7 +2213,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -2760,7 +2760,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -2804,7 +2804,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -2943,7 +2943,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3039,7 +3039,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3096,7 +3096,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3164,7 +3164,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3212,7 +3212,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3260,7 +3260,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3315,7 +3315,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3397,7 +3397,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3514,7 +3514,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; @@ -3574,7 +3574,7 @@ if ($module == 'initmodule') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/modulebuilder/template/myobject_card.php b/htdocs/modulebuilder/template/myobject_card.php index de76d482be2..cc6630c5a01 100644 --- a/htdocs/modulebuilder/template/myobject_card.php +++ b/htdocs/modulebuilder/template/myobject_card.php @@ -237,7 +237,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -272,7 +272,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/mrp/mo_card.php b/htdocs/mrp/mo_card.php index 4db2db6c9c1..a95d92d67a1 100644 --- a/htdocs/mrp/mo_card.php +++ b/htdocs/mrp/mo_card.php @@ -290,7 +290,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; if (GETPOST('fk_bom', 'int') > 0) { @@ -340,7 +340,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/mrp/mo_production.php b/htdocs/mrp/mo_production.php index 53b1dfa6f8c..c1b6fa64ec8 100644 --- a/htdocs/mrp/mo_production.php +++ b/htdocs/mrp/mo_production.php @@ -658,7 +658,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea print '
'; print ''; print '   '; - print ''; + print ''; print '

'; print ''; diff --git a/htdocs/opensurvey/card.php b/htdocs/opensurvey/card.php index 757713e67c3..ef583d08ff5 100644 --- a/htdocs/opensurvey/card.php +++ b/htdocs/opensurvey/card.php @@ -337,7 +337,7 @@ if ($action == 'edit') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; } diff --git a/htdocs/opensurvey/results.php b/htdocs/opensurvey/results.php index be3c747a02f..3c87b36dd82 100644 --- a/htdocs/opensurvey/results.php +++ b/htdocs/opensurvey/results.php @@ -530,7 +530,7 @@ if (GETPOST('ajoutsujet')) print $langs->trans("Type").' '.$form->selectarray("typecolonne", $tmparray, GETPOST('typecolonne')).'

'; print ''; print '     '; - print ''; + print ''; print '

'."\n"; } else { require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; @@ -583,7 +583,7 @@ if (GETPOST('ajoutsujet')) print '

'; print' '."\n"; print '   '; - print ''; + print ''; } print ''."\n"; diff --git a/htdocs/product/admin/dynamic_prices.php b/htdocs/product/admin/dynamic_prices.php index d54ca3e6d3c..228157a7be8 100644 --- a/htdocs/product/admin/dynamic_prices.php +++ b/htdocs/product/admin/dynamic_prices.php @@ -230,7 +230,7 @@ if ($action == 'create_variable' || $action == 'edit_variable') { //Form Buttons print '
'; print '  '; - print ''; + print ''; print '
'; print ''; } @@ -352,7 +352,7 @@ if ($action == 'create_updater' || $action == 'edit_updater') { //Form Buttons print '
'; print '  '; - print ''; + print ''; print '
'; print ''; } diff --git a/htdocs/product/admin/price_rules.php b/htdocs/product/admin/price_rules.php index 84510dfabad..94d2a658ecd 100644 --- a/htdocs/product/admin/price_rules.php +++ b/htdocs/product/admin/price_rules.php @@ -191,7 +191,7 @@ $genPriceOptions = function ($level) use ($price_options) { print dol_get_fiche_end(); print '
- +
'; print ''; diff --git a/htdocs/product/canvas/product/tpl/card_edit.tpl.php b/htdocs/product/canvas/product/tpl/card_edit.tpl.php index 6fe8fc379d6..512ab13416b 100644 --- a/htdocs/product/canvas/product/tpl/card_edit.tpl.php +++ b/htdocs/product/canvas/product/tpl/card_edit.tpl.php @@ -108,7 +108,7 @@ dol_htmloutput_errors($object->error, $object->errors);
">     -">
+"> diff --git a/htdocs/product/canvas/service/tpl/card_edit.tpl.php b/htdocs/product/canvas/service/tpl/card_edit.tpl.php index ed5c43dc3a7..8e4613f21b0 100644 --- a/htdocs/product/canvas/service/tpl/card_edit.tpl.php +++ b/htdocs/product/canvas/service/tpl/card_edit.tpl.php @@ -80,7 +80,7 @@ dol_htmloutput_errors($object->error, $object->errors);
">     -">
+"> diff --git a/htdocs/product/card.php b/htdocs/product/card.php index c93eea62c93..4e71bceb50e 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -1392,7 +1392,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -1777,7 +1777,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index de79c294212..13ef4582d20 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -446,7 +446,7 @@ if ($id > 0 || !empty($ref)) print ''; if ($user->rights->produit->creer || $user->rights->service->creer) { - print ''; + print ''; } print ''; print ''."\n"; @@ -462,7 +462,7 @@ if ($id > 0 || !empty($ref)) print ''; /*if($user->rights->produit->creer || $user->rights->service->creer) { - print ''; + print ''; }*/ print ''; @@ -623,7 +623,7 @@ if ($id > 0 || !empty($ref)) print '
'; print 'trans("Update").'">'; print '     '; - print ''; + print ''; print '
'; } diff --git a/htdocs/product/document.php b/htdocs/product/document.php index 60e0afe7858..0e3d3c662b0 100644 --- a/htdocs/product/document.php +++ b/htdocs/product/document.php @@ -327,7 +327,7 @@ if ($object->id) } print ''; - print ''; + print ''; print ''; print ''; diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index 3c900cd056a..1f5af12d3f2 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -826,7 +826,7 @@ END; print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/product/inventory/card.php b/htdocs/product/inventory/card.php index 7d1d032a77d..425dd3622e3 100644 --- a/htdocs/product/inventory/card.php +++ b/htdocs/product/inventory/card.php @@ -209,7 +209,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -244,7 +244,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/product/inventory/inventory.php b/htdocs/product/inventory/inventory.php index 4e886763ed7..875f55b6fe4 100644 --- a/htdocs/product/inventory/inventory.php +++ b/htdocs/product/inventory/inventory.php @@ -315,7 +315,7 @@ if ($object->id > 0) print ''.$langs->trans("InventoryDesc").'
'; print ''; print '   '; - print ''; + print ''; print ''; print '
'; print ''; @@ -352,7 +352,7 @@ if ($object->id > 0) print ''.$langs->trans("UpdateByScaning").''; } } else { - print ''.$langs->trans('Save').''."\n"; + print ''.$langs->trans("Save").''."\n"; } } @@ -440,7 +440,7 @@ if ($object->id > 0) print ''; print ''; print ''; - //print ''; + //print ''; print ''; // Actions print ''; diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 928437ce946..374be5a94c0 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -663,7 +663,7 @@ if (empty($reshook)) if ($result < 0) { setEventMessages($prodcustprice->error, $prodcustprice->errors, 'errors'); } else { - setEventMessages($langs->trans('Save'), null, 'mesgs'); + setEventMessages($langs->trans("Save"), null, 'mesgs'); } $action = ''; @@ -1165,7 +1165,7 @@ if ($action == 'edit_vat' && ($user->rights->produit->creer || $user->rights->se print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print '

'; @@ -1278,7 +1278,7 @@ if ($action == 'edit_price' && $object->getRights()->creer) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print '
'; @@ -1398,7 +1398,7 @@ if ($action == 'edit_price' && $object->getRights()->creer) print '
'; print ''; print '   '; - print '
'; + print ''; print ''; } } @@ -1715,7 +1715,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) print ''; print '     '; - print ''; + print ''; print ''; print ''; @@ -1808,7 +1808,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) print ''; print '     '; - print ''; + print ''; print ''; print '
'; diff --git a/htdocs/product/stock/card.php b/htdocs/product/stock/card.php index 6b7b598de39..38cc5fedd88 100644 --- a/htdocs/product/stock/card.php +++ b/htdocs/product/stock/card.php @@ -329,7 +329,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -778,7 +778,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index bb306aaf9dc..0ea05495e5a 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -450,7 +450,7 @@ if ($action == "transfert_stock" && !$cancel) } // Update batch information -if ($action == 'updateline' && GETPOST('save') == $langs->trans('Save')) +if ($action == 'updateline' && GETPOST('save') == $langs->trans("Save")) { $pdluo = new Productbatch($db); $result = $pdluo->fetch(GETPOST('pdluoid', 'int')); @@ -912,7 +912,7 @@ if (!$variants) { } print ''.$pdluo->qty.($pdluo->qty < 0 ? ' '.img_warning() : '').''; print ''; - print ''; + print ''; print ''; print ''; print ''; @@ -985,7 +985,7 @@ if (!$variants) { print ''.$formproduct->selectWarehouses('', 'fk_entrepot').''; print ''; print ''; - print ''; + print ''; print ''; } else { print ''.$langs->trans("Warehouse").''; diff --git a/htdocs/product/stock/productlot_card.php b/htdocs/product/stock/productlot_card.php index 49dea3b008c..8601ce25ebc 100644 --- a/htdocs/product/stock/productlot_card.php +++ b/htdocs/product/stock/productlot_card.php @@ -284,7 +284,7 @@ if ($action == 'create') print dol_get_fiche_end(); - print '
 
'; + print '
 
'; print ''; } diff --git a/htdocs/product/stock/tpl/stockcorrection.tpl.php b/htdocs/product/stock/tpl/stockcorrection.tpl.php index 57777f07b12..1b6fafe9994 100644 --- a/htdocs/product/stock/tpl/stockcorrection.tpl.php +++ b/htdocs/product/stock/tpl/stockcorrection.tpl.php @@ -146,9 +146,9 @@ print ''; print dol_get_fiche_end(); print '
'; -print ''; +print ''; print '     '; -print ''; +print ''; print '
'; print ''; diff --git a/htdocs/product/stock/tpl/stocktransfer.tpl.php b/htdocs/product/stock/tpl/stocktransfer.tpl.php index 56546787413..dab7cd07b78 100644 --- a/htdocs/product/stock/tpl/stocktransfer.tpl.php +++ b/htdocs/product/stock/tpl/stocktransfer.tpl.php @@ -135,9 +135,9 @@ print ''; print dol_get_fiche_end(); print '
'; -print ''; +print ''; print '     '; -print ''; +print ''; print '
'; print ''; diff --git a/htdocs/product/traduction.php b/htdocs/product/traduction.php index 475cc413243..97eb37a2689 100644 --- a/htdocs/product/traduction.php +++ b/htdocs/product/traduction.php @@ -261,7 +261,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; @@ -333,7 +333,7 @@ if ($action == 'add' && ($user->rights->produit->creer || $user->rights->service print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php index a923352a69e..94a7b772fac 100644 --- a/htdocs/projet/card.php +++ b/htdocs/projet/card.php @@ -684,10 +684,10 @@ if ($action == 'create' && $user->rights->projet->creer) if (!empty($backtopage)) { print '     '; - print ''; + print ''; } else { print '     '; - print ''; + print ''; } print ''; @@ -1113,7 +1113,7 @@ if ($action == 'create' && $user->rights->projet->creer) { print '
'; print '     '; - print ''; + print ''; print '
'; } diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index b93ec75e302..0b207223351 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -600,7 +600,7 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/projet/tasks/task.php b/htdocs/projet/tasks/task.php index f965b2317bd..c2bf79af197 100644 --- a/htdocs/projet/tasks/task.php +++ b/htdocs/projet/tasks/task.php @@ -452,7 +452,7 @@ if ($id > 0 || !empty($ref)) print '
'; print '   '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php index f872890b548..cc650b36027 100644 --- a/htdocs/projet/tasks/time.php +++ b/htdocs/projet/tasks/time.php @@ -979,13 +979,13 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0) print '
'; print '
'; print ' '; - print ''; + print ''; print '
'; print '
'; } else { print '
'.$langs->trans("ThirdPartyRequiredToGenerateInvoice").'
'; print '
'; - print ''; + print ''; print '
'; $massaction = ''; } @@ -1164,7 +1164,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0) print ''; print ''; - print ''; + print ''; print ''; print ''; @@ -1451,7 +1451,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0) print ''; print ''; print '
'; - print ''; + print ''; } elseif ($user->rights->projet->lire || $user->rights->projet->all->creer) // Read project and enter time consumed on assigned tasks { if ($task_time->fk_user == $user->id || in_array($task_time->fk_user, $childids) || $user->rights->projet->all->creer) diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php index 517e201d20f..c61ffd58819 100644 --- a/htdocs/public/members/new.php +++ b/htdocs/public/members/new.php @@ -682,7 +682,7 @@ print dol_get_fiche_end(); print '
'; print ''; if (!empty($backtopage)) { - print '     '; + print '     '; } print '
'; diff --git a/htdocs/reception/card.php b/htdocs/reception/card.php index 6a54be849f7..40495a66be4 100644 --- a/htdocs/reception/card.php +++ b/htdocs/reception/card.php @@ -649,7 +649,7 @@ if (empty($reshook)) header('Location: '.$_SERVER['PHP_SELF'].'?id='.$object->id); // Pour reaffichage de la fiche en cours d'edition exit(); } - } elseif ($action == 'updateline' && $user->rights->reception->creer && GETPOST('cancel', 'alpha') == $langs->trans('Cancel')) { + } elseif ($action == 'updateline' && $user->rights->reception->creer && GETPOST('cancel', 'alpha') == $langs->trans("Cancel")) { header('Location: '.$_SERVER['PHP_SELF'].'?id='.$object->id); // Pour reaffichage de la fiche en cours d'edition exit(); } @@ -1164,7 +1164,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -1403,7 +1403,7 @@ if ($action == 'create') print ''; print $formproduct->selectMeasuringUnits("weight_units", "weight", $object->weight_units, 0, 2); print ' '; - print ' '; + print ' '; print ''; } else { print $object->trueWeight; @@ -1436,7 +1436,7 @@ if ($action == 'create') print ''; print $formproduct->selectMeasuringUnits("size_units", "size", $object->size_units, 0, 2); print ' '; - print ' '; + print ' '; print ''; } else { print $object->trueHeight; @@ -1903,7 +1903,7 @@ if ($action == 'create') { print ''; print '
'; - print '
'; + print '
'; } elseif ($object->statut == Reception::STATUS_DRAFT) { // edit-delete buttons diff --git a/htdocs/reception/list.php b/htdocs/reception/list.php index 4df73cce925..e175437c0cc 100644 --- a/htdocs/reception/list.php +++ b/htdocs/reception/list.php @@ -585,7 +585,7 @@ if ($resql) print '
'; print '
'; print ' '; - print ''; + print ''; print '
'; print '
'; } diff --git a/htdocs/recruitment/recruitmentcandidature_card.php b/htdocs/recruitment/recruitmentcandidature_card.php index ab5a2b229ff..8c76fdbb28e 100644 --- a/htdocs/recruitment/recruitmentcandidature_card.php +++ b/htdocs/recruitment/recruitmentcandidature_card.php @@ -336,7 +336,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -371,7 +371,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/recruitment/recruitmentjobposition_applications.php b/htdocs/recruitment/recruitmentjobposition_applications.php index 381a3181485..ef151beb8d5 100644 --- a/htdocs/recruitment/recruitmentjobposition_applications.php +++ b/htdocs/recruitment/recruitmentjobposition_applications.php @@ -219,7 +219,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -253,8 +253,8 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); - print '
'; - print '   '; + print '
'; + print '   '; print '
'; print ''; diff --git a/htdocs/recruitment/recruitmentjobposition_card.php b/htdocs/recruitment/recruitmentjobposition_card.php index 74e16c37319..78736eed3ae 100644 --- a/htdocs/recruitment/recruitmentjobposition_card.php +++ b/htdocs/recruitment/recruitmentjobposition_card.php @@ -247,7 +247,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -282,7 +282,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/resource/card.php b/htdocs/resource/card.php index 4a1e135f9e2..0909dd93b8e 100644 --- a/htdocs/resource/card.php +++ b/htdocs/resource/card.php @@ -270,7 +270,7 @@ if ($action == 'create' || $object->fetch($id, $ref) > 0) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print '
'; diff --git a/htdocs/salaries/card.php b/htdocs/salaries/card.php index 32c2cca810d..487757ad567 100644 --- a/htdocs/salaries/card.php +++ b/htdocs/salaries/card.php @@ -358,7 +358,7 @@ if ($action == 'create') print '     '; print ''; print '     '; - print ''; + print ''; print ''; print ''; diff --git a/htdocs/societe/canvas/company/tpl/card_edit.tpl.php b/htdocs/societe/canvas/company/tpl/card_edit.tpl.php index 13f17feee94..57b8a06b019 100644 --- a/htdocs/societe/canvas/company/tpl/card_edit.tpl.php +++ b/htdocs/societe/canvas/company/tpl/card_edit.tpl.php @@ -217,7 +217,7 @@ if (!empty($this->control->tpl['localtax'])) echo $this->control->tpl['localtax'
">     -"> +">
diff --git a/htdocs/societe/canvas/individual/tpl/card_edit.tpl.php b/htdocs/societe/canvas/individual/tpl/card_edit.tpl.php index 575499e7f48..b5f57544c5f 100644 --- a/htdocs/societe/canvas/individual/tpl/card_edit.tpl.php +++ b/htdocs/societe/canvas/individual/tpl/card_edit.tpl.php @@ -181,7 +181,7 @@ if ($this->control->tpl['fournisseur']) {
">     -"> +">
diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 6825c219fc9..1edd5492a81 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1543,10 +1543,10 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) if (!empty($backtopage)) { print '     '; - print ''; + print ''; } else { print '     '; - print ''; + print ''; } print ''."\n"; @@ -2186,7 +2186,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index d7ca24299b0..fa06ea5eae1 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -1691,7 +1691,7 @@ if ($socid && $action == 'edit' && $user->rights->societe->creer) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; } @@ -1738,7 +1738,7 @@ if ($socid && $action == 'editcard' && $user->rights->societe->creer) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; } @@ -1854,7 +1854,7 @@ if ($socid && $action == 'create' && $user->rights->societe->creer) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; } @@ -1904,7 +1904,7 @@ if ($socid && $action == 'createcard' && $user->rights->societe->creer) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; } diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php index ca876da7a22..a06b1f0940e 100644 --- a/htdocs/societe/price.php +++ b/htdocs/societe/price.php @@ -136,7 +136,7 @@ if (empty($reshook)) if ($result < 0) { setEventMessages($prodcustprice->error, $prodcustprice->errors, 'errors'); } else { - setEventMessages($langs->trans('Save'), null, 'mesgs'); + setEventMessages($langs->trans("Save"), null, 'mesgs'); } $action = ''; @@ -172,7 +172,7 @@ if (empty($reshook)) if ($result < 0) { setEventMessages($prodcustprice->error, $prodcustprice->errors, 'errors'); } else { - setEventMessages($langs->trans('Save'), null, 'mesgs'); + setEventMessages($langs->trans("Save"), null, 'mesgs'); } $action = ''; @@ -345,7 +345,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print '
'; @@ -424,7 +424,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) { print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print '
'; diff --git a/htdocs/supplier_proposal/card.php b/htdocs/supplier_proposal/card.php index eb918d8b3b4..b891d042e5b 100644 --- a/htdocs/supplier_proposal/card.php +++ b/htdocs/supplier_proposal/card.php @@ -1002,7 +1002,7 @@ if (empty($reshook)) setEventMessages($object->error, $object->errors, 'errors'); } } - } elseif ($action == 'updateline' && $usercancreate && GETPOST('cancel', 'alpha') == $langs->trans('Cancel')) { + } elseif ($action == 'updateline' && $usercancreate && GETPOST('cancel', 'alpha') == $langs->trans("Cancel")) { header('Location: '.$_SERVER['PHP_SELF'].'?id='.$object->id); // Pour reaffichage de la fiche en cours d'edition exit(); } @@ -1357,7 +1357,7 @@ if ($action == 'create') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ""; @@ -1828,8 +1828,8 @@ if ($action == 'create') $form_close .= $object->note; $form_close .= ''; $form_close .= ''; - $form_close .= ''; - $form_close .= '   '; + $form_close .= ''; + $form_close .= '   '; $form_close .= ' '; $form_close .= ''; $form_close .= ''; diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php index f836370a398..a7bb7f0e955 100644 --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -720,9 +720,9 @@ if ($action == 'create' || $action == 'presend') print dol_get_fiche_end(); print '
'; - print ''; + print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/ticket/class/actions_ticket.class.php b/htdocs/ticket/class/actions_ticket.class.php index 49185f093fc..895cacdb4ed 100644 --- a/htdocs/ticket/class/actions_ticket.class.php +++ b/htdocs/ticket/class/actions_ticket.class.php @@ -234,7 +234,7 @@ class ActionsTicket if (!empty($user->rights->ticket->manage) && $action == 'edit_message_init') { print '
'; print ' '; - print ' '; + print ' '; print '
'; } print ''; diff --git a/htdocs/user/bank.php b/htdocs/user/bank.php index d16d429b2fe..20369e37d69 100644 --- a/htdocs/user/bank.php +++ b/htdocs/user/bank.php @@ -296,7 +296,7 @@ if ($action != 'edit' && $action != 'create') // If not bank account yet, $acco $ret .= ''; $ret .= $form->selectExpenseCategories($object->default_c_exp_tax_cat, 'default_c_exp_tax_cat', 1); $ret .= ' '; - $ret .= ''; + $ret .= ''; $ret .= ''; print $ret; } else { @@ -318,7 +318,7 @@ if ($action != 'edit' && $action != 'create') // If not bank account yet, $acco $maxRangeNum = ExpenseReportIk::getMaxRangeNumber($object->default_c_exp_tax_cat); $ret .= $form->selectarray('default_range', range(0, $maxRangeNum), $object->default_range); $ret .= ' '; - $ret .= ''; + $ret .= ''; $ret .= ''; print $ret; } else { @@ -675,7 +675,7 @@ if ($id && ($action == 'edit' || $action == 'create') && $user->rights->user->us print '
'; print ''; print '     '; - print ''; + print ''; print '
'; } diff --git a/htdocs/user/card.php b/htdocs/user/card.php index 0885809de78..52b94cbc2f9 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -1257,7 +1257,7 @@ if ($action == 'create' || $action == 'adduserldap') print '
'; print ''; //print '     '; - //print ''; + //print ''; print '
'; print ""; @@ -2745,7 +2745,7 @@ if ($action == 'create' || $action == 'adduserldap') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; print ''; diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php index dee2c325063..fff39a3d45f 100644 --- a/htdocs/user/clicktodial.php +++ b/htdocs/user/clicktodial.php @@ -186,7 +186,7 @@ if ($id > 0) print '
'; print '
'; print '     '; - print ''; + print ''; print '
'; } diff --git a/htdocs/user/group/card.php b/htdocs/user/group/card.php index 5edc9e6df51..68d9639990c 100644 --- a/htdocs/user/group/card.php +++ b/htdocs/user/group/card.php @@ -288,7 +288,7 @@ if ($action == 'create') print '
'; print ''; print '   '; - print ''; + print ''; print '
'; print ""; @@ -549,7 +549,7 @@ else { print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/user/note.php b/htdocs/user/note.php index fbb9a6e1756..95527747d2e 100644 --- a/htdocs/user/note.php +++ b/htdocs/user/note.php @@ -137,7 +137,7 @@ if ($id) print '
'; print ''; print '     '; - print ''; + print ''; print '
'; } diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index 6ef0c4bd317..52f7a28be44 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -322,7 +322,7 @@ if ($action == 'edit') print '
'; print ''; print '     '; - print ''; + print ''; print '
'; } else { print dol_get_fiche_head($head, 'guisetup', $title, -1, 'user'); diff --git a/htdocs/variants/admin/admin.php b/htdocs/variants/admin/admin.php index 8b75391a296..7e5683e710b 100644 --- a/htdocs/variants/admin/admin.php +++ b/htdocs/variants/admin/admin.php @@ -68,7 +68,7 @@ if (isset($conf->global->PRODUIT_ATTRIBUTES_SEPARATOR)) { } print ''; print ''; -print '
'; +print '
'; print ''; // End of page diff --git a/htdocs/variants/card.php b/htdocs/variants/card.php index 04bcdb96183..057e184d184 100644 --- a/htdocs/variants/card.php +++ b/htdocs/variants/card.php @@ -181,9 +181,9 @@ print dol_get_fiche_end(); if ($action == 'edit') { print '
'; print '
'; - print ''; + print ''; print '   '; - print ''; + print ''; print '
'; print '
'; } else { @@ -252,9 +252,9 @@ if ($action == 'edit') { - + " class="button button-save">     - + " class="button button-cancel">
- value="trans('Create') : $langs->trans('Save') ?>" class="button"> + value="trans('Create') : $langs->trans("Save") ?>" class="button button-save">   - + " class="button button-cancel">
'; print ''; print '   '; -print ''; +print ''; print ''; print ''; diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 39f451df174..2a073aded73 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2489,7 +2489,7 @@ if (!GETPOST('hide_websitemenu')) if ($action == 'editcss') print ''; if (preg_match('/^create/', $action) && $action != 'file_manager' && $action != 'replacesite' && $action != 'replacesiteconfirm') print ''; if (preg_match('/^edit/', $action) && $action != 'file_manager' && $action != 'replacesite' && $action != 'replacesiteconfirm') print ''; - if ($action != 'preview') print ''; + if ($action != 'preview') print ''; } print ''; @@ -2805,7 +2805,7 @@ if (!GETPOST('hide_websitemenu')) if ($action == 'editsource' || $action == 'editmeta') print ''; if (preg_match('/^create/', $action)) print ''; if (preg_match('/^edit/', $action)) print ''; - if ($action != 'preview') print ''; + if ($action != 'preview') print ''; } print ''; // end websitetools @@ -3233,7 +3233,7 @@ if ($action == 'createsite') print '
'; print ''; - print ''; + print ''; print '
'; } @@ -3263,7 +3263,7 @@ if ($action == 'importsite') print ''; print ''; print ''; - print ''; + print ''; print '


'; @@ -3641,7 +3641,7 @@ if ($action == 'editmeta' || $action == 'createcontainer') print '
'; print ''; - print ''; + print ''; print '
'; } diff --git a/htdocs/website/websiteaccount_card.php b/htdocs/website/websiteaccount_card.php index e2535ab374f..17f50e709b7 100644 --- a/htdocs/website/websiteaccount_card.php +++ b/htdocs/website/websiteaccount_card.php @@ -156,7 +156,7 @@ if ($action == 'create') print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -187,7 +187,7 @@ if (($id || $ref) && $action == 'edit') print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print ''; diff --git a/htdocs/zapier/hook_card.php b/htdocs/zapier/hook_card.php index e701c03455e..43706c0c533 100644 --- a/htdocs/zapier/hook_card.php +++ b/htdocs/zapier/hook_card.php @@ -159,7 +159,7 @@ if ($action == 'create') { print '
'; print ''; print '  '; - print ''; // Cancel for create does not post form if we don't know the backtopage + print ''; // Cancel for create does not post form if we don't know the backtopage print '
'; print ''; @@ -190,7 +190,7 @@ if (($id || $ref) && $action == 'edit') { print dol_get_fiche_end(); print '
'; - print '   '; + print '   '; print '
'; print '';