mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed problem with image upload in other languages
SVN revision: 2006
This commit is contained in:
parent
fcdf329892
commit
3490d398c4
@ -17262,7 +17262,7 @@ BOOL is_command_allowed(LOGBOOK * lbs, char *command)
|
||||
if (i == n) {
|
||||
n = strbreak(other_str, menu_item, MAX_N_LIST, ",", FALSE);
|
||||
for (i = 0; i < n; i++)
|
||||
if (strieq(command, loc(menu_item[i])))
|
||||
if (strieq(command, menu_item[i]) || strieq(command, loc(menu_item[i])))
|
||||
break;
|
||||
|
||||
if (i == n)
|
||||
@ -24970,7 +24970,7 @@ void interprete(char *lbook, char *path)
|
||||
}
|
||||
|
||||
message_id = atoi(dec_path);
|
||||
if (strieq(command, loc("Upload"))) {
|
||||
if (strieq(command, loc("Upload")) || strieq(command, "Upload")) {
|
||||
show_edit_form(lbs, isparam("edit_id") ? atoi(getparam("edit_id")) : 0,
|
||||
FALSE, TRUE, TRUE, FALSE, FALSE, FALSE);
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user