Commit 0451d9ed authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/paperfilter.js

parent 5bfa90aa
Pipeline #8782 passed with stage
in 9 seconds
...@@ -52,10 +52,10 @@ function filter(year){ ...@@ -52,10 +52,10 @@ function filter(year){
document.getElementById("filterall").style.backgroundColor = "lightgrey" document.getElementById("filterall").style.backgroundColor = "lightgrey"
document.getElementById("filter2022").innerHTML = "2022" document.getElementById("filter2022").innerHTML = "2022"
//document.getElementById("filterall").innerHTML = "All" //document.getElementById("filterall").innerHTML = "All"
if(lang_new == "1" ) if(lang_setting == "1" )
{ {
document.getElementById("filterall").innerHTML = "All" document.getElementById("filterall").innerHTML = "All"
}else if(lang_new == "2" ){ }else if(lang_setting == "2" ){
document.getElementById("filterall").innerHTML = "Alles" document.getElementById("filterall").innerHTML = "Alles"
} }
document.getElementById("filter2023").innerHTML = "2023" document.getElementById("filter2023").innerHTML = "2023"
...@@ -83,10 +83,10 @@ function filter(year){ ...@@ -83,10 +83,10 @@ function filter(year){
document.getElementById("filter2023").style.backgroundColor = "lightgrey" document.getElementById("filter2023").style.backgroundColor = "lightgrey"
document.getElementById("filter2023").innerHTML = "2023" document.getElementById("filter2023").innerHTML = "2023"
//document.getElementById("filterall").innerHTML = "All" //document.getElementById("filterall").innerHTML = "All"
if(lang_new == "1" ) if(lang_setting == "1" )
{ {
document.getElementById("filterall").innerHTML = "All" document.getElementById("filterall").innerHTML = "All"
}else if(lang_new == "2" ){ }else if(lang_setting == "2" ){
document.getElementById("filterall").innerHTML = "Alles" document.getElementById("filterall").innerHTML = "Alles"
} }
document.getElementById("filter2022").innerHTML = "2022" document.getElementById("filter2022").innerHTML = "2022"
...@@ -118,10 +118,10 @@ function filter(year){ ...@@ -118,10 +118,10 @@ function filter(year){
document.getElementById("filter2021").innerHTML = "2021" document.getElementById("filter2021").innerHTML = "2021"
document.getElementById("filter2020").innerHTML = "2020" document.getElementById("filter2020").innerHTML = "2020"
//document.getElementById("filterall").innerHTML = "All" //document.getElementById("filterall").innerHTML = "All"
if(lang_new == "1" ) if(lang_setting == "1" )
{ {
document.getElementById("filterall").innerHTML = "All" document.getElementById("filterall").innerHTML = "All"
}else if(lang_new == "2" ){ }else if(lang_setting == "2" ){
document.getElementById("filterall").innerHTML = "Alles" document.getElementById("filterall").innerHTML = "Alles"
} }
count = 0 count = 0
...@@ -149,10 +149,10 @@ function filter(year){ ...@@ -149,10 +149,10 @@ function filter(year){
document.getElementById("filter2021").innerHTML = "2021" document.getElementById("filter2021").innerHTML = "2021"
document.getElementById("filter2020").innerHTML = "2020" document.getElementById("filter2020").innerHTML = "2020"
//document.getElementById("filterall").innerHTML = "All" //document.getElementById("filterall").innerHTML = "All"
if(lang_new == "1" ) if(lang_setting == "1" )
{ {
document.getElementById("filterall").innerHTML = "All" document.getElementById("filterall").innerHTML = "All"
}else if(lang_new == "2" ){ }else if(lang_setting == "2" ){
document.getElementById("filterall").innerHTML = "Alles" document.getElementById("filterall").innerHTML = "Alles"
} }
count = 0 count = 0
...@@ -176,10 +176,10 @@ function filter(year){ ...@@ -176,10 +176,10 @@ function filter(year){
document.getElementById("filter2022").style.backgroundColor = "grey" document.getElementById("filter2022").style.backgroundColor = "grey"
document.getElementById("filter2019").innerHTML = "2019" document.getElementById("filter2019").innerHTML = "2019"
// document.getElementById("filterall").innerHTML = "All" // document.getElementById("filterall").innerHTML = "All"
if(lang_new == "1" ) if(lang_setting == "1" )
{ {
document.getElementById("filterall").innerHTML = "All" document.getElementById("filterall").innerHTML = "All"
}else if(lang_new == "2" ){ }else if(lang_setting == "2" ){
document.getElementById("filterall").innerHTML = "Alles" document.getElementById("filterall").innerHTML = "Alles"
} }
document.getElementById("filter2021").innerHTML = "2021" document.getElementById("filter2021").innerHTML = "2021"
...@@ -207,10 +207,10 @@ function filter(year){ ...@@ -207,10 +207,10 @@ function filter(year){
document.getElementById("filter2020").innerHTML = "2020" document.getElementById("filter2020").innerHTML = "2020"
document.getElementById("filter2022").innerHTML = "2022" document.getElementById("filter2022").innerHTML = "2022"
document.getElementById("filter2023").innerHTML = "2023" document.getElementById("filter2023").innerHTML = "2023"
if(lang_new == "1" ) if(lang_setting == "1" )
{ {
document.getElementById("filterall").innerHTML = "All" document.getElementById("filterall").innerHTML = "All"
}else if(lang_new == "2" ){ }else if(lang_setting == "2" ){
document.getElementById("filterall").innerHTML = "Alles" document.getElementById("filterall").innerHTML = "Alles"
} }
...@@ -348,10 +348,10 @@ function filter(year){ ...@@ -348,10 +348,10 @@ function filter(year){
document.getElementById("filter2020").innerHTML = "2020" document.getElementById("filter2020").innerHTML = "2020"
document.getElementById("filter2022").innerHTML = "2022" document.getElementById("filter2022").innerHTML = "2022"
document.getElementById("filter2023").innerHTML = "2023" document.getElementById("filter2023").innerHTML = "2023"
if(lang_new == "1" ) if(lang_setting == "1" )
{ {
document.getElementById("filterall").innerHTML = "All" document.getElementById("filterall").innerHTML = "All"
}else if(lang_new == "2" ){ }else if(lang_setting == "2" ){
document.getElementById("filterall").innerHTML = "Alles" document.getElementById("filterall").innerHTML = "Alles"
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment