mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Set label from blank to "all time" for time restricted searches.
This commit is contained in:
parent
baeebbf17a
commit
05cace499a
@ -12018,7 +12018,10 @@ void show_find_form(LOGBOOK * lbs)
|
||||
i = 0;
|
||||
|
||||
rsprintf("<select name=last>\n");
|
||||
rsprintf("<option value=\"\">\n");
|
||||
if (i > 0)
|
||||
rsprintf("<option value=\"\">%s\n", loc("All time"));
|
||||
else
|
||||
rsprintf("<option value=\"\">\n");
|
||||
rsprintf("<option %svalue=1>%s\n", i==1?"selected ":"", loc("Day"));
|
||||
rsprintf("<option %svalue=3>%s\n", i==3?"selected ":"", loc("3 Days"));
|
||||
rsprintf("<option %svalue=7>%s\n", i==7?"selected ":"", loc("Week"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user