Index: branches/5.0.x/core/admin_templates/js/script.js =================================================================== diff -u -r12230 -r12298 --- branches/5.0.x/core/admin_templates/js/script.js (.../script.js) (revision 12230) +++ branches/5.0.x/core/admin_templates/js/script.js (.../script.js) (revision 12298) @@ -538,9 +538,14 @@ ); } -function translate_phrase($label, $template) { +function translate_phrase($label, $template, $options) { set_hidden_field('phrases_label', $label); - open_popup('phrases', 'OnNew', $template); + + if ($options.simple_mode !== undefined) { + set_hidden_field('simple_mode', $options.simple_mode ? 1 : 0); + } + + open_popup('phrases', $options.event === undefined ? 'OnNew' : $options.event, $template); } function direct_edit($prefix_special, $url) {