mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Changed comma display in search result page
SVN revision: 97
This commit is contained in:
parent
8939a624c4
commit
05ceab3936
10
elogd.c
10
elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 2.8 2002/06/10 11:46:36 midas
|
||||||
|
Changed comma display in search result page
|
||||||
|
|
||||||
Revision 2.7 2002/06/10 11:22:41 midas
|
Revision 2.7 2002/06/10 11:22:41 midas
|
||||||
Added 'Subst on reply' option
|
Added 'Subst on reply' option
|
||||||
|
|
||||||
@ -4711,13 +4714,12 @@ struct tm tms, *ptms;
|
|||||||
|
|
||||||
/*---- title ----*/
|
/*---- title ----*/
|
||||||
|
|
||||||
strcpy(str, ", ");
|
|
||||||
if (past_n == 1)
|
if (past_n == 1)
|
||||||
strcat(str, loc("Last day"));
|
strcat(str, loc(", Last day"));
|
||||||
else if (past_n > 1)
|
else if (past_n > 1)
|
||||||
sprintf(str+strlen(str), loc("Last %d days"), past_n);
|
sprintf(str+strlen(str), loc(", Last %d days"), past_n);
|
||||||
else if (last_n)
|
else if (last_n)
|
||||||
sprintf(str+strlen(str), loc("Last %d entries"), last_n);
|
sprintf(str+strlen(str), loc(", Last %d entries"), last_n);
|
||||||
|
|
||||||
if (printable)
|
if (printable)
|
||||||
show_standard_title(lbs->name, str, 1);
|
show_standard_title(lbs->name, str, 1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user