diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php
index 243f7d809a8..1a16ad113fd 100644
--- a/htdocs/comm/action/fiche.php
+++ b/htdocs/comm/action/fiche.php
@@ -419,7 +419,8 @@ if ($_POST["action"] == 'update')
* View
*/
-llxHeader();
+$help_url='EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda';
+llxHeader('',$langs->trans("Agenda"),$help_url);
$html = new Form($db);
$htmlactions = new FormActions($db);
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 8b3edff6c0e..25058d3feeb 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -104,7 +104,8 @@ if ($action=='delete_action')
* View
*/
-llxHeader('','','EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda');
+$help_url='EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda';
+llxHeader('',$langs->trans("Agenda"),$help_url);
$form=new Form($db);
diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php
index 0fb1127828b..c1f683f7478 100644
--- a/htdocs/comm/action/listactions.php
+++ b/htdocs/comm/action/listactions.php
@@ -25,7 +25,7 @@
\brief Page liste des actions commerciales
\version $Id$
*/
-
+
require_once("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/contact.class.php");
require_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php");
@@ -63,12 +63,12 @@ if ($page == -1) { $page = 0 ; }
$limit = $conf->liste_limit;
$offset = $limit * $page ;
if (! $sortorder)
-{
+{
$sortorder="ASC";
if ($status == 'todo') $sortorder="DESC";
if ($status == 'done') $sortorder="DESC";
}
-if (! $sortfield)
+if (! $sortfield)
{
$sortfield="a.percent";
if ($status == 'todo') $sortfield="a.datep";
@@ -97,7 +97,9 @@ if (! empty($_POST["viewcal"]))
* View
*/
-llxHeader();
+$help_url='EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda';
+llxHeader('',$langs->trans("Agenda"),$help_url);
+
$form=new Form($db);
$sql = "SELECT s.nom as societe, s.rowid as socid, s.client,";
@@ -125,7 +127,7 @@ if ($_GET["type"]) $sql.= " AND c.id = ".$_GET["type"];
if ($_REQUEST["time"] == "today") $sql.= " AND date_format(a.datep, '%d%m%Y') = ".strftime("%d%m%Y",time());
if ($status == 'done') { $sql.= " AND a.percent = 100"; }
if ($status == 'todo') { $sql.= " AND a.percent < 100"; }
-if ($filtera > 0 || $filtert > 0 || $filterd > 0)
+if ($filtera > 0 || $filtert > 0 || $filterd > 0)
{
$sql.= " AND (";
if ($filtera > 0) $sql.= " a.fk_user_author = ".$filtera;
@@ -143,7 +145,7 @@ if ($resql)
{
$actionstatic=new ActionComm($db);
$societestatic=new Societe($db);
-
+
$num = $db->num_rows($resql);
$title=$langs->trans("DoneAndToDoActions");
@@ -171,9 +173,9 @@ if ($resql)
{
print_barre_liste($langs->trans($title), $page, $_SERVER["PHP_SELF"], $param,$sortfield,$sortorder,'',$num);
}
-
+
//print '
';
-
+
if ($canedit)
{
print '