From 2246aa12da74e35a7afa0c615f6197bd189d3a03 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 4 Jun 2003 13:20:06 +0000 Subject: [PATCH] Fixed problem with 'change elogd.cfg' and user-defined menu commands SVN revision: 550 --- src/elogd.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 31931edb..19df9b74 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $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 Added attachment referencing @@ -868,7 +871,7 @@ \********************************************************************/ /* Version of ELOG */ -#define VERSION "2.3.7" +#define VERSION "2.3.8" #include #include @@ -7989,6 +7992,12 @@ int i, n; strcat(menu_str, menu_item[i]); strcat(menu_str, ", "); } + + if (strstr(admin_user, getparam("unm")) != NULL) + { + strcat(menu_str, loc("Change elogd.cfg")); + strcat(menu_str, ", "); + } } /* check find menu commands */