mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Redirect to source logbook for copy/move
SVN revision: 1313
This commit is contained in:
parent
355d1307d4
commit
fa40d09f80
15
src/elogd.c
15
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.620 2005/04/07 20:17:28 ritt
|
||||||
|
Redirect to source logbook for copy/move
|
||||||
|
|
||||||
Revision 1.619 2005/04/07 19:41:38 ritt
|
Revision 1.619 2005/04/07 19:41:38 ritt
|
||||||
Open attachments in separate browser window
|
Open attachments in separate browser window
|
||||||
|
|
||||||
@ -17899,7 +17902,15 @@ void copy_to(LOGBOOK * lbs, int src_id, char *dest_logbook, int move, int orig_i
|
|||||||
if (orig_id)
|
if (orig_id)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* display status message */
|
/* redirect to next entry of source logbook */
|
||||||
|
if (source_id)
|
||||||
|
sprintf(str, "%d", source_id);
|
||||||
|
else
|
||||||
|
sprintf(str, "");
|
||||||
|
redirect(lbs, str);
|
||||||
|
return;
|
||||||
|
|
||||||
|
/* old status message, removed until someone complains...
|
||||||
if (source_id)
|
if (source_id)
|
||||||
sprintf(str, "%d", source_id);
|
sprintf(str, "%d", source_id);
|
||||||
else
|
else
|
||||||
@ -17957,6 +17968,7 @@ void copy_to(LOGBOOK * lbs, int src_id, char *dest_logbook, int move, int orig_i
|
|||||||
rsprintf("</body></html>\r\n");
|
rsprintf("</body></html>\r\n");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
@ -18117,6 +18129,7 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command)
|
|||||||
message_id = el_search_message(lbs, EL_LAST, 0, FALSE);
|
message_id = el_search_message(lbs, EL_LAST, 0, FALSE);
|
||||||
|
|
||||||
status = 0;
|
status = 0;
|
||||||
|
reply_tag[0] = orig_tag[0] = 0;
|
||||||
if (message_id) {
|
if (message_id) {
|
||||||
size = sizeof(text);
|
size = sizeof(text);
|
||||||
status =
|
status =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user