diff --git a/htdocs/compta/deplacement/list.php b/htdocs/compta/deplacement/list.php
index 9f92cecc4a7..2aa03441e9b 100644
--- a/htdocs/compta/deplacement/list.php
+++ b/htdocs/compta/deplacement/list.php
@@ -158,7 +158,7 @@ if ($resql) {
print '';
}
print '';
- $formother->select_year($year ? $year : -1, 'year', 1, 20, 5);
+ print $formother->selectyear($year ? $year : -1, 'year', 1, 20, 5);
print '';
print '
';
print '';
diff --git a/htdocs/compta/paiement/cheque/list.php b/htdocs/compta/paiement/cheque/list.php
index d12caf36bbe..1c3abfe87bd 100644
--- a/htdocs/compta/paiement/cheque/list.php
+++ b/htdocs/compta/paiement/cheque/list.php
@@ -172,7 +172,7 @@ if ($resql) {
print '';
}
print '';
- $formother->select_year($year ? $year : -1, 'year', 1, 20, 5);
+ print $formother->selectyear($year ? $year : -1, 'year', 1, 20, 5);
print ' | ';
print '';
$form->select_comptes($search_account, 'search_account', 0, '', 1);
diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php
index cf02c2aeb74..326be7144a8 100644
--- a/htdocs/compta/paiement/rapport.php
+++ b/htdocs/compta/paiement/rapport.php
@@ -102,7 +102,7 @@ $syear = GETPOST("reyear") ?GETPOST("reyear") : date("Y", time());
print $formother->select_month($cmonth, 'remonth');
-print $formother->select_year($syear, 'reyear');
+print $formother->selectyear($syear, 'reyear');
print '';
print '';
diff --git a/htdocs/contact/consumption.php b/htdocs/contact/consumption.php
index 02813cee469..7f1d9bdc64b 100644
--- a/htdocs/contact/consumption.php
+++ b/htdocs/contact/consumption.php
@@ -410,7 +410,7 @@ if ($sql_select) {
print ' | ';
print ''; // date
print $formother->select_month($month ? $month : -1, 'month', 1, 0, 'valignmiddle');
- $formother->select_year($year ? $year : -1, 'year', 1, 20, 1);
+ print $formother->selectyear($year ? $year : -1, 'year', 1, 20, 1);
print ' | ';
print '';
print ' | ';
diff --git a/htdocs/contrat/list.php b/htdocs/contrat/list.php
index 57b4657eab4..e76261010da 100644
--- a/htdocs/contrat/list.php
+++ b/htdocs/contrat/list.php
@@ -693,7 +693,7 @@ if (!empty($arrayfields['lower_planned_end_date']['checked'])) {
print '';
print $formother->select_month($search_dfmonth, 'search_dfmonth', 1, 0);
print ' ';
- $formother->select_year($search_dfyear, 'search_dfyear', 1, 20, 5, 0, 0, '');
+ print $formother->selectyear($search_dfyear, 'search_dfyear', 1, 20, 5, 0, 0, '');
print '';
}
// Status
diff --git a/htdocs/expensereport/list.php b/htdocs/expensereport/list.php
index 551957d0a69..24432cb7cf1 100644
--- a/htdocs/expensereport/list.php
+++ b/htdocs/expensereport/list.php
@@ -580,14 +580,14 @@ if ($resql) {
if (!empty($arrayfields['d.date_valid']['checked'])) {
print '';
//print '';
- //$formother->select_year($year_end,'year_end',1, $min_year, $max_year);
+ //print $formother->selectyear($year_end,'year_end',1, $min_year, $max_year);
print ' | ';
}
// Date approve
if (!empty($arrayfields['d.date_approve']['checked'])) {
print '';
//print '';
- //$formother->select_year($year_end,'year_end',1, $min_year, $max_year);
+ //print $formother->selectyear($year_end,'year_end',1, $min_year, $max_year);
print ' | ';
}
// Amount with no tax
diff --git a/htdocs/fourn/facture/rapport.php b/htdocs/fourn/facture/rapport.php
index 59b92f349c0..f46871b03e9 100644
--- a/htdocs/fourn/facture/rapport.php
+++ b/htdocs/fourn/facture/rapport.php
@@ -105,7 +105,7 @@ $syear = GETPOST("reyear") ?GETPOST("reyear") : date("Y", time());
print $formother->select_month($cmonth, 'remonth');
-print $formother->select_year($syear, 'reyear');
+print $formother->selectyear($syear, 'reyear');
print '';
print '';
diff --git a/htdocs/holiday/list.php b/htdocs/holiday/list.php
index 5dc05d1c617..ed6e421d302 100644
--- a/htdocs/holiday/list.php
+++ b/htdocs/holiday/list.php
@@ -625,7 +625,7 @@ if ($resql) {
if (!empty($arrayfields['cp.date_debut']['checked'])) {
print '';
print '';
- $formother->select_year($search_year_start, 'search_year_start', 1, $min_year, $max_year);
+ print $formother->selectyear($search_year_start, 'search_year_start', 1, $min_year, $max_year);
print ' | ';
}
@@ -633,7 +633,7 @@ if ($resql) {
if (!empty($arrayfields['cp.date_fin']['checked'])) {
print '';
print '';
- $formother->select_year($search_year_end, 'search_year_end', 1, $min_year, $max_year);
+ print $formother->selectyear($search_year_end, 'search_year_end', 1, $min_year, $max_year);
print ' | ';
}
@@ -654,7 +654,7 @@ if ($resql) {
if (!empty($arrayfields['cp.date_create']['checked'])) {
print '';
print '';
- $formother->select_year($search_year_create, 'search_year_create', 1, $min_year, 0);
+ print $formother->selectyear($search_year_create, 'search_year_create', 1, $min_year, 0);
print ' | ';
}
@@ -662,7 +662,7 @@ if ($resql) {
if (!empty($arrayfields['cp.tms']['checked'])) {
print '';
print '';
- $formother->select_year($search_year_update, 'search_year_update', 1, $min_year, 0);
+ print $formother->selectyear($search_year_update, 'search_year_update', 1, $min_year, 0);
print ' | ';
}
diff --git a/htdocs/opensurvey/results.php b/htdocs/opensurvey/results.php
index bb2e3604627..eda16dec32c 100644
--- a/htdocs/opensurvey/results.php
+++ b/htdocs/opensurvey/results.php
@@ -609,7 +609,7 @@ if (GETPOST('ajoutsujet')) {
print ' ';
- print $formother->select_year('', 'nouvelleannee', 1, 0, 5, 0, 1);
+ print $formother->selectyear('', 'nouvelleannee', 1, 0, 5, 0, 1);
print '
'.$langs->trans("AddStartHour").':
'."\n";
print '