From 0d3899ab2389e6e98b613bccc9883662e496e7ec Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 9 Jan 2011 15:37:23 +0000 Subject: [PATCH] Fix: W3C errors or warnings --- htdocs/admin/tools/dolibarr_export.php | 2 +- htdocs/core/tpl/freeproductline_edit.tpl.php | 2 +- htdocs/core/tpl/predefinedproductline_edit.tpl.php | 5 +++-- htdocs/ftp/admin/ftpclient.php | 4 ++-- htdocs/install/fileconf.php | 2 +- htdocs/product/canvas/default/tpl/create.tpl.php | 4 ++-- htdocs/societe/canvas/default/tpl/card_create.tpl.php | 2 +- htdocs/societe/canvas/default/tpl/card_edit.tpl.php | 6 +++--- htdocs/societe/canvas/individual/tpl/card_create.tpl.php | 2 +- htdocs/societe/canvas/individual/tpl/card_edit.tpl.php | 6 +++--- 10 files changed, 18 insertions(+), 17 deletions(-) diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php index 4345fb9d17f..2e4fffda27c 100644 --- a/htdocs/admin/tools/dolibarr_export.php +++ b/htdocs/admin/tools/dolibarr_export.php @@ -148,7 +148,7 @@ if ($_GET["msg"])
diff --git a/htdocs/core/tpl/freeproductline_edit.tpl.php b/htdocs/core/tpl/freeproductline_edit.tpl.php index 2cf7d0d8bd2..6ef0df4fe48 100644 --- a/htdocs/core/tpl/freeproductline_edit.tpl.php +++ b/htdocs/core/tpl/freeproductline_edit.tpl.php @@ -68,7 +68,7 @@ - "> + ">
"> diff --git a/htdocs/core/tpl/predefinedproductline_edit.tpl.php b/htdocs/core/tpl/predefinedproductline_edit.tpl.php index 07fa0e91456..d94fe2b6c0e 100644 --- a/htdocs/core/tpl/predefinedproductline_edit.tpl.php +++ b/htdocs/core/tpl/predefinedproductline_edit.tpl.php @@ -43,7 +43,8 @@ product_type==1) echo img_object($langs->trans('ShowService'),'service'); else print img_object($langs->trans('ShowProduct'),'product'); - echo ' '.$line->ref.''; + echo ' '.$line->ref; + ?>product_label); echo '
'; @@ -76,7 +77,7 @@ - "> + ">
"> diff --git a/htdocs/ftp/admin/ftpclient.php b/htdocs/ftp/admin/ftpclient.php index a83c135e192..4825fc52e5d 100644 --- a/htdocs/ftp/admin/ftpclient.php +++ b/htdocs/ftp/admin/ftpclient.php @@ -199,10 +199,10 @@ else
- - '."\n"; + $sql ="select name, value, note from ".MAIN_DB_PREFIX."const"; $sql.=" WHERE name like 'FTP_SERVER_%'"; $sql.=" ORDER BY name"; diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php index 8a426c05874..1dfa34fe518 100644 --- a/htdocs/install/fileconf.php +++ b/htdocs/install/fileconf.php @@ -216,7 +216,7 @@ print $dolibarr_main_url_root; if (1 == 2) { // Disabled during install process because HTTPS may not be yet configured in web server and need experienced skills ?> - diff --git a/htdocs/product/canvas/default/tpl/create.tpl.php b/htdocs/product/canvas/default/tpl/create.tpl.php index e90c2566594..8c571678cf2 100644 --- a/htdocs/product/canvas/default/tpl/create.tpl.php +++ b/htdocs/product/canvas/default/tpl/create.tpl.php @@ -60,7 +60,7 @@ - + diff --git a/htdocs/societe/canvas/default/tpl/card_edit.tpl.php b/htdocs/societe/canvas/default/tpl/card_edit.tpl.php index cfc5bd511c3..0f9e8ec9be7 100644 --- a/htdocs/societe/canvas/default/tpl/card_edit.tpl.php +++ b/htdocs/societe/canvas/default/tpl/card_edit.tpl.php @@ -48,8 +48,8 @@ - + + @@ -111,7 +111,7 @@ if ($this->control->tpl['fournisseur']) { - + diff --git a/htdocs/societe/canvas/individual/tpl/card_create.tpl.php b/htdocs/societe/canvas/individual/tpl/card_create.tpl.php index 31e15c2f591..3e1ab5a4767 100644 --- a/htdocs/societe/canvas/individual/tpl/card_create.tpl.php +++ b/htdocs/societe/canvas/individual/tpl/card_create.tpl.php @@ -110,7 +110,7 @@ - + diff --git a/htdocs/societe/canvas/individual/tpl/card_edit.tpl.php b/htdocs/societe/canvas/individual/tpl/card_edit.tpl.php index 06967cb788f..0b89a67f3a6 100644 --- a/htdocs/societe/canvas/individual/tpl/card_edit.tpl.php +++ b/htdocs/societe/canvas/individual/tpl/card_edit.tpl.php @@ -49,8 +49,8 @@ - + + @@ -112,7 +112,7 @@ if ($this->control->tpl['fournisseur']) { - +
trans("ForceHttps"); ?> + trans("ForceHttps"); ?> >
trans("Description"); ?> -object->tpl['textarea_description']) { +object->tpl['textarea_description']) { $this->object->tpl['doleditor_description']->Create(); }else{ echo $this->object->tpl['textarea_description']; @@ -95,7 +95,7 @@ echo $this->object->tpl['textarea_description']; object->tpl['hidden']; ?>
trans("NoteNotVisibleOnBill"); ?> -object->tpl['textarea_note']) { +object->tpl['textarea_note']) { $this->object->tpl['doleditor_note']->Create(); }else{ echo $this->object->tpl['textarea_note']; diff --git a/htdocs/societe/canvas/default/tpl/card_create.tpl.php b/htdocs/societe/canvas/default/tpl/card_create.tpl.php index 384854cca58..1affa4458b3 100644 --- a/htdocs/societe/canvas/default/tpl/card_create.tpl.php +++ b/htdocs/societe/canvas/default/tpl/card_create.tpl.php @@ -98,7 +98,7 @@
trans('Address'); ?>
-
trans('ProspectCustomer'); ?>
trans('Address'); ?>
trans('Address'); ?>
-
trans('ProspectCustomer'); ?>
trans('Address'); ?>