diff --git a/htdocs/comm/bookmark.php3 b/htdocs/comm/bookmark.php3 index 227b3433678..2804772f692 100644 --- a/htdocs/comm/bookmark.php3 +++ b/htdocs/comm/bookmark.php3 @@ -22,7 +22,7 @@ require("./pre.inc.php3"); llxHeader(); -$db = new Db(); + if ($sortorder == "") { $sortorder="DESC"; } @@ -82,8 +82,8 @@ if ( $db->query($sql) ) print "
| "; - print " | Id | "; - print "Societe | "; + print "Id | "; + print "Societe | "; print "Statut | "; print "Auteur | "; @@ -110,7 +110,7 @@ if ( $db->query($sql) ) print "|
| " . ($i + 1 + ($limit * $page)) . " | "; print "$obj->idp | "; - print "idp\">$obj->nom | \n"; + print "idp\">$obj->nom | \n"; print "$obj->stcomm | \n"; print "$obj->author | \n"; diff --git a/htdocs/comm/facture.php3 b/htdocs/comm/facture.php3 index 10c57cc71dc..e8e37631bea 100644 --- a/htdocs/comm/facture.php3 +++ b/htdocs/comm/facture.php3 @@ -23,7 +23,7 @@ require("./pre.inc.php3"); llxHeader(); -$db = new Db(); + if ($action == 'add') { $datefacture = $db->idate(mktime(12, 0 , 0, $pmonth, $pday, $pyear)); @@ -171,7 +171,7 @@ if ($action == 'add') { $objp = $db->fetch_object( $i); $var=!$var; print "||
| idp\">$objp->nom | \n"; + print "idp\">$objp->nom | \n"; print "facid\">$objp->facnumber | \n"; if ($objp->df > 0 ) { diff --git a/htdocs/comm/fiche.php3 b/htdocs/comm/fiche.php3 index 54165dd089c..e7bc7e1af75 100644 --- a/htdocs/comm/fiche.php3 +++ b/htdocs/comm/fiche.php3 @@ -149,7 +149,7 @@ if ($socid > 0) { print "idp\">Compta | "; print "idp\">Documents | "; - print "idp&action=add_bookmark\">[Bookmark] | "; + print "idp&action=add_bookmark\">[Bookmark] | "; if ($user->rights->projet->creer) print "idp&action=create\">[Projet] | "; if (defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE) @@ -278,7 +278,7 @@ if ($socid > 0) { */ if ($action == 'changevalue') { print "