Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
zedflow
fgdi
Commits
6d9c2f05
Commit
6d9c2f05
authored
Oct 25, 2023
by
Traboulsi
Browse files
Update public/js/paperfilter.js
parent
358310b1
Pipeline
#8772
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/js/paperfilter.js
View file @
6d9c2f05
...
...
@@ -6,6 +6,7 @@ var state2019 = 0
var
stateall
=
0
var
state
=
0
var
count
=
0
var
lang_new
=
lang_setting
function
filter
(
year
){
...
...
@@ -51,10 +52,10 @@ function filter(year){
document
.
getElementById
(
"
filterall
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2022
"
).
innerHTML
=
"
2022
"
//document.getElementById("filterall").innerHTML = "All"
if
(
lang_
setting
==
"
1
"
)
if
(
lang_
new
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_
setting
==
"
2
"
){
}
else
if
(
lang_
new
==
"
2
"
){
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
document
.
getElementById
(
"
filter2023
"
).
innerHTML
=
"
2023
"
...
...
@@ -82,10 +83,10 @@ function filter(year){
document
.
getElementById
(
"
filter2023
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2023
"
).
innerHTML
=
"
2023
"
//document.getElementById("filterall").innerHTML = "All"
if
(
lang_
setting
==
"
1
"
)
if
(
lang_
new
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_
setting
==
"
2
"
){
}
else
if
(
lang_
new
==
"
2
"
){
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
document
.
getElementById
(
"
filter2022
"
).
innerHTML
=
"
2022
"
...
...
@@ -117,10 +118,10 @@ function filter(year){
document
.
getElementById
(
"
filter2021
"
).
innerHTML
=
"
2021
"
document
.
getElementById
(
"
filter2020
"
).
innerHTML
=
"
2020
"
//document.getElementById("filterall").innerHTML = "All"
if
(
lang_
setting
==
"
1
"
)
if
(
lang_
new
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_
setting
==
"
2
"
){
}
else
if
(
lang_
new
==
"
2
"
){
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
count
=
0
...
...
@@ -148,10 +149,10 @@ function filter(year){
document
.
getElementById
(
"
filter2021
"
).
innerHTML
=
"
2021
"
document
.
getElementById
(
"
filter2020
"
).
innerHTML
=
"
2020
"
//document.getElementById("filterall").innerHTML = "All"
if
(
lang_
setting
==
"
1
"
)
if
(
lang_
new
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_
setting
==
"
2
"
){
}
else
if
(
lang_
new
==
"
2
"
){
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
count
=
0
...
...
@@ -175,10 +176,10 @@ function filter(year){
document
.
getElementById
(
"
filter2022
"
).
style
.
backgroundColor
=
"
grey
"
document
.
getElementById
(
"
filter2019
"
).
innerHTML
=
"
2019
"
// document.getElementById("filterall").innerHTML = "All"
if
(
lang_
setting
==
"
1
"
)
if
(
lang_
new
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_
setting
==
"
2
"
){
}
else
if
(
lang_
new
==
"
2
"
){
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
document
.
getElementById
(
"
filter2021
"
).
innerHTML
=
"
2021
"
...
...
@@ -320,10 +321,10 @@ function filter(year){
document
.
getElementById
(
"
filter2020
"
).
innerHTML
=
"
2020
"
document
.
getElementById
(
"
filter2022
"
).
innerHTML
=
"
2022
"
document
.
getElementById
(
"
filter2023
"
).
innerHTML
=
"
2023
"
if
(
lang_
setting
==
"
1
"
)
if
(
lang_
new
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_
setting
==
"
2
"
){
}
else
if
(
lang_
new
==
"
2
"
){
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment