mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Implemented 'search all logbooks = 2'
SVN revision: 1807
This commit is contained in:
parent
92853952e2
commit
ec8da0c3f9
@ -10586,8 +10586,12 @@ void show_find_form(LOGBOOK * lbs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (i > 2) {
|
if (i > 2) {
|
||||||
if (!getcfg(lbs->name, "Search all logbooks", str, sizeof(str)) || atoi(str) == 1) {
|
if (!getcfg(lbs->name, "Search all logbooks", str, sizeof(str)) || atoi(str) == 1 || atoi(str) == 2) {
|
||||||
rsprintf("<input type=checkbox id=all name=all value=1>");
|
|
||||||
|
if (atoi(str) == 2)
|
||||||
|
rsprintf("<input type=checkbox checked id=all name=all value=1>");
|
||||||
|
else
|
||||||
|
rsprintf("<input type=checkbox id=all name=all value=1>");
|
||||||
rsprintf("<label for=\"all\">%s</label><br>\n", loc("Search all logbooks"));
|
rsprintf("<label for=\"all\">%s</label><br>\n", loc("Search all logbooks"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user