diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php index 072ef4d76f8..1b35feb3475 100644 --- a/htdocs/comm/action/listactions.php +++ b/htdocs/comm/action/listactions.php @@ -1,6 +1,6 @@ - * Copyright (C) 2003 Éric Seigne + * Copyright (C) 2003 Eric Seigne * Copyright (C) 2004-2008 Laurent Destailleur * Copyright (C) 2005-2007 Regis Houssin * @@ -131,7 +131,7 @@ if ($filtera > 0 || $filtert > 0 || $filterd > 0) $sql .= " ORDER BY ".$sortfield." ".$sortorder; $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); if ($resql) { @@ -149,11 +149,11 @@ if ($resql) $societe = new Societe($db); $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 { - 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 '
'; @@ -247,7 +247,7 @@ if ($resql) // Titre print ''; - print dolibarr_trunc($obj->label,16); + print dolibarr_trunc($obj->label,12); print ''; // Société @@ -255,7 +255,7 @@ if ($resql) $societestatic->id=$obj->socid; $societestatic->client=$obj->client; $societestatic->nom=$obj->societe; - print $societestatic->getNomUrl(1,'',16); + print $societestatic->getNomUrl(1,'',8); print ''; // Contact @@ -265,7 +265,7 @@ if ($resql) $contactstatic->name=$obj->name; $contactstatic->firstname=$obj->firstname; $contactstatic->id=$obj->fk_contact; - print $contactstatic->getNomUrl(1,'',16); + print $contactstatic->getNomUrl(1,'',8); } else { diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index c427de313df..d254916d695 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -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 file url pour clic sur tri \param field champ de tri