mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Add logbook name when URL is specified
SVN revision: 131
This commit is contained in:
parent
9bb0595f0e
commit
914c540244
8
elogd.c
8
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.23 2002/06/18 07:32:03 midas
|
||||||
|
Add logbook name when URL is specified
|
||||||
|
|
||||||
Revision 2.22 2002/06/18 07:22:28 midas
|
Revision 2.22 2002/06/18 07:22:28 midas
|
||||||
Removed width from logbook selection page
|
Removed width from logbook selection page
|
||||||
|
|
||||||
@ -6040,10 +6043,13 @@ int i, j, n, missing, first, index, n_attr, n_mail, suppress, message_id;
|
|||||||
sprintf(str, "http://%s/", host_name);
|
sprintf(str, "http://%s/", host_name);
|
||||||
else
|
else
|
||||||
sprintf(str, "http://%s:%d/", host_name, tcp_port);
|
sprintf(str, "http://%s:%d/", host_name, tcp_port);
|
||||||
|
|
||||||
|
strcat(str, lbs->name);
|
||||||
|
strcat(str, "/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf(mail_text+strlen(mail_text), "\r\n%s URL : %s%d\r\n",
|
sprintf(mail_text+strlen(mail_text), "\r\n%s URL : %s%d\r\n",
|
||||||
loc("Logbook"), str, message_id);
|
loc("Logbook"), str, message_id);
|
||||||
|
|
||||||
if (getcfg(lbs->name, "Email message body", str) &&
|
if (getcfg(lbs->name, "Email message body", str) &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user