';
-print ' ';
+print ' ';
print '';
print ' ';
print ' ';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
print '';
print $form->selectarray('status', array('0'=>$langs->trans("Disabled"), '1'=>$langs->trans("Enabled"), '-2'=>$langs->trans("EnabledAndDisabled"), '2'=>$langs->trans("Archived")), $status, 1);
print ' ';
diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php
index 928b151618a..8236693f37f 100644
--- a/htdocs/ecm/index.php
+++ b/htdocs/ecm/index.php
@@ -494,12 +494,13 @@ if ($action == 'delete_section')
if (empty($action) || $action == 'file_manager' || preg_match('/refresh/i',$action) || $action == 'delete')
{
- print '';
+ print ''."\n";
- print '';
- print '';
+ print ''."\n";
+ print ' '."\n";
+ print '';
print ' '.$langs->trans("ECMSections");
- print ' ';
+ print '';
$showonrightsize='';
diff --git a/htdocs/ecm/index_auto.php b/htdocs/ecm/index_auto.php
index 6a9e80e32ad..8964f3b0534 100644
--- a/htdocs/ecm/index_auto.php
+++ b/htdocs/ecm/index_auto.php
@@ -480,12 +480,13 @@ if ($action == 'delete_section')
if (empty($action) || $action == 'file_manager' || preg_match('/refresh/i',$action) || $action == 'delete')
{
- print '';
+ print ''."\n";
- print '';
- print '';
+ print ''."\n";
+ print ' '."\n";
+ print '';
print ' '.$langs->trans("ECMSections");
- print ' ';
+ print '';
$showonrightsize='';
// Auto section
diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php
index 9090026d744..f8faa5fa753 100644
--- a/htdocs/fourn/commande/list.php
+++ b/htdocs/fourn/commande/list.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2004-2015 Laurent Destailleur
+ * Copyright (C) 2004-2016 Laurent Destailleur
* Copyright (C) 2005-2012 Regis Houssin
* Copyright (C) 2013 Cédric Salvador
* Copyright (C) 2014 Marcos García
@@ -672,7 +672,7 @@ if ($resql)
// Status billed
if (! empty($arrayfields['cf.billed']['checked']))
{
- print '';
+ print ' ';
print $form->selectyesno('billed', $billed, 1, 0, 1);
print ' ';
}
diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php
index 800df6bd812..a41978064f6 100644
--- a/htdocs/fourn/facture/paiement.php
+++ b/htdocs/fourn/facture/paiement.php
@@ -1,7 +1,7 @@
* Copyright (C) 2004 Eric Seigne
- * Copyright (C) 2004-2014 Laurent Destailleur
+ * Copyright (C) 2004-2016 Laurent Destailleur
* Copyright (C) 2004 Christophe Combelles
* Copyright (C) 2005 Marc Barilley / Ocebo
* Copyright (C) 2005-2012 Regis Houssin
@@ -717,23 +717,23 @@ if (empty($action))
// Lines for filters fields
print '';
- print '';
+ print ' ';
print ' ';
print ' ';
- print ' ';
- print '';
+ print ' ';
+ print '';
print ' ';
print ' ';
- print '';
+ print ' ';
$form->select_types_paiements($search_paymenttype,'search_paymenttype','',2,1,1);
print ' ';
- print '';
+ print ' ';
print ' ';
print ' ';
- print '';
+ print ' ';
$form->select_comptes($search_account,'search_account',0,'',1);
print ' ';
- print '';
+ print ' ';
print ' ';
print ' ';
print '';
diff --git a/htdocs/holiday/list.php b/htdocs/holiday/list.php
index 60da780370d..131dcc3651b 100644
--- a/htdocs/holiday/list.php
+++ b/htdocs/holiday/list.php
@@ -364,7 +364,7 @@ print $form->selectarray('type', $arraytypeleaves, (GETPOST('type')?GETPOST('typ
print ' ';
// DUREE
-print ' ';
+print ' ';
// DATE DEBUT
print '';
diff --git a/htdocs/hrm/index.php b/htdocs/hrm/index.php
index acc16eb0d3e..504cb4263e2 100644
--- a/htdocs/hrm/index.php
+++ b/htdocs/hrm/index.php
@@ -145,7 +145,8 @@ $langs->load("boxes");
// Last leave requests
if (! empty($conf->holiday->enabled) && $user->rights->holiday->read)
{
- $sql = "SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.photo, u.statut, x.rowid, x.rowid as ref, x.fk_type, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.tms as dm, x.statut as status";
+ $sql = "SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.photo, u.statut,";
+ $sql.= " x.rowid, x.rowid as ref, x.fk_type, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.tms as dm, x.statut as status";
$sql.= " FROM ".MAIN_DB_PREFIX."holiday as x, ".MAIN_DB_PREFIX."user as u";
$sql.= " WHERE u.rowid = x.fk_user";
$sql.= " AND x.entity = ".$conf->entity;
@@ -182,23 +183,25 @@ if (! empty($conf->holiday->enabled) && $user->rights->holiday->read)
while ($i < $num && $i < $max)
{
$obj = $db->fetch_object($result);
+
$holidaystatic->id=$obj->rowid;
$holidaystatic->ref=$obj->ref;
+
$userstatic->id=$obj->uid;
$userstatic->lastname=$obj->lastname;
$userstatic->firstname=$obj->firstname;
$userstatic->login=$obj->login;
$userstatic->photo=$obj->photo;
$userstatic->statut=$obj->statut;
+
+ $starthalfday=($obj->halfday == -1 || $obj->halfday == 2)?'afternoon':'morning';
+ $endhalfday=($obj->halfday == 1 || $obj->halfday == 2)?'morning':'afternoon';
+
print ' ';
print ''.$holidaystatic->getNomUrl(1).' ';
print ''.$userstatic->getNomUrl(-1, 'leave').' ';
print ''.$typeleaves[$obj->fk_type]['label'].' ';
-
- $starthalfday=($obj->halfday == -1 || $obj->halfday == 2)?'afternoon':'morning';
- $endhalfday=($obj->halfday == 1 || $obj->halfday == 2)?'morning':'afternoon';
-
- print ''.dol_print_date($obj->date_start,'day').' '.$langs->trans($listhalfday[$endhalfday]);
+ print ' '.dol_print_date($obj->date_start,'day').' '.$langs->trans($listhalfday[$starthalfday]);
print ' '.dol_print_date($obj->date_end,'day').' '.$langs->trans($listhalfday[$endhalfday]);
print ' '.dol_print_date($db->jdate($obj->dm),'day').' ';
print ''.$holidaystatic->LibStatut($obj->status,3).' ';
diff --git a/htdocs/opensurvey/list.php b/htdocs/opensurvey/list.php
index 42791f0af8d..847cd5289dc 100644
--- a/htdocs/opensurvey/list.php
+++ b/htdocs/opensurvey/list.php
@@ -105,14 +105,14 @@ print_liste_field_titre('');
print ' '."\n";
print '';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
-print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
+print ' ';
$arraystatus=array(''=>' ','expired'=>$langs->trans("Expired"),'opened'=>$langs->trans("Opened"));
-print ''. $form->selectarray('status', $arraystatus, $status).' ';
-print ' ';
+print ''. $form->selectarray('status', $arraystatus, $status).' ';
+print ' ';
print '';
$searchpitco=$form->showFilterAndCheckAddButtons(0);
print $searchpitco;
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 45da1eee13c..9f101b43294 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -2818,6 +2818,9 @@ tr.liste_titre_topborder td {
.liste_titre td a.notasortlink:hover {
background: transparent;
}
+tr.liste_titre td.liste_titre { /* For last line of table headers only */
+ border-bottom: 1px solid rgb();
+}
tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
{
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index c95bd830059..5a6b5a48297 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -2711,6 +2711,10 @@ tr.liste_titre_topborder td {
.liste_titre td a.notasortlink:hover {
background: transparent;
}
+tr.liste_titre td.liste_titre { /* For last line of table headers only */
+ border-bottom: 1px solid rgb();
+}
+
div.liste_titre {
padding-left: 3px;
}
diff --git a/htdocs/user/hierarchy.php b/htdocs/user/hierarchy.php
index 66d725b3204..9c5dd745347 100644
--- a/htdocs/user/hierarchy.php
+++ b/htdocs/user/hierarchy.php
@@ -146,10 +146,10 @@ print_liste_field_titre('',$_SERVER["PHP_SELF"],"",'','','','','','maxwidthsearc
print ' ';
print '';
-print ' ';
-print ' ';
+print ' ';
+print ' ';
// Status
-print '';
+print ' ';
print $form->selectarray('search_statut', array('-1'=>'','1'=>$langs->trans('Enabled')),$search_statut);
print ' ';
print '';
diff --git a/htdocs/user/index.php b/htdocs/user/index.php
index b1aba55a73f..54c99ca411a 100644
--- a/htdocs/user/index.php
+++ b/htdocs/user/index.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2004-2015 Laurent Destailleur
+ * Copyright (C) 2004-2016 Laurent Destailleur
* Copyright (C) 2005-2012 Regis Houssin
* Copyright (C) 2015 Alexandre Spangaro
* Copyright (C) 2016 Marcos García
@@ -354,56 +354,56 @@ print " \n";
print '';
if (! empty($arrayfields['u.login']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.lastname']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.firstname']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.gender']['checked']))
{
- print '';
+ print ' ';
$arraygender=array('man'=>$langs->trans("Genderman"),'woman'=>$langs->trans("Genderwoman"));
print $form->selectarray('search_gender', $arraygender, $search_gender, 1);
print ' ';
}
if (! empty($arrayfields['u.employee']['checked']))
{
- print '';
+ print ' ';
print $form->selectyesno('search_employee', $search_employee, 1, false, 1);
print ' ';
}
if (! empty($arrayfields['u.accountancy_code']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.email']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.fk_soc']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.entity']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.fk_user']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.datelastlogin']['checked']))
{
- print ' ';
+ print ' ';
}
if (! empty($arrayfields['u.datepreviouslogin']['checked']))
{
- print ' ';
+ print ' ';
}
// Extra fields
if (is_array($extrafields->attribute_label) && count($extrafields->attribute_label))