';
elseif (empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)) {
- $addform.='
';
}
diff --git a/htdocs/projet/ganttview.php b/htdocs/projet/ganttview.php
index d9a9cc37ed8..18bb2931823 100644
--- a/htdocs/projet/ganttview.php
+++ b/htdocs/projet/ganttview.php
@@ -198,16 +198,16 @@ if ($user->rights->projet->all->creer || $user->rights->projet->creer)
{
if ($object->public || $userWrite > 0)
{
- $linktocreatetask = '
'.$langs->trans('AddTask').'';
+ $linktocreatetask = '
'.$langs->trans('AddTask').'';
}
else
{
- $linktocreatetask = '
'.$langs->trans('AddTask').'';
+ $linktocreatetask = '
'.$langs->trans('AddTask').'';
}
}
else
{
- $linktocreatetask = '
'.$langs->trans('AddTask').'';
+ $linktocreatetask = '
'.$langs->trans('AddTask').'';
}
$linktolist='
'.$langs->trans("GoToListOfTasks").'';
diff --git a/htdocs/projet/info.php b/htdocs/projet/info.php
index 040710b4136..eb6498a220f 100644
--- a/htdocs/projet/info.php
+++ b/htdocs/projet/info.php
@@ -163,7 +163,7 @@ if (! empty($conf->agenda->enabled))
{
if (! empty($user->rights->agenda->myactions->create) || ! empty($user->rights->agenda->allactions->create))
{
- $morehtmlcenter.='
id).'">'.$langs->trans("AddAction").'';
+ $morehtmlcenter.='id).'">'.$langs->trans("AddAction").'';
$morehtmlcenter.='';
$morehtmlcenter.='';
}
diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php
index c6daff2068b..7a2216df97f 100644
--- a/htdocs/projet/list.php
+++ b/htdocs/projet/list.php
@@ -452,7 +452,7 @@ $massactionbutton=$form->selectMassAction('', $arrayofmassactions);
$newcardbutton='';
if ($user->rights->projet->creer)
{
- $newcardbutton = '
'.$langs->trans('NewProject').'';
+ $newcardbutton = ''.$langs->trans('NewProject').'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php
index 166d224d1be..915ac8b9bd4 100644
--- a/htdocs/projet/tasks.php
+++ b/htdocs/projet/tasks.php
@@ -591,16 +591,16 @@ elseif ($id > 0 || ! empty($ref))
{
if ($object->public || $userWrite > 0)
{
- $linktocreatetask = '
'.$langs->trans('AddTask').'';
+ $linktocreatetask = '
'.$langs->trans('AddTask').'';
}
else
{
- $linktocreatetask = '
'.$langs->trans('AddTask').'';
+ $linktocreatetask = '
'.$langs->trans('AddTask').'';
}
}
else
{
- $linktocreatetask = '
'.$langs->trans('AddTask').'';
+ $linktocreatetask = '
'.$langs->trans('AddTask').'';
}
diff --git a/htdocs/projet/tasks/list.php b/htdocs/projet/tasks/list.php
index 066aebdde6a..2b2055fcd46 100644
--- a/htdocs/projet/tasks/list.php
+++ b/htdocs/projet/tasks/list.php
@@ -399,7 +399,7 @@ $massactionbutton=$form->selectMassAction('', $arrayofmassactions);
$newcardbutton='';
if ($user->rights->projet->creer)
{
- $newcardbutton = '
'.$langs->trans('NewTask').'';
+ $newcardbutton = ''.$langs->trans('NewTask').'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php
index ba06a8ba49e..4f0567c51f3 100644
--- a/htdocs/projet/tasks/time.php
+++ b/htdocs/projet/tasks/time.php
@@ -581,22 +581,22 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0)
if (! empty($projectidforalltimes)) // We are on tab 'Time Spent' of project
{
$backtourl = $_SERVER['PHP_SELF'].'?projectid='.$projectstatic->id.($withproject?'&withproject=1':'');
- $linktocreatetime = '
'.$langs->trans('AddTimeSpent').'';
+ $linktocreatetime = '
'.$langs->trans('AddTimeSpent').'';
}
else // We are on tab 'Time Spent' of task
{
$backtourl = $_SERVER['PHP_SELF'].'?id='.$object->id.($withproject?'&withproject=1':'');
- $linktocreatetime = '
'.$langs->trans('AddTimeSpent').'';
+ $linktocreatetime = '
'.$langs->trans('AddTimeSpent').'';
}
}
else
{
- $linktocreatetime = '
'.$langs->trans('AddTime').'';
+ $linktocreatetime = '
'.$langs->trans('AddTime').'';
}
}
else
{
- $linktocreatetime = '
'.$langs->trans('AddTime').'';
+ $linktocreatetime = '
'.$langs->trans('AddTime').'';
}
//}
}
diff --git a/htdocs/reception/card.php b/htdocs/reception/card.php
index d37509bb70f..7cbd77dd4da 100644
--- a/htdocs/reception/card.php
+++ b/htdocs/reception/card.php
@@ -805,7 +805,7 @@ if ($action == 'create')
print '
';
print '| ' . $langs->trans("Project") . ' | ';
$numprojet = $formproject->select_projects($soc->id, $projectid, 'projectid', 0);
- print ' id).'">' . $langs->trans("AddProject") . ' ';
+ print ' id).'">' . $langs->trans("AddProject") . '';
print ' | ';
print '
';
}
diff --git a/htdocs/resource/list.php b/htdocs/resource/list.php
index 800c5edcb06..45cf1e9d997 100644
--- a/htdocs/resource/list.php
+++ b/htdocs/resource/list.php
@@ -197,7 +197,7 @@ if($ret == -1) {
$newcardbutton='';
if ($user->rights->resource->write)
{
- $newcardbutton='
'.$langs->trans('MenuResourceAdd').'';
+ $newcardbutton=''.$langs->trans('MenuResourceAdd').'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/societe/agenda.php b/htdocs/societe/agenda.php
index 44b4097eff7..18e1890c485 100644
--- a/htdocs/societe/agenda.php
+++ b/htdocs/societe/agenda.php
@@ -162,7 +162,7 @@ if ($socid > 0)
{
if (! empty($user->rights->agenda->myactions->create) || ! empty($user->rights->agenda->allactions->create))
{
- $newcardbutton.='
'.$langs->trans("AddAction").'';
+ $newcardbutton.=''.$langs->trans("AddAction").'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php
index 7e106f387ae..c716604fd7c 100644
--- a/htdocs/societe/list.php
+++ b/htdocs/societe/list.php
@@ -558,7 +558,7 @@ if ($user->rights->societe->creer)
if($type == 'f') $label='NewSupplier';
}
- $newcardbutton = '
'.$langs->trans($label).'';
+ $newcardbutton = ''.$langs->trans($label).'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php
index ef1c169c768..f928658db3e 100644
--- a/htdocs/societe/paymentmodes.php
+++ b/htdocs/societe/paymentmodes.php
@@ -800,7 +800,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
$morehtmlright='';
if (! empty($conf->global->STRIPE_ALLOW_LOCAL_CARD))
{
- $morehtmlright='
id.'&action=createcard">'.$langs->trans("Add").' ';
+ $morehtmlright='
id.'&action=createcard">'.$langs->trans("Add").'';
}
print load_fiche_titre($langs->trans('StripePaymentModes').($stripeacc?' (Stripe connection with StripeConnect account '.$stripeacc.')':' (Stripe connection with keys from Stripe module setup)'), $morehtmlright, '');
@@ -1090,7 +1090,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
// List of bank accounts
print '
';
- $morehtmlright='
id.'&action=create">'.$langs->trans("Add").' ';
+ $morehtmlright='
id.'&action=create">'.$langs->trans("Add").'';
print load_fiche_titre($langs->trans("BankAccounts"), $morehtmlright, '');
diff --git a/htdocs/societe/website.php b/htdocs/societe/website.php
index 609cb8d4b90..75ca2b0fcd5 100644
--- a/htdocs/societe/website.php
+++ b/htdocs/societe/website.php
@@ -224,11 +224,11 @@ dol_fiche_end();
$newcardbutton = '';
if (! empty($conf->website->enabled)) {
if (! empty($user->rights->societe->lire)) {
- $newcardbutton .= '
id).'">' . $langs->trans("AddWebsiteAccount").'';
+ $newcardbutton .= 'id).'">' . $langs->trans("AddWebsiteAccount").'';
$newcardbutton.= '';
$newcardbutton.= '';
} else {
- $newcardbutton .= '
' . $langs->trans("AddAction");
+ $newcardbutton .= ''.$langs->trans("AddAction").'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/supplier_proposal/card.php b/htdocs/supplier_proposal/card.php
index 684208eb1b3..d9bb19affd1 100644
--- a/htdocs/supplier_proposal/card.php
+++ b/htdocs/supplier_proposal/card.php
@@ -1084,7 +1084,7 @@ if ($action == 'create')
} else {
print '
';
print $form->select_company('', 'socid', 's.fournisseur = 1', 'SelectThirdParty', 0, 0, null, 0, 'minwidth300');
- print ' '.$langs->trans("AddThirdParty").' ';
+ print ' '.$langs->trans("AddThirdParty").'';
print ' | ';
}
print '' . "\n";
@@ -1165,7 +1165,7 @@ if ($action == 'create')
print '
' . $langs->trans("Project") . ' | ';
$numprojet = $formproject->select_projects(($soc->id > 0 ? $soc->id : -1), $projectid, 'projectid', 0, 0, 1, 1);
- print ' id).'">' . $langs->trans("AddProject") . ' ';
+ print ' id).'">' . $langs->trans("AddProject") . '';
print ' | ';
print '';
diff --git a/htdocs/supplier_proposal/list.php b/htdocs/supplier_proposal/list.php
index e6dd96d3641..249620b5f53 100644
--- a/htdocs/supplier_proposal/list.php
+++ b/htdocs/supplier_proposal/list.php
@@ -388,7 +388,7 @@ if ($resql)
$newcardbutton='';
if($user->rights->supplier_proposal->creer)
{
- $newcardbutton='
'.$langs->trans('NewAskPrice').'';
+ $newcardbutton=''.$langs->trans('NewAskPrice').'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index f8e37816a0b..2e8d6bf4308 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -5743,6 +5743,10 @@ div.tabsElem a.tab {
min-width: auto;
font-size: 12px;
}
+
+ .text-plus-circle {
+ display: none;
+ }
}
rights->ticket->write)
{
- $newcardbutton = '
' . $langs->trans('NewTicket').'';
+ $newcardbutton = '' . $langs->trans('NewTicket').'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/user/group/list.php b/htdocs/user/group/list.php
index 346b82c825c..ce1caf8762a 100644
--- a/htdocs/user/group/list.php
+++ b/htdocs/user/group/list.php
@@ -143,7 +143,7 @@ if ($resql)
$newcardbutton='';
if ($caneditperms)
{
- $newcardbutton='
'.$langs->trans('NewGroup').'';
+ $newcardbutton=''.$langs->trans('NewGroup').'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/user/hierarchy.php b/htdocs/user/hierarchy.php
index 3d590351dfe..b7c015e7146 100644
--- a/htdocs/user/hierarchy.php
+++ b/htdocs/user/hierarchy.php
@@ -147,7 +147,7 @@ $param="search_statut=".urlencode($search_statut);
$newcardbutton='';
if ($canadduser)
{
- $newcardbutton = '
'.$langs->trans('NewUser').'';
+ $newcardbutton = ''.$langs->trans('NewUser').'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/user/list.php b/htdocs/user/list.php
index 59ef901ddcd..f3c00565f51 100644
--- a/htdocs/user/list.php
+++ b/htdocs/user/list.php
@@ -290,7 +290,7 @@ $text = $langs->trans("ListOfUsers");
$newcardbutton='';
if ($canadduser)
{
- $newcardbutton='
'.$langs->trans('NewUser').'';
+ $newcardbutton=''.$langs->trans('NewUser').'';
$newcardbutton.= '';
$newcardbutton.= '';
}
diff --git a/htdocs/variants/list.php b/htdocs/variants/list.php
index 481640d0daa..c25796f4b67 100644
--- a/htdocs/variants/list.php
+++ b/htdocs/variants/list.php
@@ -59,7 +59,7 @@ llxHeader('', $title);
$newcardbutton='';
if ($user->rights->produit->creer)
{
- $newcardbutton='
'.$langs->trans('Create').'';
+ $newcardbutton=''.$langs->trans('Create').'';
$newcardbutton.= '';
$newcardbutton.= '';
}