Look: Minor change
This commit is contained in:
parent
826e0db7ff
commit
ad9ceee29f
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2003 Éric Seigne <erics@rycks.com>
|
* Copyright (C) 2003 Eric Seigne <erics@rycks.com>
|
||||||
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2007 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2007 Regis Houssin <regis@dolibarr.fr>
|
||||||
*
|
*
|
||||||
@ -131,7 +131,7 @@ if ($filtera > 0 || $filtert > 0 || $filterd > 0)
|
|||||||
$sql .= " ORDER BY ".$sortfield." ".$sortorder;
|
$sql .= " ORDER BY ".$sortfield." ".$sortorder;
|
||||||
$sql .= $db->plimit( $limit + 1, $offset);
|
$sql .= $db->plimit( $limit + 1, $offset);
|
||||||
|
|
||||||
dolibarr_syslog("comm/action/index.php sql=".$sql);
|
dolibarr_syslog("comm/action/listactions.php sql=".$sql);
|
||||||
$resql=$db->query($sql);
|
$resql=$db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
@ -149,11 +149,11 @@ if ($resql)
|
|||||||
$societe = new Societe($db);
|
$societe = new Societe($db);
|
||||||
$societe->fetch($socid);
|
$societe->fetch($socid);
|
||||||
|
|
||||||
print_barre_liste($langs->trans($title."For",$societe->nom), $page, "index.php",$param,$sortfield,$sortorder,'',$num);
|
print_barre_liste($langs->trans($title."For",$societe->nom), $page, $_SERVER["PHP_SELF"], $param,$sortfield,$sortorder,'',$num);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print_barre_liste($langs->trans($title), $page, "index.php",$param,$sortfield,$sortorder,'',$num);
|
print_barre_liste($langs->trans($title), $page, $_SERVER["PHP_SELF"], $param,$sortfield,$sortorder,'',$num);
|
||||||
}
|
}
|
||||||
|
|
||||||
//print '<br>';
|
//print '<br>';
|
||||||
@ -247,7 +247,7 @@ if ($resql)
|
|||||||
|
|
||||||
// Titre
|
// Titre
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print dolibarr_trunc($obj->label,16);
|
print dolibarr_trunc($obj->label,12);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Société
|
// Société
|
||||||
@ -255,7 +255,7 @@ if ($resql)
|
|||||||
$societestatic->id=$obj->socid;
|
$societestatic->id=$obj->socid;
|
||||||
$societestatic->client=$obj->client;
|
$societestatic->client=$obj->client;
|
||||||
$societestatic->nom=$obj->societe;
|
$societestatic->nom=$obj->societe;
|
||||||
print $societestatic->getNomUrl(1,'',16);
|
print $societestatic->getNomUrl(1,'',8);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Contact
|
// Contact
|
||||||
@ -265,7 +265,7 @@ if ($resql)
|
|||||||
$contactstatic->name=$obj->name;
|
$contactstatic->name=$obj->name;
|
||||||
$contactstatic->firstname=$obj->firstname;
|
$contactstatic->firstname=$obj->firstname;
|
||||||
$contactstatic->id=$obj->fk_contact;
|
$contactstatic->id=$obj->fk_contact;
|
||||||
print $contactstatic->getNomUrl(1,'',16);
|
print $contactstatic->getNomUrl(1,'',8);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1521,7 +1521,7 @@ function doliMoveFileUpload($src_file, $dest_file)
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\brief Affichage de la ligne de titre d'un tabelau
|
\brief Show title line of an array
|
||||||
\param name libelle champ
|
\param name libelle champ
|
||||||
\param file url pour clic sur tri
|
\param file url pour clic sur tri
|
||||||
\param field champ de tri
|
\param field champ de tri
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user