diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index 524e6c04e7a..81a5227e575 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -700,7 +700,7 @@ if ($rowid) { $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; $cotisationstatic->ref=$objp->crowid; $cotisationstatic->id=$objp->crowid; print ''.$cotisationstatic->getNomUrl(1).''; diff --git a/htdocs/adherents/cotisations.php b/htdocs/adherents/cotisations.php index ad71332eff2..1175f22536c 100644 --- a/htdocs/adherents/cotisations.php +++ b/htdocs/adherents/cotisations.php @@ -136,7 +136,7 @@ if ($result) print "
"; print ''; } - print ""; + print ""; // Ref print ''.$cotisation->getNomUrl(1).''; diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 6c0b0dc4019..59ed0b36e84 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -27,7 +27,7 @@ require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php'; require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php'; -require_once DOL_DOCUMENT_ROOT.'/adherents/class/cotisation.class.php'; +require_once DOL_DOCUMENT_ROOT.'/adherents/class/cotisation.class.php'; $langs->load("companies"); $langs->load("members"); @@ -135,15 +135,15 @@ print ''; print ''.$langs->trans("SearchAMember").''; print "\n"; $var=false; -print ""; +print ""; print ''; print $langs->trans("Ref").':'; print ''; -print ""; +print ""; print ''; print $langs->trans("Name").':'; print ''; -print ""; +print ""; print ''; print $langs->trans("Other").':'; print ''; @@ -338,7 +338,7 @@ print "\n"; foreach ($AdherentType as $key => $adhtype) { $var=!$var; - print ""; + print ""; print ''.$adhtype->getNomUrl(1, dol_size(32)).''; print ''.(isset($MemberToValidate[$key]) && $MemberToValidate[$key] > 0?$MemberToValidate[$key]:'').' '.$staticmember->LibStatut(-1,$adhtype->cotisation,0,3).''; print ''.(isset($MembersValidated[$key]) && ($MembersValidated[$key]-(isset($MemberUpToDate[$key])?$MemberUpToDate[$key]:0) > 0) ? $MembersValidated[$key]-(isset($MemberUpToDate[$key])?$MemberUpToDate[$key]:0):'').' '.$staticmember->LibStatut(1,$adhtype->cotisation,0,3).''; @@ -402,7 +402,7 @@ krsort($Total); foreach ($Total as $key=>$value) { $var=!$var; - print ""; + print ""; print "$key"; print "".$Number[$key].""; print "".price($value).""; diff --git a/htdocs/admin/osc-languages.php b/htdocs/admin/osc-languages.php index 0d6df08a8b7..83446034f0d 100644 --- a/htdocs/admin/osc-languages.php +++ b/htdocs/admin/osc-languages.php @@ -72,7 +72,7 @@ if ($resql) while ($i < $num) { $objp = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print "$objp->languages_id\n"; print "$objp->name\n"; print "$objp->code\n"; diff --git a/htdocs/admin/system/database-tables.php b/htdocs/admin/system/database-tables.php index 7e82bab5e3f..eb638b68711 100644 --- a/htdocs/admin/system/database-tables.php +++ b/htdocs/admin/system/database-tables.php @@ -103,7 +103,7 @@ else { $obj = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''.$obj->Name.''; print ''.$obj->Engine.''; @@ -156,7 +156,7 @@ else { $row = $db->fetch_row($resql); $var=!$var; - print ""; + print ""; print ''.$row[0].''; print ''.$row[1].''; print ''.$row[2].''; diff --git a/htdocs/admin/system/dbtable.php b/htdocs/admin/system/dbtable.php index f5eaaaa4ea4..fe182c2e73e 100644 --- a/htdocs/admin/system/dbtable.php +++ b/htdocs/admin/system/dbtable.php @@ -112,7 +112,7 @@ else { $row = $db->fetch_row($resql); $var=!$var; - print ""; + print ""; print "$row[0]"; print "$row[1]"; diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php index 0baed9e53bc..73fd45d9099 100644 --- a/htdocs/admin/system/modules.php +++ b/htdocs/admin/system/modules.php @@ -106,7 +106,7 @@ foreach($sortorder as $numero=>$name) $idperms=""; $var=!$var; // Module - print ""; + print ""; $alt=$name.' - '.$modules_files[$numero]; if (! empty($picto[$numero])) { diff --git a/htdocs/admin/tools/listsessions.php b/htdocs/admin/tools/listsessions.php index 780e4427078..b4ca64c95a5 100644 --- a/htdocs/admin/tools/listsessions.php +++ b/htdocs/admin/tools/listsessions.php @@ -145,7 +145,7 @@ if ($savehandler == 'files') { $var=!$var; - print ""; + print ""; // Login print ''.$sessionentry['login'].''; diff --git a/htdocs/bookmarks/liste.php b/htdocs/bookmarks/liste.php index c3634b6c726..c322360fb4a 100644 --- a/htdocs/bookmarks/liste.php +++ b/htdocs/bookmarks/liste.php @@ -103,7 +103,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; // Id print ''; diff --git a/htdocs/boutique/client/fiche.php b/htdocs/boutique/client/fiche.php index feaf7d2068e..31d7bf3e81e 100644 --- a/htdocs/boutique/client/fiche.php +++ b/htdocs/boutique/client/fiche.php @@ -80,7 +80,7 @@ if ($id > 0) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print 'Fiche '; diff --git a/htdocs/boutique/client/index.php b/htdocs/boutique/client/index.php index 8b67d4311f5..82eb9ef4bb0 100644 --- a/htdocs/boutique/client/index.php +++ b/htdocs/boutique/client/index.php @@ -70,7 +70,7 @@ if ($resql) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''.$objp->customers_firstname."\n"; print ''.$objp->customers_lastname."\n"; print "$objp->customers_email_address\n"; diff --git a/htdocs/boutique/commande/ca.php b/htdocs/boutique/commande/ca.php index c8f170af15c..b5f4bab9e1c 100644 --- a/htdocs/boutique/commande/ca.php +++ b/htdocs/boutique/commande/ca.php @@ -66,7 +66,7 @@ if ($resql) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print 'Somme des commandes'; print ''.price($objp->value).''; @@ -94,7 +94,7 @@ if ($resql) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print 'Somme des frais de port'; print ''.price($objp->value).''; $i++; diff --git a/htdocs/boutique/commande/fiche.php b/htdocs/boutique/commande/fiche.php index e7f0e83537f..e00f9007940 100644 --- a/htdocs/boutique/commande/fiche.php +++ b/htdocs/boutique/commande/fiche.php @@ -86,7 +86,7 @@ if ($id > 0) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''; print 'Fiche livre'; diff --git a/htdocs/boutique/commande/index.php b/htdocs/boutique/commande/index.php index 382ecba6600..c5d166cf4e4 100644 --- a/htdocs/boutique/commande/index.php +++ b/htdocs/boutique/commande/index.php @@ -69,7 +69,7 @@ if ($resql) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print 'Fiche '; print $objp->orders_id .""; diff --git a/htdocs/boutique/critiques/bestproduct.php b/htdocs/boutique/critiques/bestproduct.php index 45e3fba2a88..556c1926979 100644 --- a/htdocs/boutique/critiques/bestproduct.php +++ b/htdocs/boutique/critiques/bestproduct.php @@ -74,7 +74,7 @@ if ($resql) while ($i < $num) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''.$objp->products_model.''; print ''.$objp->rat."\n"; print ''.$objp->products_quantity."\n"; diff --git a/htdocs/boutique/critiques/index.php b/htdocs/boutique/critiques/index.php index fd6bdb528f4..186756f6e42 100644 --- a/htdocs/boutique/critiques/index.php +++ b/htdocs/boutique/critiques/index.php @@ -70,7 +70,7 @@ if ($resql) { while ($i < $num) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print "".substr($objp->products_name, 0, 30)."\n"; print ''.substr($objp->reviews_text, 0, 40)." ...\n"; print "$objp->reviews_rating\n"; diff --git a/htdocs/boutique/index.php b/htdocs/boutique/index.php index 0e791515f09..91301c69dec 100644 --- a/htdocs/boutique/index.php +++ b/htdocs/boutique/index.php @@ -70,7 +70,7 @@ if ($result) { $objp = $dbosc->fetch_object($result); $var=!$var; - print ""; + print ""; print ''.$objp->mois.''; print ''.price($objp->value).''; diff --git a/htdocs/boutique/notification/index.php b/htdocs/boutique/notification/index.php index 62fbe0ce597..3a27326e1fb 100644 --- a/htdocs/boutique/notification/index.php +++ b/htdocs/boutique/notification/index.php @@ -70,7 +70,7 @@ if ($resql) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print "rowid\">$objp->customers_firstname $objp->customers_lastname\n"; print ''.$objp->products_name.""; print "\n"; diff --git a/htdocs/boutique/notification/produits.php b/htdocs/boutique/notification/produits.php index 18f66b696e7..eb897497540 100644 --- a/htdocs/boutique/notification/produits.php +++ b/htdocs/boutique/notification/produits.php @@ -71,7 +71,7 @@ if ($resql) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''.$objp->products_name.""; print ''.$objp->nb.''; diff --git a/htdocs/boutique/produits/index.php b/htdocs/boutique/produits/index.php index 71dd2bd8d53..f8bae975445 100644 --- a/htdocs/boutique/produits/index.php +++ b/htdocs/boutique/produits/index.php @@ -67,7 +67,7 @@ if ($resql) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''.$objp->customers_firstname."\n"; print ''.$objp->customers_lastname."\n"; print "$objp->customers_email_address\n"; diff --git a/htdocs/boutique/produits/osc-liste.php b/htdocs/boutique/produits/osc-liste.php index 84084bfde7a..ef1369dd503 100644 --- a/htdocs/boutique/produits/osc-liste.php +++ b/htdocs/boutique/produits/osc-liste.php @@ -81,7 +81,7 @@ if ($resql) { $objp = $dbosc->fetch_object($resql); $var=!$var; - print ""; + print ""; print "$objp->products_id\n"; print "$objp->products_model\n"; print "$objp->products_name\n"; diff --git a/htdocs/boutique/promotion/index.php b/htdocs/boutique/promotion/index.php index f70b793cd64..7cbba5c5014 100644 --- a/htdocs/boutique/promotion/index.php +++ b/htdocs/boutique/promotion/index.php @@ -82,7 +82,7 @@ if ($resql) $objp = $dbosc->fetch_object($i); $var=!$var; - print ""; + print ""; print ''.$objp->products_model.""; print ''.$objp->products_name.""; diff --git a/htdocs/comm/action/contact.php b/htdocs/comm/action/contact.php index 87a13f28c55..6baafcaf036 100644 --- a/htdocs/comm/action/contact.php +++ b/htdocs/comm/action/contact.php @@ -264,7 +264,7 @@ if ($id > 0 || ! empty($ref)) print ''; // Ligne ajout pour contact interne - print ""; + print ""; print ''; print img_object('','user').' '.$langs->trans("Users"); diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 165101e3cfa..7facb9b5459 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -971,7 +971,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa print ''; if ($user->rights->agenda->myactions->create || $user->rights->agenda->allactions->create) { - $newparam.='&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$year; + $newparam.='&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$year; //$param='month='.$monthshown.'&year='.$year; $hourminsec='100000'; diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php index 2fdf9315712..ebe68fa3328 100644 --- a/htdocs/comm/action/listactions.php +++ b/htdocs/comm/action/listactions.php @@ -260,7 +260,7 @@ if ($resql) $var=!$var; - print ""; + print ""; // Action (type) print ''; diff --git a/htdocs/comm/bookmark.php b/htdocs/comm/bookmark.php index dff26cb2618..1b5b1100736 100644 --- a/htdocs/comm/bookmark.php +++ b/htdocs/comm/bookmark.php @@ -122,7 +122,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; //print "" . ($i + 1 + ($limit * $page)) . ""; print "".$obj->bid.""; print "".img_object($langs->trans("ShowUser"),"user").' '.$obj->lastname." ".$obj->firstname."\n"; diff --git a/htdocs/comm/contact.php b/htdocs/comm/contact.php index e55f88de7aa..4281eab9cb1 100644 --- a/htdocs/comm/contact.php +++ b/htdocs/comm/contact.php @@ -156,7 +156,7 @@ if ($resql) $var=!$var; - print ""; + print ""; print ''.img_object($langs->trans("ShowContact"),"contact"); print ' '.$obj->name.''; print "$obj->firstname"; diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index c785704d456..811e4a8d211 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -626,7 +626,7 @@ if ($id > 0) $objp = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''; $contrat->id=$objp->id; $contrat->ref=$objp->ref?$objp->ref:$objp->id; @@ -748,7 +748,7 @@ if ($id > 0) { $objp = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''; $facturestatic->id=$objp->facid; $facturestatic->ref=$objp->facnumber; diff --git a/htdocs/comm/list.php b/htdocs/comm/list.php index 28696228e45..0c989fa5388 100755 --- a/htdocs/comm/list.php +++ b/htdocs/comm/list.php @@ -233,7 +233,7 @@ if ($result) $var=!$var; - print ""; + print ""; print ''; $thirdpartystatic->id=$obj->rowid; $thirdpartystatic->name=$obj->name; diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php index 3c7d425feb1..538d4c04fc4 100644 --- a/htdocs/comm/mailing/cibles.php +++ b/htdocs/comm/mailing/cibles.php @@ -450,7 +450,7 @@ if ($object->fetch($id) >= 0) $obj = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''.$obj->email.''; print ''.$obj->lastname.''; print ''.$obj->firstname.''; diff --git a/htdocs/comm/mailing/index.php b/htdocs/comm/mailing/index.php index 088ee43a02a..42944afabef 100644 --- a/htdocs/comm/mailing/index.php +++ b/htdocs/comm/mailing/index.php @@ -175,7 +175,7 @@ if ($result) $obj = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print ''.img_object($langs->trans("ShowEMail"),"email").' '.$obj->rowid.''; print ''.dol_trunc($obj->titre,38).''; print ''.dol_print_date($db->jdate($obj->date_creat),'day').''; diff --git a/htdocs/comm/mailing/liste.php b/htdocs/comm/mailing/liste.php index b05f859f54e..41a4e57a7ac 100644 --- a/htdocs/comm/mailing/liste.php +++ b/htdocs/comm/mailing/liste.php @@ -136,7 +136,7 @@ if ($result) $var=!$var; - print ""; + print ""; print ''; print img_object($langs->trans("ShowEMail"),"email").' '.stripslashes($obj->rowid).''; print ''.$obj->titre.''; diff --git a/htdocs/comm/propal/apercu.php b/htdocs/comm/propal/apercu.php index 78f57e15f14..2fd7c86fb9a 100644 --- a/htdocs/comm/propal/apercu.php +++ b/htdocs/comm/propal/apercu.php @@ -140,7 +140,7 @@ if ($id > 0 || ! empty($ref)) print_titre($langs->trans("Documents")); print ''; - print ""; + print ""; print ''; diff --git a/htdocs/comm/propal/index.php b/htdocs/comm/propal/index.php index 2a31d4a48b7..70eb2e49092 100644 --- a/htdocs/comm/propal/index.php +++ b/htdocs/comm/propal/index.php @@ -180,7 +180,7 @@ if (! empty($conf->propal->enabled)) { $var=!$var; $obj = $db->fetch_object($resql); - print ""; + print ""; $propalstatic->id=$obj->rowid; $propalstatic->ref=$obj->ref; @@ -241,7 +241,7 @@ if ($resql) $var=!$var; $obj = $db->fetch_object($resql); - print ""; + print ""; print '"; + print ""; print '"; + print ""; print '"; + print ""; print ''; if ($obj->description == '(CREDIT_NOTE)') { @@ -384,7 +384,7 @@ if ($socid > 0) if ($_GET["action"]=='split' && $_GET['remid'] == $obj->rowid) { - print ""; + print ""; print '"; + print ""; print ''; if ($obj->description == '(CREDIT_NOTE)') { diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php index f92a309a53c..b4b92e760c5 100644 --- a/htdocs/commande/apercu.php +++ b/htdocs/commande/apercu.php @@ -126,7 +126,7 @@ if ($id > 0 || ! empty($ref)) print_titre($langs->trans("Documents")); print '
".$langs->trans("Propal")." PDF
".$langs->trans("Propal")." PDF'.$object->ref.'.pdf
'; $propalstatic->id=$obj->rowid; @@ -402,7 +402,7 @@ if (! empty($conf->propal->enabled)) { $var=!$var; $obj = $db->fetch_object($resql); - print "
'; $propalstatic->id=$obj->rowid; @@ -474,7 +474,7 @@ if (! empty($conf->propal->enabled)) { $var=!$var; $obj = $db->fetch_object($resql); - print "
'; $propalstatic->id=$obj->rowid; diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php index 56dec89394d..cfa83e78875 100644 --- a/htdocs/comm/remx.php +++ b/htdocs/comm/remx.php @@ -338,7 +338,7 @@ if ($socid > 0) { $obj = $db->fetch_object($resql); $var = !$var; - print "
'.dol_print_date($db->jdate($obj->dc),'dayhour').'
'; $amount1=price2num($obj->amount_ttc/2,'MT'); $amount2=($obj->amount_ttc-$amount1); @@ -495,7 +495,7 @@ if ($socid > 0) { $obj = array_shift($tab_sqlobj); $var = !$var; - print "
'.dol_print_date($db->jdate($obj->dc),'dayhour').'
'; - print ""; + print ""; print ''; print ''; @@ -137,7 +137,7 @@ if ($id > 0 || ! empty($ref)) // TODO obsolete ? if (file_exists($filedetail)) { - print ""; + print ""; print ''; print ''; diff --git a/htdocs/commande/customer.php b/htdocs/commande/customer.php index bc04697f93f..35a5891d604 100755 --- a/htdocs/commande/customer.php +++ b/htdocs/commande/customer.php @@ -154,7 +154,7 @@ if ($resql) $var=!$var; - print ""; + print ""; print '"; + print ""; print '"; print ''; @@ -246,7 +246,7 @@ if ($resql) $var=!$var; $obj = $db->fetch_object($resql); - print ""; + print ""; print '"; + print ""; print '"; + print ""; print '\n"; $var=!$var; $sql = "SELECT sum(amount) as amount FROM ".MAIN_DB_PREFIX."paiement"; $paiem = valeur($sql); -print ""; +print ""; $var=!$var; $sql = "SELECT sum(amount) as amount FROM ".MAIN_DB_PREFIX."bank WHERE amount > 0"; $credits = valeur($sql); -print ""; +print ""; $var=!$var; $sql = "SELECT sum(amount) as amount FROM ".MAIN_DB_PREFIX."bank WHERE amount < 0"; $debits = valeur($sql); -print ""; +print ""; $var=!$var; $sql = "SELECT sum(amount) as amount FROM ".MAIN_DB_PREFIX."bank "; $solde = valeur($sql); -print ""; +print ""; print "
".$langs->trans("Order")." PDF
".$langs->trans("Order")." PDF'.$object->ref.'.pdf'.dol_print_size(dol_filesize($file)).'
Commande detaillee
Commande detaillee'.$object->ref.'-detail.pdf'.dol_print_size(dol_filesize($filedetail)).'
'; $result=''; diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php index d9f5cca0415..3c69388c8c9 100644 --- a/htdocs/commande/index.php +++ b/htdocs/commande/index.php @@ -194,7 +194,7 @@ if (! empty($conf->commande->enabled)) { $var=!$var; $obj = $db->fetch_object($resql); - print "
'; print "rowid."\">".img_object($langs->trans("ShowOrder"),"order").' '.$obj->ref."'.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($obj->nom,24).'
'; $commandestatic->id=$obj->rowid; @@ -315,7 +315,7 @@ if (! empty($conf->commande->enabled)) { $var=!$var; $obj = $db->fetch_object($resql); - print "
'; $commandestatic->id=$obj->rowid; @@ -386,7 +386,7 @@ if (! empty($conf->commande->enabled)) { $var=!$var; $obj = $db->fetch_object($resql); - print "
'; $commandestatic->id=$obj->rowid; diff --git a/htdocs/compta/bank/bilan.php b/htdocs/compta/bank/bilan.php index a5e6605ad85..e3942381d1e 100644 --- a/htdocs/compta/bank/bilan.php +++ b/htdocs/compta/bank/bilan.php @@ -69,22 +69,22 @@ print "
Somme des paiements (associes a une facture)".price($paiem)."
Somme des paiements (associes a une facture)".price($paiem)."
Somme des credits".price($credits)."
Somme des credits".price($credits)."
Somme des debits".price($debits)."
Somme des debits".price($debits)."
".$langs->trans("BankBalance")."".price($solde)."
".$langs->trans("BankBalance")."".price($solde)."
"; diff --git a/htdocs/compta/bank/releve.php b/htdocs/compta/bank/releve.php index b62ea51118c..c76e35a5ed8 100644 --- a/htdocs/compta/bank/releve.php +++ b/htdocs/compta/bank/releve.php @@ -295,7 +295,7 @@ else $total = $total + $objp->amount; $var=!$var; - print ""; + print ""; // Date operation print ''.dol_print_date($db->jdate($objp->do),"day").''; diff --git a/htdocs/compta/bank/search.php b/htdocs/compta/bank/search.php index ea7d29beb0f..9a3a55bfaf4 100644 --- a/htdocs/compta/bank/search.php +++ b/htdocs/compta/bank/search.php @@ -206,7 +206,7 @@ if ($resql) if ($printline) { $var=!$var; - print ""; + print ""; // Ref print ''; diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php index 2c26a5d6361..909417d0e71 100644 --- a/htdocs/compta/charges/index.php +++ b/htdocs/compta/charges/index.php @@ -132,7 +132,7 @@ if ($resql) { $obj = $db->fetch_object($resql); $var = !$var; - print ""; + print ""; // Date $date=$obj->periode; if (empty($date)) $date=$obj->date_ech; @@ -220,7 +220,7 @@ if (empty($_GET["mode"]) || $_GET["mode"] != 'sconly') $total = $total + $obj->amount; $var=!$var; - print ""; + print ""; print ''.dol_print_date($db->jdate($obj->dm),'day').' ? '."\n"; print "".$obj->label."\n"; diff --git a/htdocs/compta/clients.php b/htdocs/compta/clients.php index 96fd0231efb..f54f893d79c 100644 --- a/htdocs/compta/clients.php +++ b/htdocs/compta/clients.php @@ -185,7 +185,7 @@ if ($resql) $var=!$var; - print ""; + print ""; print ''; $thirdpartystatic->id=$obj->rowid; $thirdpartystatic->nom=$obj->nom; diff --git a/htdocs/compta/dons/stats.php b/htdocs/compta/dons/stats.php index affbab7d56f..b2f71859831 100644 --- a/htdocs/compta/dons/stats.php +++ b/htdocs/compta/dons/stats.php @@ -63,12 +63,12 @@ if ($result) print ''.$langs->trans("Parameter").''.$langs->trans("Value").''; $var=!$var; - print ""; + print ""; print ''.$langs->trans("DonationsNumber").''.$num.''; $var=!$var; - print "".''.$langs->trans("AmountTotal").''.price($total).''; + print "".''.$langs->trans("AmountTotal").''.price($total).''; $var=!$var; - print "".''.$langs->trans("Average").''.price($total / ($num?$num:1)).''; + print "".''.$langs->trans("Average").''.price($total / ($num?$num:1)).''; print ""; print ""; diff --git a/htdocs/compta/facture/apercu.php b/htdocs/compta/facture/apercu.php index 2adb3941595..ab508e50035 100644 --- a/htdocs/compta/facture/apercu.php +++ b/htdocs/compta/facture/apercu.php @@ -316,7 +316,7 @@ if ($id > 0 || ! empty($ref)) print_titre($langs->trans("Documents")); print ''; - print ""; + print ""; print ''; print ''; @@ -326,7 +326,7 @@ if ($id > 0 || ! empty($ref)) // Si fichier detail PDF existe if (file_exists($filedetail)) // facture detaillee supplementaire { - print ""; + print ""; print ''; print ''; diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php index 67b36fdc586..f098eee307f 100644 --- a/htdocs/compta/facture/fiche-rec.php +++ b/htdocs/compta/facture/fiche-rec.php @@ -437,7 +437,7 @@ else if (! empty($objp->date_end)) $type=1; // Show line - print ""; + print ""; if ($object->lines[$i]->fk_product > 0) { print '"; + print ""; print '\n"; diff --git a/htdocs/compta/facture/prelevement.php b/htdocs/compta/facture/prelevement.php index 51432a3e4d2..f86c0603cd6 100644 --- a/htdocs/compta/facture/prelevement.php +++ b/htdocs/compta/facture/prelevement.php @@ -546,7 +546,7 @@ if ($object->id > 0) $obj = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print '\n"; diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index e67e4868dcc..f26b9a06089 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -679,7 +679,7 @@ if (! empty($conf->tax->enabled) && $user->rights->tax->charges->lire) while ($i < $num) { $obj = $db->fetch_object($resql); - print ""; + print ""; $chargestatic->id=$obj->rowid; $chargestatic->ref=$obj->libelle; $chargestatic->lib=$obj->libelle; @@ -762,7 +762,7 @@ if (! empty($conf->facture->enabled) && ! empty($conf->commande->enabled) && $us { $obj = $db->fetch_object($resql); - print ""; + print ""; print '"; + print ""; print ""; $i++; } diff --git a/htdocs/compta/localtax/clients.php b/htdocs/compta/localtax/clients.php index d82e7fabad9..e2eb5ab610c 100644 --- a/htdocs/compta/localtax/clients.php +++ b/htdocs/compta/localtax/clients.php @@ -244,7 +244,7 @@ if (is_array($coll_list)) $intra = ''; } } - print ""; + print ""; print ""; $company_static->id=$coll->socid; $company_static->nom=$coll->nom; diff --git a/htdocs/compta/localtax/index.php b/htdocs/compta/localtax/index.php index 0d46cd7ae11..3f0cb9828d5 100644 --- a/htdocs/compta/localtax/index.php +++ b/htdocs/compta/localtax/index.php @@ -148,7 +148,7 @@ for ($m = 1 ; $m < 13 ; $m++ ) } $var=!$var; - print ""; + print ""; print ''; $x_coll = 0; diff --git a/htdocs/compta/localtax/reglement.php b/htdocs/compta/localtax/reglement.php index 66c88892325..e750403bf2c 100644 --- a/htdocs/compta/localtax/reglement.php +++ b/htdocs/compta/localtax/reglement.php @@ -66,7 +66,7 @@ if ($result) { $obj = $db->fetch_object($result); $var=!$var; - print ""; + print ""; $localtax_static->id=$obj->rowid; $localtax_static->ref=$obj->rowid; diff --git a/htdocs/compta/paiement/avalider.php b/htdocs/compta/paiement/avalider.php index 03ebf1d40a6..82936395d2a 100644 --- a/htdocs/compta/paiement/avalider.php +++ b/htdocs/compta/paiement/avalider.php @@ -95,7 +95,7 @@ if ($resql) { $objp = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''; print '\n"; print "\n"; diff --git a/htdocs/compta/paiement/cheque/fiche.php b/htdocs/compta/paiement/cheque/fiche.php index 3251b4a1ab6..7cf5d15f3a2 100644 --- a/htdocs/compta/paiement/cheque/fiche.php +++ b/htdocs/compta/paiement/cheque/fiche.php @@ -553,7 +553,7 @@ else $accounts[$objp->bid]=0; $accounts[$objp->bid] += 1; - print ""; + print ""; print ''; print ''; // Date operation print ''; diff --git a/htdocs/compta/paiement/cheque/index.php b/htdocs/compta/paiement/cheque/index.php index 80ea9ea6817..2fd7a970d92 100644 --- a/htdocs/compta/paiement/cheque/index.php +++ b/htdocs/compta/paiement/cheque/index.php @@ -126,7 +126,7 @@ if ($resql) $accountstatic->label=$objp->label; $var=!$var; - print "\n"; + print "\n"; print ''; print ''; diff --git a/htdocs/compta/paiement/cheque/liste.php b/htdocs/compta/paiement/cheque/liste.php index 705bc15eb88..1c1cf71b11c 100644 --- a/htdocs/compta/paiement/cheque/liste.php +++ b/htdocs/compta/paiement/cheque/liste.php @@ -111,7 +111,7 @@ if ($resql) { $objp = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; // Num ref cheque print '"; + print ""; print '"; + print ""; //print '\n"; diff --git a/htdocs/compta/prelevement/bons.php b/htdocs/compta/prelevement/bons.php index 8f2d336defe..1ee076cd170 100644 --- a/htdocs/compta/prelevement/bons.php +++ b/htdocs/compta/prelevement/bons.php @@ -99,7 +99,7 @@ if ($result) $obj = $db->fetch_object($result); $var=!$var; - print "'; diff --git a/htdocs/compta/prelevement/fiche-stat.php b/htdocs/compta/prelevement/fiche-stat.php index 5fcd70b1a9b..2ac44d056fe 100644 --- a/htdocs/compta/prelevement/fiche-stat.php +++ b/htdocs/compta/prelevement/fiche-stat.php @@ -132,7 +132,7 @@ if ($prev_id) { $row = $db->fetch_row($resql); - print "'; diff --git a/htdocs/compta/prelevement/liste.php b/htdocs/compta/prelevement/liste.php index cd09dc6cf25..ddcf485ac4d 100644 --- a/htdocs/compta/prelevement/liste.php +++ b/htdocs/compta/prelevement/liste.php @@ -141,7 +141,7 @@ if ($result) $var=!$var; - print ""; + print ""; print '\n"; print '"; + print ""; print "\n"; if ($modecompta == 'CREANCES-DETTES') @@ -243,7 +243,7 @@ if ($modecompta != 'CREANCES-DETTES') $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print ""; + print ""; print ''; print ''; } @@ -330,7 +330,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print "\n"; if ($modecompta == 'CREANCES-DETTES') @@ -349,7 +349,7 @@ if ($result) { else { $var=!$var; - print ""; + print ""; print ''; print ''; } @@ -416,7 +416,7 @@ if ($result) { $subtotal_ttc += $obj->amount; $var = !$var; - print ""; + print ""; print ''; if ($modecompta == 'CREANCES-DETTES') print ''; print ''; @@ -426,7 +426,7 @@ if ($result) { } else { $var = !$var; - print ""; + print ""; print ''; print ''; } @@ -493,7 +493,7 @@ if ($result) { $subtotal_ttc += $obj->amount; $var = !$var; - print ""; + print ""; print ''; if ($modecompta == 'CREANCES-DETTES') print ''; @@ -504,7 +504,7 @@ if ($result) { } else { $var = !$var; - print ""; + print ""; print ''; print ''; } @@ -581,7 +581,7 @@ if ($modecompta == 'CREANCES-DETTES') } else { dol_print_error($db); } - print ""; + print ""; print "\n"; print "\n"; print "\n"; @@ -624,7 +624,7 @@ if ($modecompta == 'CREANCES-DETTES') } else { dol_print_error($db); } - print ""; + print ""; print "\n"; print "\n"; print "\n"; @@ -666,7 +666,7 @@ else } else { dol_print_error($db); } - print ""; + print ""; print "\n"; if ($modecompta == 'CREANCES-DETTES') print "\n"; @@ -709,7 +709,7 @@ else { dol_print_error($db); } - print ""; + print ""; print "\n"; if ($modecompta == 'CREANCES-DETTES') print "\n"; diff --git a/htdocs/compta/sociales/index.php b/htdocs/compta/sociales/index.php index 2c5f1736d1b..54cb9fc0c42 100644 --- a/htdocs/compta/sociales/index.php +++ b/htdocs/compta/sociales/index.php @@ -171,7 +171,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var = !$var; - print ""; + print ""; // Ref print '"; + print ""; print ""; for ($annee = $year_start ; $annee <= $year_end ; $annee++) @@ -439,7 +439,7 @@ print "
".$langs->trans("Bill")." PDF
".$langs->trans("Bill")." PDF'.$object->ref.'.pdf'.dol_print_size(dol_filesize($file)). '
Facture detaillee
Facture detaillee'.$object->ref.'-detail.pdf'.dol_print_size(dol_filesize($filedetail)).'
'; @@ -548,7 +548,7 @@ else $objp = $db->fetch_object($result); $var=!$var; - print "
'.img_object($langs->trans("ShowBill"),"bill").' '.$objp->titre; print "
'.dol_print_date($db->jdate($obj->date_demande),'day')."
'; $commandestatic->id=$obj->rowid; @@ -1026,7 +1026,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var=!$var; - print "
".dol_print_date($obj->da,"day")."
".dol_print_date($obj->da,"day")."$obj->libelle $obj->label
".$i."
'.dol_print_date(dol_mktime(0,0,0,$m,1,$y),"%b %Y").'
'.img_object($langs->trans("ShowPayment"),"payment").' '.$objp->rowid.''.dol_print_date($db->jdate($objp->dp),'day')."$objp->paiement_type $objp->num_paiement
'.$i.''.dol_print_date($db->jdate($objp->date),'day').''.($objp->num_chq?$objp->num_chq:' ').'
'.$checkdepositstatic->getNomUrl(1).''.dol_print_date($db->jdate($objp->db),'day').'
'; diff --git a/htdocs/compta/paiement/liste.php b/htdocs/compta/paiement/liste.php index db2b3173a1c..cec77401490 100644 --- a/htdocs/compta/paiement/liste.php +++ b/htdocs/compta/paiement/liste.php @@ -180,7 +180,7 @@ if ($resql) { $objp = $db->fetch_object($resql); $var=!$var; - print "
'; $paymentstatic->id=$objp->rowid; diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index 09d053c47b2..0b2cc3ea709 100755 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -255,7 +255,7 @@ if ($_GET["action"] == 'create') $var=!$var; - print "
'.$charge->getNomUrl(1)."
"; + print "
"; print $bon->LibStatut($obj->statut,2); print " "; diff --git a/htdocs/compta/prelevement/create.php b/htdocs/compta/prelevement/create.php index 0e47fd7c109..115902db228 100644 --- a/htdocs/compta/prelevement/create.php +++ b/htdocs/compta/prelevement/create.php @@ -254,7 +254,7 @@ if ($result) $obj = $db->fetch_object($result); $var=!$var; - print "
"; + print "
"; $bprev->id=$obj->rowid; $bprev->ref=$obj->ref; print $bprev->getNomUrl(1); diff --git a/htdocs/compta/prelevement/factures.php b/htdocs/compta/prelevement/factures.php index 115a7829374..74bb3fd12e4 100644 --- a/htdocs/compta/prelevement/factures.php +++ b/htdocs/compta/prelevement/factures.php @@ -157,7 +157,7 @@ if ($result) { $obj = $db->fetch_object($result); - print "
"; + print "
"; print ''; print img_object($langs->trans("ShowBill"),"bill"); @@ -194,7 +194,7 @@ if ($result) if($socid) { - print "
"; + print "
"; print ''.$langs->trans("Total").'
"; + print "
"; print $ligne->LibStatut($row[1],1); diff --git a/htdocs/compta/prelevement/ligne.php b/htdocs/compta/prelevement/ligne.php index 54aaf02841a..a0e2d498ee0 100644 --- a/htdocs/compta/prelevement/ligne.php +++ b/htdocs/compta/prelevement/ligne.php @@ -299,7 +299,7 @@ if ($id) { $obj = $db->fetch_object($result); - print "
"; + print "
"; print ''; print img_object($langs->trans("ShowBill"),"bill"); diff --git a/htdocs/compta/prelevement/lignes.php b/htdocs/compta/prelevement/lignes.php index c322142b6a9..dc8b69ea78d 100644 --- a/htdocs/compta/prelevement/lignes.php +++ b/htdocs/compta/prelevement/lignes.php @@ -166,7 +166,7 @@ if ($result) { $obj = $db->fetch_object($result); - print "
"; + print "
"; print $ligne->LibStatut($obj->statut,2); print " "; @@ -199,7 +199,7 @@ if ($result) if($socid) { - print "
"; + print "
"; print 'Total
"; + print "
"; print $ligne->LibStatut($obj->statut_ligne,2); print " "; diff --git a/htdocs/compta/prelevement/rejets.php b/htdocs/compta/prelevement/rejets.php index 5744ab0eb7b..b307717e4b3 100644 --- a/htdocs/compta/prelevement/rejets.php +++ b/htdocs/compta/prelevement/rejets.php @@ -101,7 +101,7 @@ if ($result) { $obj = $db->fetch_object($result); - print "
"; + print "
"; print $ligne->LibStatut($obj->statut,2).' '; print ''; diff --git a/htdocs/compta/prelevement/stats.php b/htdocs/compta/prelevement/stats.php index 418d733dbd4..3da79a89f0c 100644 --- a/htdocs/compta/prelevement/stats.php +++ b/htdocs/compta/prelevement/stats.php @@ -102,7 +102,7 @@ if ($resql) { $row = $db->fetch_row($resql); - print "
"; + print "
"; print $ligne->LibStatut($row[2],1); //print $st[$row[2]]; @@ -202,7 +202,7 @@ if ($resql) { $row = $db->fetch_row($resql); - print "
"; + print "
"; print $Rejet->motifs[$row[2]]; print ''.$row[1]; diff --git a/htdocs/compta/recap-compta.php b/htdocs/compta/recap-compta.php index 78c81f9ab9c..609a624adce 100644 --- a/htdocs/compta/recap-compta.php +++ b/htdocs/compta/recap-compta.php @@ -177,7 +177,7 @@ if ($socid > 0) { $objp = $db->fetch_object($resqlp); //$var=!$var; - print "
'.dol_print_date($db->jdate($objp->dp),'day')."'; print '      '; // Decalage diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php index d2dd5630843..882554582c1 100644 --- a/htdocs/compta/resultat/clientfourn.php +++ b/htdocs/compta/resultat/clientfourn.php @@ -198,7 +198,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print "
 
 ".$langs->trans("Bills").' '.$objp->nom."
 
 ".$langs->trans("Bills")." ".$langs->trans("Other")." (".$langs->trans("PaymentsNotLinkedToInvoice").")\n"; if ($modecompta == 'CREANCES-DETTES') @@ -266,7 +266,7 @@ if ($modecompta != 'CREANCES-DETTES') if ($total_ttc == 0) { $var=!$var; - print "
 
 '.$langs->trans("None").'
 
 ".$langs->trans("Bills")." socid."\">".$objp->nom."
 
 '.$langs->trans("None").'
 
 '.$obj->nom.''.price(-$obj->amount).''.price(-$obj->amount).'
 
 '.$langs->trans("None").'
 
 '.$obj->nom.''.price(-$obj->amount).'
 
 '.$langs->trans("None").'
 
 ".$langs->trans("VATToPay")." ".price($amount)."
 
 ".$langs->trans("VATToCollect")." ".price($amount)."
 
 ".$langs->trans("VATPaid")."".price($amount)."
 
 ".$langs->trans("VATCollected")."".price($amount)."
'; diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php index 2d90767cffb..209cdba9563 100644 --- a/htdocs/compta/stats/index.php +++ b/htdocs/compta/stats/index.php @@ -284,7 +284,7 @@ for ($mois = 1+$nb_mois_decalage ; $mois <= 12+$nb_mois_decalage ; $mois++) for ($mois = 1 ; $mois < 13 ; $mois++) { $var=!$var; - print "
".dol_print_date(dol_mktime(12,0,0,$mois,1,2000),"%B")."
"; $i++; } $var=!$var; - print "Facture a encaisser : ".price($total_ttc_Rac)."<-- bug ici car n'exclut pas le deja r�gl� des factures partiellement r�gl�es"; + print "Facture a encaisser : ".price($total_ttc_Rac)."<-- bug ici car n'exclut pas le deja r�gl� des factures partiellement r�gl�es"; } $db->free($resql); } @@ -489,7 +489,7 @@ print ""; $i++; } $var=!$var; - print "Signe et non facture:".price($total_pr)."<-- bug ici, ca devrait exclure le deja facture"; + print "Signe et non facture:".price($total_pr)."<-- bug ici, ca devrait exclure le deja facture"; } $db->free($resql); } @@ -497,7 +497,7 @@ print ""; { dol_print_error($db); } - print "Total CA previsionnel : ".price($total_CA)."<-- bug ici car bug sur les 2 precedents"; + print "Total CA previsionnel : ".price($total_CA)."<-- bug ici car bug sur les 2 precedents"; } print ""; diff --git a/htdocs/compta/tva/clients.php b/htdocs/compta/tva/clients.php index a5e0e7fdbb9..83f248a39be 100644 --- a/htdocs/compta/tva/clients.php +++ b/htdocs/compta/tva/clients.php @@ -284,7 +284,7 @@ if (is_array($coll_list)) $intra = ''; } } - print ""; + print ""; print "".$i.""; $company_static->id=$coll->socid; $company_static->nom=$coll->nom; diff --git a/htdocs/compta/tva/index.php b/htdocs/compta/tva/index.php index 354d8c86535..7f23b6cfded 100644 --- a/htdocs/compta/tva/index.php +++ b/htdocs/compta/tva/index.php @@ -157,7 +157,7 @@ for ($m = 1 ; $m < 13 ; $m++ ) } $var=!$var; - print ""; + print ""; print ''.dol_print_date(dol_mktime(0,0,0,$m,1,$y),"%b %Y").''; $x_coll = 0; diff --git a/htdocs/compta/tva/quadri.php b/htdocs/compta/tva/quadri.php index 393a9ee4efc..d283f877817 100644 --- a/htdocs/compta/tva/quadri.php +++ b/htdocs/compta/tva/quadri.php @@ -261,7 +261,7 @@ if ($conf->global->COMPTA_MODE == "CREANCES-DETTES") $x_paye_ht = 0; foreach($x_both as $rate => $both){ $var=!$var; - print ""; + print ""; print "$rate%"; print "".price($both['coll']['totalht']).""; print "".price($both['coll']['vat']).""; @@ -284,7 +284,7 @@ if ($conf->global->COMPTA_MODE == "CREANCES-DETTES") $subtotal = $subtotal + $diff; $var=!$var; - print ""; + print ""; print ''; print "".price($diff)."\n"; print "\n"; diff --git a/htdocs/compta/tva/reglement.php b/htdocs/compta/tva/reglement.php index 85d3fa4736a..4ca5f298514 100644 --- a/htdocs/compta/tva/reglement.php +++ b/htdocs/compta/tva/reglement.php @@ -70,7 +70,7 @@ if ($result) { $obj = $db->fetch_object($result); $var=!$var; - print ""; + print ""; $tva_static->id=$obj->rowid; $tva_static->ref=$obj->rowid; diff --git a/htdocs/compta/ventilation/fournisseur/lignes.php b/htdocs/compta/ventilation/fournisseur/lignes.php index 513736cbe59..0a27fb3ddaa 100644 --- a/htdocs/compta/ventilation/fournisseur/lignes.php +++ b/htdocs/compta/ventilation/fournisseur/lignes.php @@ -89,7 +89,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print ''.$objp->facnumber.''; diff --git a/htdocs/compta/ventilation/fournisseur/liste.php b/htdocs/compta/ventilation/fournisseur/liste.php index a3290dac20f..83256709771 100644 --- a/htdocs/compta/ventilation/fournisseur/liste.php +++ b/htdocs/compta/ventilation/fournisseur/liste.php @@ -74,7 +74,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print ''.$objp->facnumber.''; print ''.stripslashes(nl2br($objp->description)).''; diff --git a/htdocs/compta/ventilation/lignes.php b/htdocs/compta/ventilation/lignes.php index c938e9774c4..e8578e7dcf0 100644 --- a/htdocs/compta/ventilation/lignes.php +++ b/htdocs/compta/ventilation/lignes.php @@ -104,7 +104,7 @@ if ($result) $var=!$var; $codeCompta = $objp->numero.' '.$objp->intitule; - print ""; + print ""; // Ref facture $facture_static->ref=$objp->facnumber; diff --git a/htdocs/compta/ventilation/liste.php b/htdocs/compta/ventilation/liste.php index 81613640541..4cfe167d60c 100644 --- a/htdocs/compta/ventilation/liste.php +++ b/htdocs/compta/ventilation/liste.php @@ -88,7 +88,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; // Ref facture $facture_static->ref=$objp->facnumber; diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php index aa7923926e0..eefbd4b73c6 100755 --- a/htdocs/contact/list.php +++ b/htdocs/contact/list.php @@ -318,7 +318,7 @@ if ($result) $var=!$var; - print ""; + print ""; // Name print ''; diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index fa9c99a8571..4989fc98440 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -1244,7 +1244,7 @@ else print ''; print ''; // Ligne carac - print ""; + print ""; print ''; if ($objp->fk_product) { @@ -1285,7 +1285,7 @@ else print '
'; print ''; // Ligne dates prevues - print ""; + print ""; print ''; print $langs->trans("DateStartPlanned").' '; $form->select_date($db->jdate($objp->date_debut),"date_start_update",$usehm,$usehm,($db->jdate($objp->date_debut)>0?0:1),"update"); diff --git a/htdocs/core/class/dolprintipp.class.php b/htdocs/core/class/dolprintipp.class.php index c1add1087e2..1ade18a2968 100644 --- a/htdocs/core/class/dolprintipp.class.php +++ b/htdocs/core/class/dolprintipp.class.php @@ -166,7 +166,7 @@ class dolprintIPP foreach ($jobs as $value ) { $var=!$var; - print ""; + print ""; print ''.$value->job_id->_value0.''; print ''.$value->job_originating_user_name->_value0.''; print ''.$value->printer_uri->_value0.''; diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index 170d2cb9da2..c009a3bbe31 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -448,7 +448,7 @@ function show_projects($conf,$langs,$db,$object,$backtopage='') if ($user->rights->projet->lire && $userAccess > 0) { $var = !$var; - print ""; + print ""; // Ref print ''.img_object($langs->trans("ShowProject"),($obj->public?'projectpub':'project'))." ".$obj->ref.''; diff --git a/htdocs/core/lib/sendings.lib.php b/htdocs/core/lib/sendings.lib.php index 10dffc40faa..f8cc1493b4b 100644 --- a/htdocs/core/lib/sendings.lib.php +++ b/htdocs/core/lib/sendings.lib.php @@ -192,7 +192,7 @@ function show_list_sending_receive($origin,$origin_id,$filter='') { $var=!$var; $objp = $db->fetch_object($resql); - print ""; + print ""; // Sending id print ''.img_object($langs->trans("ShowSending"),'sending').' '.$objp->exp_ref.''; diff --git a/htdocs/expedition/index.php b/htdocs/expedition/index.php index 3153a9a9ef2..94dd06c5b73 100644 --- a/htdocs/expedition/index.php +++ b/htdocs/expedition/index.php @@ -144,7 +144,7 @@ if ($resql) { $var=!$var; $obj = $db->fetch_object($resql); - print ""; + print ""; print ''; $orderstatic->id=$obj->rowid; $orderstatic->ref=$obj->ref; @@ -196,7 +196,7 @@ if ( $resql ) { $var=!$var; $obj = $db->fetch_object($resql); - print ""; + print ""; $orderstatic->id=$obj->rowid; $orderstatic->ref=$obj->ref; print $orderstatic->getNomUrl(1); diff --git a/htdocs/expedition/liste.php b/htdocs/expedition/liste.php index 7f4eedf9f6e..10ff087801e 100644 --- a/htdocs/expedition/liste.php +++ b/htdocs/expedition/liste.php @@ -114,7 +114,7 @@ if ($resql) $objp = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print ""; $shipment->id=$objp->rowid; $shipment->ref=$objp->ref; diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php index 3befa61e692..754ea46aa0b 100644 --- a/htdocs/exports/export.php +++ b/htdocs/exports/export.php @@ -532,7 +532,7 @@ if ($step == 2 && $datatoexport) foreach($fieldsarray as $code=>$label) { $var=!$var; - print ""; + print ""; $i++; @@ -865,7 +865,7 @@ if ($step == 4 && $datatoexport) foreach($array_selected as $code=>$value) { $var=!$var; - print ""; + print ""; $entity=(! empty($objexport->array_export_entities[0][$code])?$objexport->array_export_entities[0][$code]:$objexport->array_export_icon[0]); $entityicon=(! empty($entitytoicon[$entity])?$entitytoicon[$entity]:$entity); diff --git a/htdocs/fichinter/apercu.php b/htdocs/fichinter/apercu.php index 507a48d2dee..2ba31d41df4 100644 --- a/htdocs/fichinter/apercu.php +++ b/htdocs/fichinter/apercu.php @@ -98,7 +98,7 @@ if ($id > 0 || ! empty($ref)) print_titre($langs->trans("Documents")); print ''; - print ""; + print ""; print ''; print ''; @@ -108,7 +108,7 @@ if ($id > 0 || ! empty($ref)) // Si fichier detail PDF existe if (file_exists($filedetail)) { - print ""; + print ""; print ''; print ''; diff --git a/htdocs/fichinter/list.php b/htdocs/fichinter/list.php index a96187dc41d..c87d08ebca8 100755 --- a/htdocs/fichinter/list.php +++ b/htdocs/fichinter/list.php @@ -129,7 +129,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print ""; + print ""; print '"; + print ""; print '\n"; diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index 3e1943c9b27..52064cb39eb 100755 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -182,7 +182,7 @@ if ($resql) $row = $db->fetch_row($resql); $var=!$var; - print ""; + print ""; print ''; print ''; @@ -230,7 +230,7 @@ if (! empty($conf->fournisseur->enabled)) { $var=!$var; $obj = $db->fetch_object($resql); - print ""; + print ""; print '"; print ''; @@ -273,7 +273,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print '"; + print ""; print '"; +print ""; print '"; + print ""; // Ref print ''."\n"; diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 1af03e83a01..5899870b955 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -288,7 +288,7 @@ if ($object->fetch($id)) $obj = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''; print '"; + print ""; print ''; print ''; print ''; @@ -265,7 +265,7 @@ if ($resql) { $var=!$var; - print ""; + print ""; print '\n"; print ''; @@ -301,7 +301,7 @@ if (count($companystatic->SupplierCategories)) foreach ($companystatic->SupplierCategories as $rowid => $label) { $var=!$var; - print "\n"; + print "\n"; print '"; + print ""; print ""; + print ""; print '"; + print ""; print "\n"; print "\n"; @@ -172,7 +172,7 @@ if ($socid > 0) { $objp = $db->fetch_object($resqlp); //$var=!$var; - print ""; + print ""; print '\n"; print '\n"; + print "\n"; if ($line->fk_product > 0) { $product->fetch($line->fk_product); @@ -597,7 +597,7 @@ else { $var=!$var; - print ""; + print ""; if ($delivery->lines[$i]->fk_product > 0) { $product = new Product($db); diff --git a/htdocs/margin/agentMargins.php b/htdocs/margin/agentMargins.php index 718dea6f6d6..9bf75d0a332 100644 --- a/htdocs/margin/agentMargins.php +++ b/htdocs/margin/agentMargins.php @@ -209,7 +209,7 @@ if ($result) $var=!$var; - print ""; + print ""; if ($agentid > 0) { $companystatic->id=$objp->socid; $companystatic->nom=$objp->nom; diff --git a/htdocs/margin/customerMargins.php b/htdocs/margin/customerMargins.php index e92192c0d71..9ce32a701cb 100644 --- a/htdocs/margin/customerMargins.php +++ b/htdocs/margin/customerMargins.php @@ -228,7 +228,7 @@ if ($result) $var=!$var; - print ""; + print ""; if ($client) { print '"; + print ""; print '"; + print ""; print '"; + print ""; print '"; + print ""; // Date print ""; diff --git a/htdocs/product/stats/commande.php b/htdocs/product/stats/commande.php index 55ba1e506d2..ca337e00b86 100644 --- a/htdocs/product/stats/commande.php +++ b/htdocs/product/stats/commande.php @@ -162,7 +162,7 @@ if ($id > 0 || ! empty($ref)) $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print '\n"; diff --git a/htdocs/product/stats/commande_fournisseur.php b/htdocs/product/stats/commande_fournisseur.php index b8b6d7fed65..d240c256111 100644 --- a/htdocs/product/stats/commande_fournisseur.php +++ b/htdocs/product/stats/commande_fournisseur.php @@ -155,7 +155,7 @@ if ($id > 0 || ! empty($ref)) $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print '\n"; diff --git a/htdocs/product/stats/contrat.php b/htdocs/product/stats/contrat.php index bfa2b65bcdf..8c5a76e1ac9 100644 --- a/htdocs/product/stats/contrat.php +++ b/htdocs/product/stats/contrat.php @@ -169,7 +169,7 @@ if ($id > 0 || ! empty($ref)) $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print '\n"; diff --git a/htdocs/product/stats/facture.php b/htdocs/product/stats/facture.php index 932dd22af82..1265ea13962 100644 --- a/htdocs/product/stats/facture.php +++ b/htdocs/product/stats/facture.php @@ -164,7 +164,7 @@ if ($id > 0 || ! empty($ref)) $objp = $db->fetch_object($result); $var=!$var; - print ""; + print ""; print '"; + print ""; print '"; + print ""; print "\n"; print ''; print "\n"; @@ -144,7 +144,7 @@ if ($resql) { $objp = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; print ''; print ""; + print ""; print ''; print ''; print ''; diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index a5de7d9bb3d..89b7f83d576 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -444,7 +444,7 @@ if ($resql) { $objp = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; // Id movement //print ''; // This is primary not movement id // Date diff --git a/htdocs/product/stock/valo.php b/htdocs/product/stock/valo.php index 4b30b01ad69..e7d782ae5e0 100644 --- a/htdocs/product/stock/valo.php +++ b/htdocs/product/stock/valo.php @@ -103,7 +103,7 @@ if ($result) while ($i < min($num,$limit)) { $objp = $db->fetch_object($result); - print ""; + print ""; print ''; print ''; // PMP value diff --git a/htdocs/projet/activity/index.php b/htdocs/projet/activity/index.php index f011c39f63c..1a2f6603d1d 100644 --- a/htdocs/projet/activity/index.php +++ b/htdocs/projet/activity/index.php @@ -100,7 +100,7 @@ if ( $resql ) while ($row = $db->fetch_object($resql)) { $var=!$var; - print ""; + print ""; print '"; + print ""; print '"; + print ""; print '"; + print ""; print '"; + print ""; // Ref print '"; + print ""; print '"; + print ""; print ''; print ''; print ''; diff --git a/htdocs/projet/tasks/contact.php b/htdocs/projet/tasks/contact.php index 5f8fd84c6e4..80ddc0cd178 100644 --- a/htdocs/projet/tasks/contact.php +++ b/htdocs/projet/tasks/contact.php @@ -286,7 +286,7 @@ if ($id > 0 || ! empty($ref)) print ''; // Ligne ajout pour contact interne - print ""; + print ""; print '"; + print ""; print '"; + print ""; print ''."\n"; //print "\n"; // est-ce nécessaire ?? print ''."\n"; diff --git a/htdocs/societe/commerciaux.php b/htdocs/societe/commerciaux.php index a4f1dee5a7b..d638db9d191 100644 --- a/htdocs/societe/commerciaux.php +++ b/htdocs/societe/commerciaux.php @@ -251,7 +251,7 @@ if ($_GET["socid"]) { $obj = $db->fetch_object($resql); $var=!$var; - print ""; + print ""; // Name print '"; + print ""; print '"; + print ""; print '"; + print ""; print '"; + print ""; print '"; + print ""; print '
".$langs->trans("Intervention")." PDF
".$langs->trans("Intervention")." PDF'.$object->ref.'.pdf'.dol_print_size(dol_filesize($file)).'
Fiche d'intervention detaillee
Fiche d'intervention detaillee'.$object->ref.'-detail.pdf'.dol_print_size(dol_filesize($filedetail)).'
"; $interventionstatic->id=$objp->fichid; $interventionstatic->ref=$objp->ref; diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php index 4c5dc82bcec..115bd66ae48 100644 --- a/htdocs/fourn/commande/dispatch.php +++ b/htdocs/fourn/commande/dispatch.php @@ -373,7 +373,7 @@ if ($id > 0 || ! empty($ref)) while ($i < $num) { $objp = $db->fetch_object($resql); - print "
'; print ''.img_object($langs->trans("ShowProduct"),'product').' '.$objp->ref.''; print ' - '.$objp->label; diff --git a/htdocs/fourn/commande/history.php b/htdocs/fourn/commande/history.php index bb823288ac3..4463d8ebbd2 100644 --- a/htdocs/fourn/commande/history.php +++ b/htdocs/fourn/commande/history.php @@ -152,7 +152,7 @@ if ($id > 0 || ! empty($ref)) $var=!$var; $obj = $db->fetch_object($resql); - print "
'.dol_print_date($db->jdate($obj->dl),"dayhour")."
'.$langs->trans($commandestatic->statuts[$row[1]]).''.$row[0].' '.$commandestatic->LibStatut($row[1],3).'
'; print "rowid."\">".img_object($langs->trans("ShowOrder"),"order").' '.$obj->ref."'.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($obj->nom,24).'
'; $userstatic->id=$obj->rowid; $userstatic->lastname=$obj->lastname; @@ -329,7 +329,7 @@ if ($resql) $var=!$var; $obj = $db->fetch_object($resql); - print "
'; $commandestatic->id=$obj->rowid; @@ -397,7 +397,7 @@ while ($i < $num) { $var=!$var; $obj = $db->fetch_object($resql); -print "
'; $commandestatic->id=$obj->rowid; diff --git a/htdocs/fourn/commande/liste.php b/htdocs/fourn/commande/liste.php index da493a8cd17..bfd2be80cd5 100644 --- a/htdocs/fourn/commande/liste.php +++ b/htdocs/fourn/commande/liste.php @@ -152,7 +152,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var=!$var; - print "
'.img_object($langs->trans("ShowOrder"),"order").' '.$obj->ref.'
'.img_object($langs->trans("ShowOrder"),"order")." ".$obj->ref.''; if ($obj->dc) diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index b3475db0e43..49b71423b6b 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -83,7 +83,7 @@ if ($resql) $row = $db->fetch_row($resql); $var=!$var; - print "
'.$langs->trans($commande->statuts[$row[1]]).''.$row[0].''.$commande->LibStatut($row[1],3).'
'.img_object($langs->trans("ShowSupplier"),"company").''; print " socid."\">".$obj->nom."'.$obj->code_fournisseur.' 
'; $categstatic->id=$rowid; $categstatic->ref=$label; diff --git a/htdocs/fourn/product/index.php b/htdocs/fourn/product/index.php index f9f3d0585f3..91560079688 100644 --- a/htdocs/fourn/product/index.php +++ b/htdocs/fourn/product/index.php @@ -124,7 +124,7 @@ if ($resql) { $objp = $db->fetch_object($resql); $var=!$var; - print "
rowid\">"; if ($objp->fk_product_type==1) print img_object($langs->trans("ShowService"),"service"); else print img_object($langs->trans("ShowProduct"),"product"); diff --git a/htdocs/fourn/product/liste.php b/htdocs/fourn/product/liste.php index 3f8b3ed0353..fd9bd404d5a 100644 --- a/htdocs/fourn/product/liste.php +++ b/htdocs/fourn/product/liste.php @@ -216,7 +216,7 @@ if ($resql) { $objp = $db->fetch_object($resql); $var=!$var; - print "
'; $productstatic->id=$objp->rowid; diff --git a/htdocs/fourn/recap-fourn.php b/htdocs/fourn/recap-fourn.php index 63beb01eff4..e0869fede6f 100644 --- a/htdocs/fourn/recap-fourn.php +++ b/htdocs/fourn/recap-fourn.php @@ -136,7 +136,7 @@ if ($socid > 0) $totalpaye = $fac->getSommePaiement(); $var=!$var; - print "
".dol_print_date($fac->date)."id\">".img_object($langs->trans("ShowBill"),"bill")." ".$fac->ref."
'.dol_print_date($db->jdate($objp->dp))."'; print '      '; // Decalage diff --git a/htdocs/livraison/fiche.php b/htdocs/livraison/fiche.php index 2849daa9c67..3012439a697 100644 --- a/htdocs/livraison/fiche.php +++ b/htdocs/livraison/fiche.php @@ -327,7 +327,7 @@ if ($action == 'create') $line = $commande->lines[$i]; $var=!$var; - print "
'; $invoicestatic->id=$objp->facid; diff --git a/htdocs/margin/tabs/productMargins.php b/htdocs/margin/tabs/productMargins.php index 55a13e83094..052529ac10d 100644 --- a/htdocs/margin/tabs/productMargins.php +++ b/htdocs/margin/tabs/productMargins.php @@ -195,7 +195,7 @@ if ($id > 0 || ! empty($ref)) $marginRate = ($objp->buying_price != 0)?(100 * round($objp->marge / $objp->buying_price, 5)):'' ; $markRate = ($objp->selling_price != 0)?(100 * round($objp->marge / $objp->selling_price, 5)):'' ; - print "
'; $invoicestatic->id=$objp->facid; $invoicestatic->ref=$objp->facnumber; diff --git a/htdocs/margin/tabs/thirdpartyMargins.php b/htdocs/margin/tabs/thirdpartyMargins.php index 04ac4d65d64..1debb94b021 100644 --- a/htdocs/margin/tabs/thirdpartyMargins.php +++ b/htdocs/margin/tabs/thirdpartyMargins.php @@ -190,7 +190,7 @@ if ($socid > 0) $var=!$var; - print "
'; $invoicestatic->id=$objp->facid; $invoicestatic->ref=$objp->facnumber; diff --git a/htdocs/product/popuprop.php b/htdocs/product/popuprop.php index dd7798a9045..5404dd1848a 100644 --- a/htdocs/product/popuprop.php +++ b/htdocs/product/popuprop.php @@ -140,7 +140,7 @@ if ($result) } $var=!$var; - print "
'; if ($objp->type==1) print img_object($langs->trans("ShowService"),"service"); else print img_object($langs->trans("ShowProduct"),"product"); diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 240844b9f4d..c8e3d262c21 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -723,7 +723,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print "
".dol_print_date($db->jdate($objp->dp),"dayhour")."
'.img_object($langs->trans("ShowOrder"),"order").' '; print $objp->ref; print "
'.img_object($langs->trans("ShowOrder"),"order").' '; print $objp->ref; print "
'.img_object($langs->trans("ShowContract"),"contract").' '; print $objp->rowid; print "
'; $invoicestatic->id=$objp->facid; $invoicestatic->ref=$objp->facnumber; diff --git a/htdocs/product/stats/facture_fournisseur.php b/htdocs/product/stats/facture_fournisseur.php index f4b1cb8620a..4c520bd292d 100644 --- a/htdocs/product/stats/facture_fournisseur.php +++ b/htdocs/product/stats/facture_fournisseur.php @@ -164,7 +164,7 @@ if ($id > 0 || ! empty($ref)) $objp = $db->fetch_object($result); $var=!$var; - print "
'; $supplierinvoicestatic->id=$objp->facid; $supplierinvoicestatic->ref=$objp->facnumber; diff --git a/htdocs/product/stock/index.php b/htdocs/product/stock/index.php index a25e1e4357d..7f8e7f0766c 100644 --- a/htdocs/product/stock/index.php +++ b/htdocs/product/stock/index.php @@ -88,7 +88,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print "
rowid\">".img_object($langs->trans("ShowStock"),"stock")." ".$objp->label."'.$entrepot->LibStatut($objp->statut,5).'
'.dol_print_date($db->jdate($objp->datem),'dayhour').'rowid\">"; print img_object($langs->trans("ShowProduct"),"product").' '.$objp->produit; diff --git a/htdocs/product/stock/liste.php b/htdocs/product/stock/liste.php index bde0c3e1858..55e6f858124 100644 --- a/htdocs/product/stock/liste.php +++ b/htdocs/product/stock/liste.php @@ -87,7 +87,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print "
'.img_object($langs->trans("ShowWarehouse"),'stock').' '.$objp->ref.''.$objp->lieu.''.$entrepot->LibStatut($objp->statut,5).'
'.$objp->mid.'
'.img_object($langs->trans("ShowWarehouse"),'stock').' '.$objp->label.''.$objp->lieu.'
'; $projectstatic->id=$row->rowid; $projectstatic->ref=$row->ref; @@ -155,7 +155,7 @@ if ( $resql ) while ($row = $db->fetch_object($resql)) { $var=!$var; - print "
'; $projectstatic->id=$row->rowid; $projectstatic->ref=$row->ref; @@ -267,7 +267,7 @@ if ( $resql ) while ($row = $db->fetch_object($resql)) { - print "
'; $projectstatic->id=$row->rowid; $projectstatic->ref=$row->ref; @@ -310,7 +310,7 @@ if ( $resql ) { while ($row = $db->fetch_object($resql)) { - print "
'; $projectstatic->id=$row->rowid; $projectstatic->ref=$row->ref; diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php index 51e8c47da7a..33b83b27fae 100644 --- a/htdocs/projet/element.php +++ b/htdocs/projet/element.php @@ -252,7 +252,7 @@ foreach ($listofreferent as $key => $value) //print $classname; $var=!$var; - print "
'; diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index 112816c9204..6b1c0e7be9b 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -105,7 +105,7 @@ if ( $resql ) { $obj = $db->fetch_object($resql); $var=!$var; - print "
'; if ($obj->socid) { @@ -182,7 +182,7 @@ if ( $resql ) $username = $userstatic->getNomUrl(0,0); } - print "
'.$username.'projectid.'">'.$obj->title.''.$obj->label.'
'; print img_object('','user').' '.$langs->trans("Users"); @@ -319,7 +319,7 @@ if ($id > 0 || ! empty($ref)) print ''; $var=!$var; - print "
'; print img_object('','contact').' '.$langs->trans("ThirdPartyContacts"); diff --git a/htdocs/public/members/public_list.php b/htdocs/public/members/public_list.php index 971ad3dc449..968b1a30065 100644 --- a/htdocs/public/members/public_list.php +++ b/htdocs/public/members/public_list.php @@ -139,7 +139,7 @@ if ($result) { $objp = $db->fetch_object($result); $var=!$var; - print "
'.dolGetFirstLastname($obj->firstname, $obj->lastname).($objp->societe?' / '.$objp->societe:'').'$objp->birth'.$objp->email.'
"; + print "
"; print ''; print img_object($langs->trans("ShowUser"),"user").' '; print dolGetFirstLastname($obj->firstname, $obj->lastname)."\n"; diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php index 66cbb3e2523..0765fe2eacb 100644 --- a/htdocs/societe/index.php +++ b/htdocs/societe/index.php @@ -195,7 +195,7 @@ if ($result) $objp = $db->fetch_object($result); $var=!$var; - print "
'; $thirdparty_static->id=$objp->rowid; diff --git a/htdocs/societe/societe.php b/htdocs/societe/societe.php index bc01bcefd7d..8253c98860d 100644 --- a/htdocs/societe/societe.php +++ b/htdocs/societe/societe.php @@ -385,7 +385,7 @@ if ($resql) { $obj = $db->fetch_object($resql); $var=!$var; - print "
"; + print "
"; $companystatic->id=$obj->rowid; $companystatic->name=$obj->name; $companystatic->canvas=$obj->canvas; diff --git a/htdocs/user/group/fiche.php b/htdocs/user/group/fiche.php index 201922e7a87..ff7028ab2cf 100644 --- a/htdocs/user/group/fiche.php +++ b/htdocs/user/group/fiche.php @@ -420,7 +420,7 @@ else { $var=!$var; - print "
'; print ''.img_object($langs->trans("ShowUser"),"user").' '.$useringroup->login.''; if ($useringroup->admin && ! $useringroup->entity) print img_picto($langs->trans("SuperAdministrator"),'redstar'); diff --git a/htdocs/user/group/index.php b/htdocs/user/group/index.php index d100c9b3778..82d81b14bee 100644 --- a/htdocs/user/group/index.php +++ b/htdocs/user/group/index.php @@ -100,7 +100,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var=!$var; - print "
'.img_object($langs->trans("ShowGroup"),"group").' '.$obj->nom.''; if (! $obj->entity) { diff --git a/htdocs/user/home.php b/htdocs/user/home.php index 33e80336e95..a8a62df999a 100644 --- a/htdocs/user/home.php +++ b/htdocs/user/home.php @@ -128,7 +128,7 @@ if ($resql) $obj = $db->fetch_object($resql); $var=!$var; - print "
'.img_object($langs->trans("ShowUser"),"user").' '.dolGetFirstLastname($obj->firstname,$obj->lastname).''; if (! empty($conf->multicompany->enabled) && $obj->admin && ! $obj->entity) { @@ -225,7 +225,7 @@ if ($canreadperms) $obj = $db->fetch_object($resql); $var=!$var; - print "
'.img_object($langs->trans("ShowGroup"),"group").' '.$obj->nom.''; if (! $obj->entity) { diff --git a/htdocs/user/index.php b/htdocs/user/index.php index 479f156e343..d5b34808b8f 100644 --- a/htdocs/user/index.php +++ b/htdocs/user/index.php @@ -112,7 +112,7 @@ if ($result) $obj = $db->fetch_object($result); $var=!$var; - print "
'.img_object($langs->trans("ShowUser"),"user").' '.$obj->login.''; if (! empty($conf->multicompany->enabled) && $obj->admin && ! $obj->entity) {