mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed problem with 'change elogd.cfg' and user-defined menu commands
SVN revision: 550
This commit is contained in:
parent
5c0be1ce9f
commit
2246aa12da
11
src/elogd.c
11
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.116 2003/06/04 13:20:06 midas
|
||||||
|
Fixed problem with 'change elogd.cfg' and user-defined menu commands
|
||||||
|
|
||||||
Revision 1.115 2003/06/04 12:57:46 midas
|
Revision 1.115 2003/06/04 12:57:46 midas
|
||||||
Added attachment referencing
|
Added attachment referencing
|
||||||
|
|
||||||
@ -868,7 +871,7 @@
|
|||||||
\********************************************************************/
|
\********************************************************************/
|
||||||
|
|
||||||
/* Version of ELOG */
|
/* Version of ELOG */
|
||||||
#define VERSION "2.3.7"
|
#define VERSION "2.3.8"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -7989,6 +7992,12 @@ int i, n;
|
|||||||
strcat(menu_str, menu_item[i]);
|
strcat(menu_str, menu_item[i]);
|
||||||
strcat(menu_str, ", ");
|
strcat(menu_str, ", ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strstr(admin_user, getparam("unm")) != NULL)
|
||||||
|
{
|
||||||
|
strcat(menu_str, loc("Change elogd.cfg"));
|
||||||
|
strcat(menu_str, ", ");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check find menu commands */
|
/* check find menu commands */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user