| '.$langs->trans("LDAPDnMemberActive").' | ';
$arraylist=array();
$arraylist['0']=$langs->trans("No");
diff --git a/htdocs/admin/ldap_contacts.php b/htdocs/admin/ldap_contacts.php
index d5ca994c258..f183c29b5ef 100644
--- a/htdocs/admin/ldap_contacts.php
+++ b/htdocs/admin/ldap_contacts.php
@@ -39,7 +39,7 @@ if (!$user->admin)
accessforbidden();
$action = GETPOST('action','aZ09');
-
+
/*
* Actions
*/
@@ -49,7 +49,7 @@ if ($action == 'setvalue' && $user->admin)
$error=0;
$db->begin();
-
+
if (! dolibarr_set_const($db, 'LDAP_CONTACT_DN',GETPOST("contactdn"),'chaine',0,'',$conf->entity)) $error++;
if (! dolibarr_set_const($db, 'LDAP_CONTACT_OBJECT_CLASS',GETPOST("objectclass"),'chaine',0,'',$conf->entity)) $error++;
@@ -73,7 +73,7 @@ if ($action == 'setvalue' && $user->admin)
$key=GETPOST("key");
if ($key) $valkey=$conf->global->$key;
if (! dolibarr_set_const($db, 'LDAP_KEY_CONTACTS',$valkey,'chaine',0,'',$conf->entity)) $error++;
-
+
if (! $error)
{
$db->commit();
@@ -107,7 +107,7 @@ if (! function_exists("ldap_connect"))
setEventMessages($langs->trans("LDAPFunctionsNotAvailableOnPHP"), null, 'errors');
}
-dol_fiche_head($head, 'contacts', $langs->trans("LDAPSetup"));
+dol_fiche_head($head, 'contacts', $langs->trans("LDAPSetup"), -1);
print $langs->trans("LDAPDescContact").' ';
diff --git a/htdocs/admin/ldap_groups.php b/htdocs/admin/ldap_groups.php
index 3f8869de70f..fc68d815439 100644
--- a/htdocs/admin/ldap_groups.php
+++ b/htdocs/admin/ldap_groups.php
@@ -5,7 +5,7 @@
* Copyright (C) 2005 Regis Houssin
* Copyright (C) 2006-2011 Laurent Destailleur
* Copyright (C) 2011-2013 Juanjo Menent
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -38,7 +38,7 @@ $langs->load("errors");
if (!$user->admin)
accessforbidden();
-
+
$action = GETPOST('action','aZ09');
@@ -50,7 +50,7 @@ if ($action == 'setvalue' && $user->admin)
{
$error=0;
$db->begin();
-
+
if (! dolibarr_set_const($db, 'LDAP_GROUP_DN',GETPOST("group"),'chaine',0,'',$conf->entity)) $error++;
if (! dolibarr_set_const($db, 'LDAP_GROUP_OBJECT_CLASS',GETPOST("objectclass"),'chaine',0,'',$conf->entity)) $error++;
@@ -64,7 +64,7 @@ if ($action == 'setvalue' && $user->admin)
$key=GETPOST("key");
if ($key) $valkey=$conf->global->$key;
if (! dolibarr_set_const($db, 'LDAP_KEY_GROUPS',$valkey,'chaine',0,'',$conf->entity)) $error++;
-
+
if (! $error)
{
$db->commit();
@@ -96,7 +96,7 @@ if (! function_exists("ldap_connect"))
setEventMessages($langs->trans("LDAPFunctionsNotAvailableOnPHP"), null, 'errors');
}
-dol_fiche_head($head, 'groups', $langs->trans("LDAPSetup"));
+dol_fiche_head($head, 'groups', $langs->trans("LDAPSetup"), -1);
print $langs->trans("LDAPDescGroups").' ';
diff --git a/htdocs/admin/ldap_members.php b/htdocs/admin/ldap_members.php
index afbf8da375a..cad37cc4ccc 100644
--- a/htdocs/admin/ldap_members.php
+++ b/htdocs/admin/ldap_members.php
@@ -5,7 +5,7 @@
* Copyright (C) 2005 Regis Houssin
* Copyright (C) 2006-2008 Laurent Destailleur
* Copyright (C) 2011-2013 Juanjo Menent
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -50,7 +50,7 @@ if ($action == 'setvalue' && $user->admin)
$error=0;
$db->begin();
-
+
if (! dolibarr_set_const($db, 'LDAP_MEMBER_DN',GETPOST("user"),'chaine',0,'',$conf->entity)) $error++;
if (! dolibarr_set_const($db, 'LDAP_MEMBER_OBJECT_CLASS',GETPOST("objectclass"),'chaine',0,'',$conf->entity)) $error++;
if (! dolibarr_set_const($db, 'LDAP_MEMBER_FILTER',GETPOST("filterconnection"),'chaine',0,'',$conf->entity)) $error++;
@@ -126,7 +126,7 @@ if (! function_exists("ldap_connect"))
print ' | ';
if (! empty($newlangfileonly->tab_translate[$key]))
{
- if ($val != $newlangfileonly->tab_translate[$key])
+ if ($val != $newlangfileonly->tab_translate[$key])
{
$htmltext = $langs->trans("OriginalValueWas", $newlangfileonly->tab_translate[$key]);
print $form->textwithpicto('', $htmltext, 1, 'info');
diff --git a/htdocs/core/boxes/box_actions.php b/htdocs/core/boxes/box_actions.php
index e856d52c2b6..0ce87a92c61 100644
--- a/htdocs/core/boxes/box_actions.php
+++ b/htdocs/core/boxes/box_actions.php
@@ -156,8 +156,8 @@ class box_actions extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'align' => 'left',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
@@ -191,7 +191,7 @@ class box_actions extends ModeleBoxes
// on affiche que les évènement du jours ou passé
// qui ne sont pas à 100%
$actioncejour=true;
-
+
// TR
$logo=$contents[$line][0]['logo'];
$label=$contents[$line][1]['text'];
diff --git a/htdocs/core/boxes/box_bookmarks.php b/htdocs/core/boxes/box_bookmarks.php
index b6df56f52a2..653922c4cd2 100644
--- a/htdocs/core/boxes/box_bookmarks.php
+++ b/htdocs/core/boxes/box_bookmarks.php
@@ -124,8 +124,8 @@ class box_bookmarks extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'align' => 'left',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_clients.php b/htdocs/core/boxes/box_clients.php
index 51e4a22d756..5e6f50f5b88 100644
--- a/htdocs/core/boxes/box_clients.php
+++ b/htdocs/core/boxes/box_clients.php
@@ -146,8 +146,10 @@ class box_clients extends ModeleBoxes
}
}
else {
- $this->info_box_contents[0][0] = array('align' => 'left',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_commandes.php b/htdocs/core/boxes/box_commandes.php
index be9a868109d..c7c6bbb92d3 100644
--- a/htdocs/core/boxes/box_commandes.php
+++ b/htdocs/core/boxes/box_commandes.php
@@ -165,8 +165,8 @@ class box_commandes extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'align' => 'left',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_comptes.php b/htdocs/core/boxes/box_comptes.php
index 2372a31f035..7d08a643f87 100644
--- a/htdocs/core/boxes/box_comptes.php
+++ b/htdocs/core/boxes/box_comptes.php
@@ -158,8 +158,8 @@ class box_comptes extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
diff --git a/htdocs/core/boxes/box_contacts.php b/htdocs/core/boxes/box_contacts.php
index c6aaf1ec24a..63b617ffe62 100644
--- a/htdocs/core/boxes/box_contacts.php
+++ b/htdocs/core/boxes/box_contacts.php
@@ -151,8 +151,8 @@ class box_contacts extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'align' => 'left',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
diff --git a/htdocs/core/boxes/box_contracts.php b/htdocs/core/boxes/box_contracts.php
index 7585c5d931c..197425b9a51 100644
--- a/htdocs/core/boxes/box_contracts.php
+++ b/htdocs/core/boxes/box_contracts.php
@@ -134,7 +134,7 @@ class box_contracts extends ModeleBoxes
if ($num==0)
$this->info_box_contents[$line][0] = array(
- 'td' => 'align="center"',
+ 'td' => 'align="center opacitymedium"',
'text'=>$langs->trans("NoRecordedContracts"),
);
@@ -148,8 +148,8 @@ class box_contracts extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_factures.php b/htdocs/core/boxes/box_factures.php
index b7c9dfa0e91..cf1d70531b3 100644
--- a/htdocs/core/boxes/box_factures.php
+++ b/htdocs/core/boxes/box_factures.php
@@ -169,8 +169,8 @@ class box_factures extends ModeleBoxes
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_factures_fourn.php b/htdocs/core/boxes/box_factures_fourn.php
index 4f88d99bb09..9869901c7ab 100644
--- a/htdocs/core/boxes/box_factures_fourn.php
+++ b/htdocs/core/boxes/box_factures_fourn.php
@@ -178,8 +178,8 @@ class box_factures_fourn extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->transnoentities("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->transnoentities("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_factures_fourn_imp.php b/htdocs/core/boxes/box_factures_fourn_imp.php
index 3313b4cbd50..11361b0aa44 100644
--- a/htdocs/core/boxes/box_factures_fourn_imp.php
+++ b/htdocs/core/boxes/box_factures_fourn_imp.php
@@ -168,8 +168,8 @@ class box_factures_fourn_imp extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
diff --git a/htdocs/core/boxes/box_factures_imp.php b/htdocs/core/boxes/box_factures_imp.php
index 14a21d9712d..bba23671c47 100644
--- a/htdocs/core/boxes/box_factures_imp.php
+++ b/htdocs/core/boxes/box_factures_imp.php
@@ -172,8 +172,8 @@ class box_factures_imp extends ModeleBoxes
}
else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_ficheinter.php b/htdocs/core/boxes/box_ficheinter.php
index 9fcd8ec6cd7..a76715c9474 100644
--- a/htdocs/core/boxes/box_ficheinter.php
+++ b/htdocs/core/boxes/box_ficheinter.php
@@ -134,8 +134,10 @@ class box_ficheinter extends ModeleBoxes
}
else
{
- $this->info_box_contents[0][0] = array('td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_fournisseurs.php b/htdocs/core/boxes/box_fournisseurs.php
index 530a99c8224..6e11c67c51f 100644
--- a/htdocs/core/boxes/box_fournisseurs.php
+++ b/htdocs/core/boxes/box_fournisseurs.php
@@ -127,8 +127,8 @@ class box_fournisseurs extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
diff --git a/htdocs/core/boxes/box_goodcustomers.php b/htdocs/core/boxes/box_goodcustomers.php
index 6c19b46e468..8a7681fb2b2 100644
--- a/htdocs/core/boxes/box_goodcustomers.php
+++ b/htdocs/core/boxes/box_goodcustomers.php
@@ -59,7 +59,7 @@ class box_goodcustomers extends ModeleBoxes
// disable box for such cases
if (! empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) $this->enabled=0; // disabled by this option
- if (empty($conf->global->MAIN_BOX_ENABLE_BEST_CUSTOMERS)) $this->enabled=0; // not enabled by default. Very slow on large database
+ if (empty($conf->global->MAIN_BOX_ENABLE_BEST_CUSTOMERS)) $this->enabled=0; // not enabled by default. Very slow on large database
}
/**
@@ -148,8 +148,10 @@ class box_goodcustomers extends ModeleBoxes
}
}
else {
- $this->info_box_contents[0][0] = array('align' => 'left',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_graph_invoices_permonth.php b/htdocs/core/boxes/box_graph_invoices_permonth.php
index 8d8fea71411..1b90aae701a 100644
--- a/htdocs/core/boxes/box_graph_invoices_permonth.php
+++ b/htdocs/core/boxes/box_graph_invoices_permonth.php
@@ -133,7 +133,7 @@ class box_graph_invoices_permonth extends ModeleBoxes
if (! $mesg)
{
$langs->load("bills");
-
+
$px1->SetData($data1);
unset($data1);
$px1->SetPrecisionY(0);
@@ -255,8 +255,10 @@ class box_graph_invoices_permonth extends ModeleBoxes
}
else {
- $this->info_box_contents[0][0] = array('td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
index e7ece7a2a53..55866288ef2 100644
--- a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
+++ b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php
@@ -132,7 +132,7 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
if (! $mesg)
{
$langs->load("bills");
-
+
$px1->SetData($data1);
unset($data1);
$px1->SetPrecisionY(0);
@@ -254,8 +254,10 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
}
else {
- $this->info_box_contents[0][0] = array('td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_graph_orders_permonth.php b/htdocs/core/boxes/box_graph_orders_permonth.php
index ec45cc3dde7..fcc98d368f5 100644
--- a/htdocs/core/boxes/box_graph_orders_permonth.php
+++ b/htdocs/core/boxes/box_graph_orders_permonth.php
@@ -253,8 +253,10 @@ class box_graph_orders_permonth extends ModeleBoxes
}
else {
- $this->info_box_contents[0][0] = array('td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php
index 28335c79b62..b259cf48604 100644
--- a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php
+++ b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php
@@ -252,8 +252,10 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
}
else {
- $this->info_box_contents[0][0] = array('td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_graph_product_distribution.php b/htdocs/core/boxes/box_graph_product_distribution.php
index 44d5d0b0c15..6c178e0c989 100644
--- a/htdocs/core/boxes/box_graph_product_distribution.php
+++ b/htdocs/core/boxes/box_graph_product_distribution.php
@@ -99,6 +99,10 @@ class box_graph_product_distribution extends ModeleBoxes
$nowarray=dol_getdate(dol_now(),true);
if (empty($year)) $year=$nowarray['year'];
+ $nbofgraph=0;
+ if ($showinvoicenb) $nbofgraph++;
+ if ($showpropalnb) $nbofgraph++;
+ if ($showordernb) $nbofgraph++;
$text = $langs->trans("BoxProductDistribution",$max).' - '.$langs->trans("Year").': '.$year;
$this->info_box_head = array(
@@ -113,11 +117,6 @@ class box_graph_product_distribution extends ModeleBoxes
);
- $nbofgraph=0;
- if ($showinvoicenb) $nbofgraph++;
- if ($showpropalnb) $nbofgraph++;
- if ($showordernb) $nbofgraph++;
-
$paramtitle=$langs->transnoentitiesnoconv("Products").'/'.$langs->transnoentitiesnoconv("Services");
if (empty($conf->produit->enabled)) $paramtitle=$langs->transnoentitiesnoconv("Services");
if (empty($conf->service->enabled)) $paramtitle=$langs->transnoentitiesnoconv("Products");
@@ -250,7 +249,7 @@ class box_graph_product_distribution extends ModeleBoxes
if (! empty($conf->commande->enabled) && ! empty($user->rights->commande->lire))
{
$langs->load("orders");
-
+
// Build graphic number of object. $data = array(array('Lib',val1,val2,val3),...)
if ($showordernb)
{
@@ -309,6 +308,11 @@ class box_graph_product_distribution extends ModeleBoxes
}
}
+ if (empty($nbofgraph))
+ {
+ $langs->load("errors");
+ $mesg=$langs->trans("ReadPermissionNotAllowed");
+ }
if (empty($conf->use_javascript_ajax))
{
$langs->load("errors");
@@ -380,9 +384,11 @@ class box_graph_product_distribution extends ModeleBoxes
}
else
{
- $this->info_box_contents[0][0] = array( 'td' => 'align="left" class="nohover"',
- 'maxlength'=>500,
- 'text' => $mesg);
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'maxlength'=>500,
+ 'text' => $mesg
+ );
}
}
diff --git a/htdocs/core/boxes/box_graph_propales_permonth.php b/htdocs/core/boxes/box_graph_propales_permonth.php
index ccce8372d1f..0ad485a115d 100644
--- a/htdocs/core/boxes/box_graph_propales_permonth.php
+++ b/htdocs/core/boxes/box_graph_propales_permonth.php
@@ -254,8 +254,10 @@ class box_graph_propales_permonth extends ModeleBoxes
}
else {
- $this->info_box_contents[0][0] = array('td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_members.php b/htdocs/core/boxes/box_members.php
index 1bbcec45881..03780eb366d 100644
--- a/htdocs/core/boxes/box_members.php
+++ b/htdocs/core/boxes/box_members.php
@@ -157,8 +157,8 @@ class box_members extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'align' => 'left',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
diff --git a/htdocs/core/boxes/box_produits.php b/htdocs/core/boxes/box_produits.php
index 761fb6013b8..b0c47422806 100644
--- a/htdocs/core/boxes/box_produits.php
+++ b/htdocs/core/boxes/box_produits.php
@@ -188,8 +188,8 @@ class box_produits extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_produits_alerte_stock.php b/htdocs/core/boxes/box_produits_alerte_stock.php
index 69652fde11e..2f323fc5c4b 100644
--- a/htdocs/core/boxes/box_produits_alerte_stock.php
+++ b/htdocs/core/boxes/box_produits_alerte_stock.php
@@ -195,8 +195,8 @@ class box_produits_alerte_stock extends ModeleBoxes
}
else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_propales.php b/htdocs/core/boxes/box_propales.php
index 3f7b37f186a..60bc627005a 100644
--- a/htdocs/core/boxes/box_propales.php
+++ b/htdocs/core/boxes/box_propales.php
@@ -155,8 +155,8 @@ class box_propales extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_prospect.php b/htdocs/core/boxes/box_prospect.php
index abc99246c4a..7d735136326 100644
--- a/htdocs/core/boxes/box_prospect.php
+++ b/htdocs/core/boxes/box_prospect.php
@@ -156,8 +156,8 @@ class box_prospect extends ModeleBoxes
}
} else {
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/core/boxes/box_services_contracts.php b/htdocs/core/boxes/box_services_contracts.php
index 0151ba24966..b1793a6ca41 100644
--- a/htdocs/core/boxes/box_services_contracts.php
+++ b/htdocs/core/boxes/box_services_contracts.php
@@ -161,8 +161,10 @@ class box_services_contracts extends ModeleBoxes
}
}
else {
- $this->info_box_contents[0][0] = array('td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_services_expired.php b/htdocs/core/boxes/box_services_expired.php
index 2754a4cece6..da1d42af408 100644
--- a/htdocs/core/boxes/box_services_expired.php
+++ b/htdocs/core/boxes/box_services_expired.php
@@ -84,7 +84,7 @@ class box_services_expired extends ModeleBoxes
$i = 0;
$thirdpartytmp = new Societe($this->db);
-
+
while ($i < $num)
{
$late='';
@@ -140,8 +140,10 @@ class box_services_expired extends ModeleBoxes
}
else
{
- $this->info_box_contents[0][0] = array('td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"));
+ $this->info_box_contents[0][0] = array(
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
+ );
}
}
diff --git a/htdocs/core/boxes/box_supplier_orders.php b/htdocs/core/boxes/box_supplier_orders.php
index 29b6009b367..83a34c2c0e5 100644
--- a/htdocs/core/boxes/box_supplier_orders.php
+++ b/htdocs/core/boxes/box_supplier_orders.php
@@ -160,8 +160,8 @@ class box_supplier_orders extends ModeleBoxes
else
{
$this->info_box_contents[0][0] = array(
- 'td' => '',
- 'text' => $langs->trans("ReadPermissionNotAllowed"),
+ 'td' => 'align="left" class="nohover opacitymedium"',
+ 'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index 03af3ddfe88..421b3fae132 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -191,7 +191,7 @@ FeatureAvailableOnlyOnStable=Feature only available on official stable versions
Rights=Permissions
BoxesDesc=Widgets are components showing some information that you can add to personalize some pages. You can choose between showing the widget or not by selecting target page and clicking 'Activate', or by clicking the dustbin to disable it.
OnlyActiveElementsAreShown=Only elements from enabled modules are shown.
-ModulesDesc=Dolibarr modules define which functionality is enabled in software. Some modules require permissions you must grant to users, after enabling module. Click on button on/off to enable a module/feature.
+ModulesDesc=Dolibarr modules define which application/feature is enabled in software. Some application/modules require permissions you must grant to users, after enabling module. Click on button on/off to enable an application/module.
ModulesMarketPlaceDesc=You can find more modules to download on external websites on the Internet...
ModulesDeployDesc=If permissions on your file system allows it, you can use this tool to deploy an external module. The module wil then be visible on the tab %s.
ModulesMarketPlaces=Find external modules...
@@ -1107,7 +1107,7 @@ WarningAtLeastKeyOrTranslationRequired=A search criteria is required at least fo
NewTranslationStringToShow=New translation string to show
OriginalValueWas=The original translation is overwritten. Original value was:
%s
TransKeyWithoutOriginalValue=You forced a new translation for the translation key '%s' that does not exists in any language files
-TotalNumberOfActivatedModules=Activated feature/modules: %s / %s
+TotalNumberOfActivatedModules=Activated application/modules: %s / %s
YouMustEnableOneModule=You must at least enable 1 module
ClassNotFoundIntoPathWarning=Class %s not found into PHP path
YesInSummer=Yes in summer
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 3b2ba307bbd..777121e2acb 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -2245,7 +2245,8 @@ div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border
}
div .tdtop {
vertical-align: top !important;
- padding-top: 5px !important;
+ padding-top: 8px !important;
+ padding-bottom: 2px !important;
padding-bottom: 0px;
}
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 927830da51d..e1a286d5d7a 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -2820,7 +2820,7 @@ div.tabBar .noborder {
div .tdtop {
vertical-align: top !important;
padding-top: 5px !important;
- padding-bottom: 0px;
+ padding-bottom: 0px !important;
}
#tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
|