diff --git a/htdocs/cashdesk/index.php b/htdocs/cashdesk/index.php
index 8bd64c76e2b..57dc1cbb394 100644
--- a/htdocs/cashdesk/index.php
+++ b/htdocs/cashdesk/index.php
@@ -96,11 +96,11 @@ else
| trans("Login"); ?> |
- |
+ |
| trans("Password"); ?> |
- |
+ |
'.$langs->trans("CashDeskBankAccountForSell").'';
print '';
$defaultknown=0;
if (! empty($conf->global->CASHDESK_ID_BANKACCOUNT_CASH) && $conf->global->CASHDESK_ID_BANKACCOUNT_CASH > 0) $defaultknown=1; // If a particular stock is defined, we disable choice
-print $form->select_comptes(((GETPOST('bankid_cash') > 0)?GETPOST('bankid_cash'):$conf->global->CASHDESK_ID_BANKACCOUNT_CASH), 'CASHDESK_ID_BANKACCOUNT_CASH', 0, "courant=2", ($defaultknown?0:2));
+$form->select_comptes(((GETPOST('bankid_cash') > 0)?GETPOST('bankid_cash'):$conf->global->CASHDESK_ID_BANKACCOUNT_CASH), 'CASHDESK_ID_BANKACCOUNT_CASH', 0, "courant=2", ($defaultknown?0:2));
print ' | ';
print "\n";
@@ -166,7 +166,7 @@ print ''.$langs->trans("CashDeskBankAccountForCheque").' |
print '';
$defaultknown=0;
if (! empty($conf->global->CASHDESK_ID_BANKACCOUNT_CHEQUE) && $conf->global->CASHDESK_ID_BANKACCOUNT_CHEQUE > 0) $defaultknown=1; // If a particular stock is defined, we disable choice
-print $form->select_comptes(((GETPOST('bankid_cheque') > 0)?GETPOST('bankid_cheque'):$conf->global->CASHDESK_ID_BANKACCOUNT_CHEQUE), 'CASHDESK_ID_BANKACCOUNT_CHEQUE', 0, "courant=1", ($defaultknown?0:2));
+$form->select_comptes(((GETPOST('bankid_cheque') > 0)?GETPOST('bankid_cheque'):$conf->global->CASHDESK_ID_BANKACCOUNT_CHEQUE), 'CASHDESK_ID_BANKACCOUNT_CHEQUE', 0, "courant=1", ($defaultknown?0:2));
print ' | ';
print "\n";
@@ -175,7 +175,7 @@ print ''.$langs->trans("CashDeskBankAccountForCB").' | ';
print '';
$defaultknown=0;
if (! empty($conf->global->CASHDESK_ID_BANKACCOUNT_CB) && $conf->global->CASHDESK_ID_BANKACCOUNT_CB > 0) $defaultknown=1; // If a particular stock is defined, we disable choice
-print $form->select_comptes(((GETPOST('bankid_cb') > 0)?GETPOST('bankid_cb'):$conf->global->CASHDESK_ID_BANKACCOUNT_CB), 'CASHDESK_ID_BANKACCOUNT_CB', 0, "courant=1", ($defaultknown?0:2));
+$form->select_comptes(((GETPOST('bankid_cb') > 0)?GETPOST('bankid_cb'):$conf->global->CASHDESK_ID_BANKACCOUNT_CB), 'CASHDESK_ID_BANKACCOUNT_CB', 0, "courant=1", ($defaultknown?0:2));
print ' | ';
print "\n";
@@ -191,7 +191,7 @@ print "\n";
-trans("Connection"); ?> />
+" />
diff --git a/htdocs/compta/bank/line.php b/htdocs/compta/bank/line.php
index 2b04f83472f..3345fe6ee3e 100644
--- a/htdocs/compta/bank/line.php
+++ b/htdocs/compta/bank/line.php
@@ -323,7 +323,7 @@ if ($result)
print '';
if (! $objp->rappro && ! $bankline->getVentilExportCompta())
{
- print $form->select_comptes($acct->id, 'accountid', 0, '', 0);
+ $form->select_comptes($acct->id, 'accountid', 0, '', 0);
}
else
{
diff --git a/htdocs/paybox/admin/paybox.php b/htdocs/paybox/admin/paybox.php
index abad76ce228..8f946a30001 100644
--- a/htdocs/paybox/admin/paybox.php
+++ b/htdocs/paybox/admin/paybox.php
@@ -197,7 +197,7 @@ if (! empty($conf->banque->enabled))
{
print ' | | ';
print $langs->trans("BankAccount").' | ';
- print $form->select_comptes($conf->global->PAYBOX_BANK_ACCOUNT_FOR_PAYMENTS, 'PAYBOX_BANK_ACCOUNT_FOR_PAYMENTS', 0, '', 1);
+ $form->select_comptes($conf->global->PAYBOX_BANK_ACCOUNT_FOR_PAYMENTS, 'PAYBOX_BANK_ACCOUNT_FOR_PAYMENTS', 0, '', 1);
print ' |
';
}
diff --git a/htdocs/paypal/admin/paypal.php b/htdocs/paypal/admin/paypal.php
index aefcb50369a..545fe9c368c 100644
--- a/htdocs/paypal/admin/paypal.php
+++ b/htdocs/paypal/admin/paypal.php
@@ -214,7 +214,7 @@ if (! empty($conf->banque->enabled))
{
print '| ';
print $langs->trans("BankAccount").' | ';
- print $form->select_comptes($conf->global->PAYPAL_BANK_ACCOUNT_FOR_PAYMENTS, 'PAYPAL_BANK_ACCOUNT_FOR_PAYMENTS', 0, '', 1);
+ $form->select_comptes($conf->global->PAYPAL_BANK_ACCOUNT_FOR_PAYMENTS, 'PAYPAL_BANK_ACCOUNT_FOR_PAYMENTS', 0, '', 1);
print ' |
';
}
diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php
index 26cb0e7b828..6b9247530fd 100644
--- a/htdocs/projet/index.php
+++ b/htdocs/projet/index.php
@@ -54,19 +54,17 @@ $sortorder = GETPOST("sortorder", 'alpha');
$max=3;
-
/*
* View
*/
$companystatic=new Societe($db);
$projectstatic=new Project($db);
-$userstatic=new User($db);
$form=new Form($db);
$formfile=new FormFile($db);
$projectset = ($mine?$mine:(empty($user->rights->projet->all->lire)?0:2));
-$projectsListId = $projectstatic->getProjectsAuthorizedForUser($user, $projetset, 1);
+$projectsListId = $projectstatic->getProjectsAuthorizedForUser($user, $projectset, 1);
//var_dump($projectsListId);
llxHeader("", $langs->trans("Projects"), "EN:Module_Projects|FR:Module_Projets|ES:Módulo_Proyectos");
@@ -80,14 +78,15 @@ $titleall=$langs->trans("AllAllowedProjects");
if (! empty($user->rights->projet->all->lire) && ! $socid) $titleall=$langs->trans("AllProjects");
else $titleall=$langs->trans("AllAllowedProjects").'
';
-
$morehtml='';
-$morehtml.='';
print_barre_liste($title, 0, $_SERVER["PHP_SELF"], '', '', '', '', 0, -1, 'title_project.png', 0, $morehtml);
@@ -170,7 +169,6 @@ print_projecttasks_array($db, $form, $socid, $projectsListId, 0, 0, $listofoppst
print '';
-
// Last modified projects
$sql = "SELECT p.rowid, p.ref, p.title, p.fk_statut, p.tms as datem,";
$sql.= " s.rowid as socid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.canvas";
diff --git a/htdocs/public/demo/demo.css b/htdocs/public/demo/demo.css
index d137b7be456..7f482367eba 100644
--- a/htdocs/public/demo/demo.css
+++ b/htdocs/public/demo/demo.css
@@ -23,13 +23,14 @@ a:hover {
font-weight: normal;
color: #444444 !important;
- margin: 8px 0px 8px 2px;
+ margin: 8px 2px 8px 2px;
/*border: 1px solid #bbb;
border-radius: 8px;
-moz-border-radius: 8px;*/
-
background: -webkit-linear-gradient(bottom, rgb(255,255,255) 85%, rgb(255,255,255) 100%);
+
+ max-width: 346px;
}
.csscolumns {
margin-top: 6px;
@@ -99,7 +100,7 @@ img.demothumb {
width: 110px;
}
.demobackground {
- background-image: url('dolibarr_demo_ban.jpg');
+ background-image: linear-gradient(to bottom, rgba(250,250,255,0.5), rgba(250,250,255,0.4)), url('dolibarr_demo_ban.jpg');
background-size: cover;
object-fit: contain;
height: 140px;
diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php
index 62de885eac6..d2633d9c708 100644
--- a/htdocs/public/demo/index.php
+++ b/htdocs/public/demo/index.php
@@ -336,7 +336,7 @@ foreach ($demoprofiles as $profilearray)
print '
'."\n";
print '
'."\n";
- print '
'."\n";
+ print '
'."\n";
print '
';
diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php
index 90d90b388ac..a9f0d9aed0b 100644
--- a/htdocs/societe/paymentmodes.php
+++ b/htdocs/societe/paymentmodes.php
@@ -486,7 +486,7 @@ if (empty($reshook))
$_POST['lang_id'] = GETPOST('lang_idrib'.GETPOST('companybankid', 'int'), 'alpha');
$_POST['model'] = GETPOST('modelrib'.GETPOST('companybankid', 'int'), 'alpha');
}
- https://dashboard.stripe.com/search?query=risk_level%3Ahighest&account=acct_1CVGWQLYhjvFj9Sz
+
$id = $socid;
$upload_dir = $conf->societe->multidir_output[$object->entity];
$permissioncreate=$user->rights->societe->creer;
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 533608aa132..17532380337 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -921,6 +921,7 @@ select.selectarrowonleft option {
.maxwidth75onsmartphone { max-width: 50px; }
.maxwidth100onsmartphone { max-width: 70px; }
.maxwidth150onsmartphone { max-width: 120px; }
+ .maxwidth150onsmartphoneimp { max-width: 120px !important; }
.maxwidth200onsmartphone { max-width: 200px; }
.maxwidth300onsmartphone { max-width: 300px; }
.maxwidth400onsmartphone { max-width: 400px; }
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index ab965b1d3d3..4d0fbe1d09f 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -1083,6 +1083,7 @@ select.selectarrowonleft option {
.maxwidth75onsmartphone { max-width: 50px; }
.maxwidth100onsmartphone { max-width: 70px; }
.maxwidth150onsmartphone { max-width: 120px; }
+ .maxwidth150onsmartphoneimp { max-width: 120px !important; }
.maxwidth200onsmartphone { max-width: 200px; }
.maxwidth300onsmartphone { max-width: 300px; }
.maxwidth400onsmartphone { max-width: 400px; }