diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index 4ca75ade9b9..9734602c41d 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -937,7 +937,7 @@ if ($id > 0) print '
| '.$langs->trans("Ref").' | '.$object->id.' | ||||||||||||||||
| '.$langs->trans("Ref").' | '.$object->id.' | ||||||||||||||||
| global->AGENDA_USE_EVENT_TYPE)?' class="fieldrequired"':'').'>'.$langs->trans("Title").' | |||||||||||||||||
| '.$langs->trans("EventOnFullDay").' | fulldayevent?' checked':'').'> | ||||||||||||||||
| '.$langs->trans("EventOnFullDay").' | fulldayevent?' checked':'').'> | ||||||||||||||||
| '.$langs->trans("DateActionStart").' | '; @@ -1090,7 +1090,7 @@ if ($id > 0) // Thirdparty - Contact if ($conf->societe->enabled) { - print ' | ||||||||||||||||
| '.$langs->trans("ActionOnCompany").' | '; + print '|||||||||||||||||
| '.$langs->trans("ActionOnCompany").' | '; print '';
print ' ';
$events=array();
@@ -1115,7 +1115,7 @@ if ($id > 0)
$langs->load("projects");
- print ' '.$langs->trans("Project").' | ';
+ print ' | '.$langs->trans("Project").' | ';
$numprojet=$formproject->select_projects($object->socid, $object->fk_project, 'projectid');
if ($numprojet==0)
{
@@ -1125,7 +1125,7 @@ if ($id > 0)
}
// Priority
- print ' | '.$langs->trans("Priority").' | ';
+ print ' | '.$langs->trans("Priority").' | ';
print '';
print ' | ' . $langs->trans("LocalAgenda").' ';
+ $s.=' ' . $langs->trans("LocalAgenda").' ';
// External calendars
if (is_array($showextcals) && count($showextcals) > 0)
diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php
index ed8227a1cb8..cfb3bc92333 100644
--- a/htdocs/comm/action/listactions.php
+++ b/htdocs/comm/action/listactions.php
@@ -306,10 +306,11 @@ if ($resql)
if (! empty($conf->global->AGENDA_USE_EVENT_TYPE)) print_liste_field_titre($langs->trans("Type"),$_SERVER["PHP_SELF"],"c.libelle",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("DateStart"),$_SERVER["PHP_SELF"],"a.datep",$param,'','align="center"',$sortfield,$sortorder);
print_liste_field_titre($langs->trans("DateEnd"),$_SERVER["PHP_SELF"],"a.datep2",$param,'','align="center"',$sortfield,$sortorder);
- print_liste_field_titre($langs->trans("Company"),$_SERVER["PHP_SELF"],"s.nom",$param,"","",$sortfield,$sortorder);
+ print_liste_field_titre($langs->trans("ThirdParty"),$_SERVER["PHP_SELF"],"s.nom",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Contact"),$_SERVER["PHP_SELF"],"a.fk_contact",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("ActionsOwnedBy"),$_SERVER["PHP_SELF"],"",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Status"),$_SERVER["PHP_SELF"],"a.percent",$param,"",'align="right"',$sortfield,$sortorder);
+ print_liste_field_titre("");
print " | ||||||||
| '; //print ' | '; print ' | '; - print ' | '; - print ''; - print ' | '; + print ''; + // Action column + print ' | '; + $searchpitco=$form->showFilterAndCheckAddButtons(0); + print $searchpitco; + print ' | '; print "'.dol_trunc($labeltype,24).' | '; + print ''.dol_trunc($labeltype,28).' | '; } // Start date @@ -397,7 +401,7 @@ if ($resql) $societestatic->id=$obj->socid; $societestatic->client=$obj->client; $societestatic->name=$obj->societe; - print $societestatic->getNomUrl(1,'',10); + print $societestatic->getNomUrl(1,'',28); } else print ' '; print ''; @@ -409,7 +413,7 @@ if ($resql) $contactstatic->lastname=$obj->lastname; $contactstatic->firstname=$obj->firstname; $contactstatic->id=$obj->fk_contact; - print $contactstatic->getNomUrl(1,'',10); + print $contactstatic->getNomUrl(1,'',28); } else { @@ -430,6 +434,8 @@ if ($resql) // Status/Percent print ''.$actionstatic->LibStatut($obj->percent,6).' | '; + print ''; + print "\n"; $i++; } diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php index fa24935316e..033c67839f0 100644 --- a/htdocs/comm/action/peruser.php +++ b/htdocs/comm/action/peruser.php @@ -420,7 +420,7 @@ if ($filtert > 0 || $usergroup > 0) $sql.= ' ORDER BY fk_user_action, datep'; //fk_user_action //print $sql; -dol_syslog("comm/action/index.php", LOG_DEBUG); +dol_syslog("comm/action/peruser.php", LOG_DEBUG); $resql=$db->query($sql); if ($resql) { @@ -703,7 +703,9 @@ foreach ($usernames as $username) { $var = ! $var; echo " | ||||||||
| ' . $username->getNomUrl(1). ' | '; + echo ''; + print $username->getNomUrl(-1,'',0,0,24,1,''); + print ' | '; $tmpday = $sav; // Lopp on each day of week diff --git a/htdocs/core/lib/agenda.lib.php b/htdocs/core/lib/agenda.lib.php index bfd9314f945..919a72c5ec5 100644 --- a/htdocs/core/lib/agenda.lib.php +++ b/htdocs/core/lib/agenda.lib.php @@ -65,7 +65,7 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh print '||||||||||||||||
';
+ else print '
|