mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-29 04:04:29 +00:00
Changed 'first','next' etc. to '|<', '>' etc.
SVN revision: 1097
This commit is contained in:
parent
6a67c0a734
commit
57215c3dbf
13
src/elogd.c
13
src/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 1.488 2004/09/28 23:18:59 midas
|
||||||
|
Changed 'first','next' etc. to '|<', '>' etc.
|
||||||
|
|
||||||
Revision 1.487 2004/09/28 23:02:23 midas
|
Revision 1.487 2004/09/28 23:02:23 midas
|
||||||
Fixed problem with attachment submits on edit
|
Fixed problem with attachment submits on edit
|
||||||
|
|
||||||
@ -16781,7 +16784,7 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command)
|
|||||||
/*---- next/previous buttons ----*/
|
/*---- next/previous buttons ----*/
|
||||||
|
|
||||||
if (!getcfg(lbs->name, "Enable browsing", str, sizeof(str)) || atoi(str) == 1) {
|
if (!getcfg(lbs->name, "Enable browsing", str, sizeof(str)) || atoi(str) == 1) {
|
||||||
rsprintf("<td class=\"menu1\" width=\"10%%\" nowrap align=right>\n");
|
rsprintf("<td class=\"menu1a\" width=\"10%%\" nowrap align=right>\n");
|
||||||
|
|
||||||
/* check if first.gif exists, just put link there if not */
|
/* check if first.gif exists, just put link there if not */
|
||||||
strlcpy(file_name, resource_dir, sizeof(file_name));
|
strlcpy(file_name, resource_dir, sizeof(file_name));
|
||||||
@ -16801,10 +16804,10 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command)
|
|||||||
rsprintf("<input type=image name=cmd_next alt=\"%s\" src=\"next.gif\">\n", loc("Next entry"));
|
rsprintf("<input type=image name=cmd_next alt=\"%s\" src=\"next.gif\">\n", loc("Next entry"));
|
||||||
rsprintf("<input type=image name=cmd_last alt=\"%s\" src=\"last.gif\">\n", loc("Last entry"));
|
rsprintf("<input type=image name=cmd_last alt=\"%s\" src=\"last.gif\">\n", loc("Last entry"));
|
||||||
} else {
|
} else {
|
||||||
rsprintf("<a href=\"%d?cmd=%s\">%s</a> | \n", message_id, loc("First"), loc("First"));
|
rsprintf("<a href=\"%d?cmd=%s\">|<</a> \n", message_id, loc("First"));
|
||||||
rsprintf("<a href=\"%d?cmd=%s\">%s</a> | \n", message_id, loc("Previous"), loc("Previous"));
|
rsprintf("<a href=\"%d?cmd=%s\"><</a> \n", message_id, loc("Previous"));
|
||||||
rsprintf("<a href=\"%d?cmd=%s\">%s</a> | \n", message_id, loc("Next"), loc("Next"));
|
rsprintf("<a href=\"%d?cmd=%s\">></a> \n", message_id, loc("Next"));
|
||||||
rsprintf("<a href=\"%d?cmd=%s\">%s</a> \n", message_id, loc("Last"), loc("Last"));
|
rsprintf("<a href=\"%d?cmd=%s\">>|</a> \n", message_id, loc("Last"));
|
||||||
}
|
}
|
||||||
|
|
||||||
rsprintf("</td></tr>\n");
|
rsprintf("</td></tr>\n");
|
||||||
|
|||||||
@ -209,6 +209,12 @@ td {
|
|||||||
font-size:10pt;
|
font-size:10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.menu1a {
|
||||||
|
text-align:right;
|
||||||
|
font-size:10pt;
|
||||||
|
font-weight:bold;
|
||||||
|
}
|
||||||
|
|
||||||
.menu2a {
|
.menu2a {
|
||||||
text-align:left;
|
text-align:left;
|
||||||
font-size:10pt;
|
font-size:10pt;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user