Correction bugs mineurs
This commit is contained in:
parent
08a88aabb0
commit
7dde4909f9
@ -35,6 +35,10 @@ if ($user->societe_id > 0)
|
|||||||
$socid = $user->societe_id;
|
$socid = $user->societe_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$page=$_GET["page"];
|
||||||
|
$sortorder=$_GET["sortorder"];
|
||||||
|
$sortfield=$_GET["sortfield"];
|
||||||
|
|
||||||
if ($sortorder == "")
|
if ($sortorder == "")
|
||||||
{
|
{
|
||||||
$sortorder="ASC";
|
$sortorder="ASC";
|
||||||
@ -86,26 +90,6 @@ if ($result) {
|
|||||||
|
|
||||||
print_barre_liste("Liste des contacts fournisseurs",$page, "contact.php", "",$sortfield,$sortorder,"",$num);
|
print_barre_liste("Liste des contacts fournisseurs",$page, "contact.php", "",$sortfield,$sortorder,"",$num);
|
||||||
|
|
||||||
print "<DIV align=\"center\">";
|
|
||||||
|
|
||||||
print "| <A href=\"contact.php?page=$pageprev&stcomm=$stcomm&sortfield=$sortfield&sortorder=$sortorder&aclasser=$aclasser&coord=$coord\">*</A>\n| ";
|
|
||||||
for ($i = 65 ; $i < 91; $i++) {
|
|
||||||
print "<A href=\"contact.php?begin=" . chr($i) . "&stcomm=$stcomm\" class=\"T3\">";
|
|
||||||
|
|
||||||
if ($begin == chr($i) ) {
|
|
||||||
print "<b>->" . chr($i) . "<-</b>" ;
|
|
||||||
} else {
|
|
||||||
print chr($i) ;
|
|
||||||
}
|
|
||||||
print "</A> | ";
|
|
||||||
}
|
|
||||||
print "</div>";
|
|
||||||
|
|
||||||
if ($sortorder == "DESC") {
|
|
||||||
$sortorder="ASC";
|
|
||||||
} else {
|
|
||||||
$sortorder="DESC";
|
|
||||||
}
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
print_liste_field_titre($langs->trans("Lastname"),"contact.php","lower(p.name)", $begin);
|
print_liste_field_titre($langs->trans("Lastname"),"contact.php","lower(p.name)", $begin);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user