Merge branch 'develop' of ssh://bitbucket.org/ritt/elog into develop

This commit is contained in:
Stefan Ritt 2015-03-24 18:28:33 +01:00
commit 91516bf9c7

View File

@ -12105,7 +12105,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"));