mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-10-01 05:05:19 +00:00
Redesigned date quick filter
SVN revision: 773
This commit is contained in:
parent
0dd8985814
commit
0d1f724c3f
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.252 2004/02/17 08:14:43 midas
|
||||||
|
Redesigned date quick filter
|
||||||
|
|
||||||
Revision 1.251 2004/02/16 20:27:28 midas
|
Revision 1.251 2004/02/16 20:27:28 midas
|
||||||
Implemented numeric attributes
|
Implemented numeric attributes
|
||||||
|
|
||||||
@ -10903,7 +10906,6 @@ void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands,
|
|||||||
rsprintf("<select name=\"%s\" onChange=\"document.form1.submit()\">\n",
|
rsprintf("<select name=\"%s\" onChange=\"document.form1.submit()\">\n",
|
||||||
list[index]);
|
list[index]);
|
||||||
|
|
||||||
rsprintf("<option value=\"_all_\">%s\n", loc("All entries"));
|
|
||||||
i = atoi(getparam(list[index]));
|
i = atoi(getparam(list[index]));
|
||||||
|
|
||||||
rsprintf("<option %s value=364>%s %s\n", i == 364 ? "selected" : "",
|
rsprintf("<option %s value=364>%s %s\n", i == 364 ? "selected" : "",
|
||||||
@ -10919,6 +10921,9 @@ void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands,
|
|||||||
rsprintf("<option %s value=1>%s %s\n", i == 1 ? "selected" : "",
|
rsprintf("<option %s value=1>%s %s\n", i == 1 ? "selected" : "",
|
||||||
loc("Next"), loc("Day"));
|
loc("Next"), loc("Day"));
|
||||||
|
|
||||||
|
rsprintf("<option %s value=\"_all_\">%s\n", i == 0 ? "selected" : "",
|
||||||
|
loc("All entries"));
|
||||||
|
|
||||||
rsprintf("<option %s value=-1>%s %s\n", i == -1 ? "selected" : "",
|
rsprintf("<option %s value=-1>%s %s\n", i == -1 ? "selected" : "",
|
||||||
loc("Last"), loc("Day"));
|
loc("Last"), loc("Day"));
|
||||||
rsprintf("<option %s value=-7>%s %s\n", i == -7 ? "selected" : "",
|
rsprintf("<option %s value=-7>%s %s\n", i == -7 ? "selected" : "",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user