diff --git a/src/elogd.c b/src/elogd.c
index 6c427948..84502f59 100755
--- a/src/elogd.c
+++ b/src/elogd.c
@@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG
$Log$
+ Revision 1.619 2005/04/07 19:41:38 ritt
+ Open attachments in separate browser window
+
Revision 1.618 2005/04/06 19:45:13 ritt
Reread password file(s) after HUP signal
@@ -14141,12 +14144,12 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode,
strlcat(thumb_name, ".thumb", sizeof(thumb_name));
if (!show_attachments) {
- rsprintf("%s ", ref, attachment[index] + 14);
+ rsprintf("%s ", ref, attachment[index] + 14);
} else {
if (file_exist(thumb_name)) {
rsprintf
- ("
| %s %d: %s\n",
+ (" |
| %s %d: %s\n",
colspan, loc("Attachment"), index + 1, ref, attachment[index] + 14);
if (show_attachments) {
rsprintf(" |
| \n", colspan);
@@ -14157,7 +14160,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode,
} else {
if (is_image(attachment[index])) {
rsprintf
- (" |
| %s %d: %s\n",
+ (" |
| %s %d: %s\n",
colspan, loc("Attachment"), index + 1, ref, attachment[index] + 14);
if (show_attachments) {
rsprintf(" |
");
@@ -14167,7 +14170,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode,
}
} else {
rsprintf
- ("
| %s %d: %s\n",
+ (" |
| %s %d: %s\n",
colspan, loc("Attachment"), index + 1, ref, attachment[index] + 14);
strlcpy(file_name, lbs->data_dir, sizeof(file_name));
@@ -18680,7 +18683,7 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command)
(" |
| %s %d: | \n",
loc("Attachment"), index + 1);
- rsprintf("%s\n", ref, attachment[index] + 14);
+ rsprintf(" | %s\n", ref, attachment[index] + 14);
rsprintf(" ");
|