Index: branches/5.2.x/core/admin_templates/users/users_list.tpl
===================================================================
diff -u -r14437 -r14663
--- branches/5.2.x/core/admin_templates/users/users_list.tpl (.../users_list.tpl) (revision 14437)
+++ branches/5.2.x/core/admin_templates/users/users_list.tpl (.../users_list.tpl) (revision 14663)
@@ -55,6 +55,22 @@
a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+ a_toolbar.AddButton( new ToolBarButton('frontend_mail', '',
+ function() {
+ var $user_ids = Grids['u.regular'].GetSelected();
+
+ if ($user_ids.length > 1) {
+ alert('');
+ }
+ else {
+ var $user_id = $user_ids.shift(),
+ $url = '';
+
+ window.open($url.replace('#USER_ID#', $user_id), 'frontend_login');
+ }
+ }
+ ) );
+
a_toolbar.AddButton(
new ToolBarButton(
@@ -93,6 +109,6 @@
\ No newline at end of file