mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug that synchronization was not working together with 'menu commands'
SVN revision: 1064
This commit is contained in:
parent
0e4ba7c687
commit
4510f4ba40
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.464 2004/09/08 14:31:37 midas
|
||||||
|
Fixed bug that synchronization was not working together with 'menu commands'
|
||||||
|
|
||||||
Revision 1.463 2004/09/08 12:06:18 midas
|
Revision 1.463 2004/09/08 12:06:18 midas
|
||||||
Do not display *.ps and *.pdf files inline
|
Do not display *.ps and *.pdf files inline
|
||||||
|
|
||||||
@ -13753,6 +13756,8 @@ BOOL is_command_allowed(LOGBOOK * lbs, char *command)
|
|||||||
|
|
||||||
if (is_admin_user(lbs->name, getparam("unm"))) {
|
if (is_admin_user(lbs->name, getparam("unm"))) {
|
||||||
|
|
||||||
|
if (getcfg(lbs->name, "Mirror server", str, sizeof(str)))
|
||||||
|
strcat(menu_str, "Synchronize, ");
|
||||||
strcat(menu_str, "Change config file, ");
|
strcat(menu_str, "Change config file, ");
|
||||||
strcat(menu_str, "Delete this logbook, ");
|
strcat(menu_str, "Delete this logbook, ");
|
||||||
strcat(menu_str, "Rename this logbook, ");
|
strcat(menu_str, "Rename this logbook, ");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user