From 2d9b20157957a55bd83875775085ed31c9062577 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 15 Mar 2014 14:58:52 -0300 Subject: Squashed 'mod/translation_editor/' content from commit 9d86955 git-subtree-dir: mod/translation_editor git-subtree-split: 9d86955e6d8b6807578f5a9da0346ac1a146881c --- actions/make_translation_editor.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 actions/make_translation_editor.php (limited to 'actions/make_translation_editor.php') diff --git a/actions/make_translation_editor.php b/actions/make_translation_editor.php new file mode 100644 index 000000000..5a5640c66 --- /dev/null +++ b/actions/make_translation_editor.php @@ -0,0 +1,23 @@ +guid, $role, true, "integer", $user->guid, ACCESS_PUBLIC)){ + $result = true; + } + } + + if(!$result){ + register_error(elgg_echo("translation_editor:action:make_translation_editor:error")); + } else { + system_message(elgg_echo("translation_editor:action:make_translation_editor:success")); + } + + forward(REFERER); \ No newline at end of file -- cgit v1.2.3