diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index 7e150fc9a7f..37b8eaa320b 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -2980,7 +2980,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
//if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on')))
if (empty($srconly) && in_array($pictowithoutext, array(
'bank', 'close_title', 'delete', 'edit', 'ellipsis-h', 'filter', 'grip', 'grip_title', 'list', 'listlight', 'off', 'on', 'play', 'playdisabled', 'printer', 'resize',
- 'note', 'sign-out', 'split', 'switch_off', 'switch_on', 'unlink', 'uparrow', '1downarrow', '1uparrow',
+ 'note', 'sign-out', 'split', 'switch_off', 'switch_on', 'unlink', 'uparrow', '1downarrow', '1uparrow', '1leftarrow', '1rightarrow',
'jabber','skype','twitter','facebook','linkedin'
)
)) {
@@ -3053,12 +3053,10 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
$fakey = 'fa-mail-forward';
$facolor = '#555';
}
- elseif ($pictowithoutext == '1uparrow') {
- $fakey = 'fa-caret-up';
- $marginleftonlyshort = 1;
- }
- elseif ($pictowithoutext == '1downarrow') {
- $fakey = 'fa-caret-down';
+ elseif (in_array($pictowithoutext, array('1uparrow', '1downarrow', '1leftarrow', '1rightarrow', '1uparrow_selected', '1downarrow_selected', '1leftarrow_selected', '1rightarrow_selected'))) {
+ $convertarray=array('1uparrow'=>'caret-up', '1downarrow'=>'caret-down', '1leftarrow'=>'caret-left', '1rightarrow'=>'caret-right', '1uparrow_selected'=>'caret-up', '1downarrow_selected'=>'caret-down', '1leftarrow_selected'=>'caret-left', '1rightarrow_selected'=>'caret-right');
+ $fakey = 'fa-'.$convertarray[$pictowithoutext];
+ if (preg_match('/selected/', $pictowithoutext)) $facolor = '#888';
$marginleftonlyshort = 1;
}
elseif ($pictowithoutext == 'sign-out') {
diff --git a/htdocs/core/modules/export/export_excelnew.modules.php b/htdocs/core/modules/export/export_excel2007new.modules.php
similarity index 99%
rename from htdocs/core/modules/export/export_excelnew.modules.php
rename to htdocs/core/modules/export/export_excel2007new.modules.php
index f6a54b040d3..b51aa7b00fc 100644
--- a/htdocs/core/modules/export/export_excelnew.modules.php
+++ b/htdocs/core/modules/export/export_excel2007new.modules.php
@@ -32,7 +32,7 @@ use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
/**
* Class to build export files with Excel format
*/
-class ExportExcelnew extends ModeleExports
+class ExportExcel2007new extends ModeleExports
{
/**
* @var int ID
diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php
index 942ec66b002..6e7bb7fbaf6 100644
--- a/htdocs/exports/export.php
+++ b/htdocs/exports/export.php
@@ -519,7 +519,7 @@ if ($step == 2 && $datatoexport)
print '
';
print '
';
- print '
';
+ print '';
// Module
print ''.$langs->trans("Module").' ';
@@ -551,13 +551,13 @@ if ($step == 2 && $datatoexport)
print ' ';
print ' ';
print ' ';
- print '';
+ print '';
print '';
@@ -565,10 +565,10 @@ if ($step == 2 && $datatoexport)
print '';
print ''.$langs->trans("Entities").' ';
print ''.$langs->trans("ExportableFields").' ';
- print '';
- print ''.$langs->trans("All")." ";
+ print ' ';
+ print ''.$langs->trans("All")." ";
print ' / ';
- print ''.$langs->trans("None")." ";
+ print ''.$langs->trans("None")." ";
print ' ';
print ''.$langs->trans("ExportedFields").' ';
print ' ';
@@ -719,7 +719,7 @@ if ($step == 3 && $datatoexport)
print '';
print '
';
- print '
';
+ print '';
// Module
print ''.$langs->trans("Module").' ';
@@ -754,7 +754,7 @@ if ($step == 3 && $datatoexport)
print ' ';
// Combo list of export models
- print $langs->trans("SelectFilterFields").' ';
+ print ''.$langs->trans("SelectFilterFields").' ';
// un formulaire en plus pour recuperer les filtres
@@ -905,10 +905,10 @@ if ($step == 4 && $datatoexport)
print '';
print '
';
- print '
';
+ print '';
// Module
- print ''.$langs->trans("Module").' ';
+ print ''.$langs->trans("Module").' ';
print '';
//print img_object($objexport->array_export_module[0]->getName(),$objexport->array_export_module[0]->picto).' ';
print $objexport->array_export_module[0]->getName();
@@ -962,7 +962,7 @@ if ($step == 4 && $datatoexport)
// Select request if all fields are selected
$sqlmaxforexport=$objexport->build_sql(0, array(), array());
- print $langs->trans("ChooseFieldsOrdersAndTitle").' ';
+ print ''.$langs->trans("ChooseFieldsOrdersAndTitle").'
';
print '';
print '';
@@ -1166,7 +1166,7 @@ if ($step == 5 && $datatoexport)
print '';
print '
';
- print '
';
+ print '';
// Module
print ''.$langs->trans("Module").' ';
@@ -1193,7 +1193,7 @@ if ($step == 5 && $datatoexport)
}
print ''.$list.' ';
- // List of filtered fiels
+ // List of filtered fields
if (isset($objexport->array_export_TypeFields[0]) && is_array($objexport->array_export_TypeFields[0]))
{
print ''.$langs->trans("FilteredFields").' ';
@@ -1222,9 +1222,9 @@ if ($step == 5 && $datatoexport)
// List of available export formats
$htmltabloflibs = '';
$htmltabloflibs.= '';
- $htmltabloflibs.= ''.$langs->trans("AvailableFormats").' ';
+ $htmltabloflibs.= ''.$langs->trans("AvailableFormats").' ';
$htmltabloflibs.= ''.$langs->trans("LibraryUsed").' ';
- $htmltabloflibs.= ''.$langs->trans("LibraryVersion").' ';
+ $htmltabloflibs.= ''.$langs->trans("LibraryVersion").' ';
$htmltabloflibs.= ' '."\n";
$liste=$objmodelexport->liste_modeles($db);
@@ -1238,7 +1238,7 @@ if ($step == 5 && $datatoexport)
}
$htmltabloflibs.= '';
- $htmltabloflibs.= ''.img_picto_common($key, $objmodelexport->getPictoForKey($key)).' ';
+ $htmltabloflibs.= ' '.img_picto_common($key, $objmodelexport->getPictoForKey($key)).' ';
$text=$objmodelexport->getDriverDescForKey($key);
$label=$listeall[$key];
$htmltabloflibs.= $form->textwithpicto($label, $text).' ';
diff --git a/htdocs/theme/eldy/img/1downarrow.png b/htdocs/theme/eldy/img/1downarrow.png
deleted file mode 100644
index 1d8a1164ae0..00000000000
Binary files a/htdocs/theme/eldy/img/1downarrow.png and /dev/null differ
diff --git a/htdocs/theme/eldy/img/1downarrow_selected.png b/htdocs/theme/eldy/img/1downarrow_selected.png
deleted file mode 100644
index 17934d7c62e..00000000000
Binary files a/htdocs/theme/eldy/img/1downarrow_selected.png and /dev/null differ
diff --git a/htdocs/theme/eldy/img/1leftarrow.png b/htdocs/theme/eldy/img/1leftarrow.png
deleted file mode 100644
index 554cdc3d76c..00000000000
Binary files a/htdocs/theme/eldy/img/1leftarrow.png and /dev/null differ
diff --git a/htdocs/theme/eldy/img/1leftarrow_selected.png b/htdocs/theme/eldy/img/1leftarrow_selected.png
deleted file mode 100644
index 554cdc3d76c..00000000000
Binary files a/htdocs/theme/eldy/img/1leftarrow_selected.png and /dev/null differ
diff --git a/htdocs/theme/eldy/img/1rightarrow.png b/htdocs/theme/eldy/img/1rightarrow.png
deleted file mode 100644
index 95fdc377ee9..00000000000
Binary files a/htdocs/theme/eldy/img/1rightarrow.png and /dev/null differ
diff --git a/htdocs/theme/eldy/img/1rightarrow_selected.png b/htdocs/theme/eldy/img/1rightarrow_selected.png
deleted file mode 100644
index 95fdc377ee9..00000000000
Binary files a/htdocs/theme/eldy/img/1rightarrow_selected.png and /dev/null differ
diff --git a/htdocs/theme/eldy/img/1uparrow.png b/htdocs/theme/eldy/img/1uparrow.png
deleted file mode 100644
index 331731b750c..00000000000
Binary files a/htdocs/theme/eldy/img/1uparrow.png and /dev/null differ
diff --git a/htdocs/theme/eldy/img/1uparrow_selected.png b/htdocs/theme/eldy/img/1uparrow_selected.png
deleted file mode 100644
index d9d8462fe43..00000000000
Binary files a/htdocs/theme/eldy/img/1uparrow_selected.png and /dev/null differ
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index dde22ddcec6..1baf1650494 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -769,6 +769,9 @@ select.flat.selectlimit {
.nomarginleft {
margin-left: 0px !important;
}
+.marginbottomonly {
+ margin-bottom: 10px !important;
+}
.selectlimit, .selectlimit:focus {
border-left: none !important;
border-top: none !important;
diff --git a/htdocs/theme/md/img/1downarrow.png b/htdocs/theme/md/img/1downarrow.png
deleted file mode 100644
index 1d8a1164ae0..00000000000
Binary files a/htdocs/theme/md/img/1downarrow.png and /dev/null differ
diff --git a/htdocs/theme/md/img/1downarrow_selected.png b/htdocs/theme/md/img/1downarrow_selected.png
deleted file mode 100644
index 17934d7c62e..00000000000
Binary files a/htdocs/theme/md/img/1downarrow_selected.png and /dev/null differ
diff --git a/htdocs/theme/md/img/1leftarrow.png b/htdocs/theme/md/img/1leftarrow.png
deleted file mode 100644
index 554cdc3d76c..00000000000
Binary files a/htdocs/theme/md/img/1leftarrow.png and /dev/null differ
diff --git a/htdocs/theme/md/img/1leftarrow_selected.png b/htdocs/theme/md/img/1leftarrow_selected.png
deleted file mode 100644
index 554cdc3d76c..00000000000
Binary files a/htdocs/theme/md/img/1leftarrow_selected.png and /dev/null differ
diff --git a/htdocs/theme/md/img/1rightarrow.png b/htdocs/theme/md/img/1rightarrow.png
deleted file mode 100644
index 95fdc377ee9..00000000000
Binary files a/htdocs/theme/md/img/1rightarrow.png and /dev/null differ
diff --git a/htdocs/theme/md/img/1rightarrow_selected.png b/htdocs/theme/md/img/1rightarrow_selected.png
deleted file mode 100644
index 95fdc377ee9..00000000000
Binary files a/htdocs/theme/md/img/1rightarrow_selected.png and /dev/null differ
diff --git a/htdocs/theme/md/img/1uparrow.png b/htdocs/theme/md/img/1uparrow.png
deleted file mode 100644
index 331731b750c..00000000000
Binary files a/htdocs/theme/md/img/1uparrow.png and /dev/null differ
diff --git a/htdocs/theme/md/img/1uparrow_selected.png b/htdocs/theme/md/img/1uparrow_selected.png
deleted file mode 100644
index d9d8462fe43..00000000000
Binary files a/htdocs/theme/md/img/1uparrow_selected.png and /dev/null differ
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 8b988823046..6f22cf2746d 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -756,6 +756,9 @@ select.flat.selectlimit {
.nomarginleft {
margin-left: 0px !important;
}
+.marginbottomonly {
+ margin-bottom: 10px !important;
+}
.selectlimit, .selectlimit:focus {
border-left: none !important;
border-top: none !important;