]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/groupblock.php
change URLs for user sitemap
[quix0rs-gnu-social.git] / actions / groupblock.php
index faf18c6adb71a94fbdddaf263292bd9751062fee..88d7634a28d89078047032e2d3e2af24e132fe4f 100644 (file)
@@ -159,7 +159,7 @@ class GroupblockAction extends Action
         $this->hidden('token', common_session_token());
         $this->element('legend', _('Block user'));
         $this->element('p', null,
-                       sprintf(_('Are you sure you want to block user "%s" from the group "%s"? '.
+                       sprintf(_('Are you sure you want to block user "%1$s" from the group "%2$s"? '.
                                  'They will be removed from the group, unable to post, and '.
                                  'unable to subscribe to the group in the future.'),
                                $this->profile->getBestName(),
@@ -214,5 +214,12 @@ class GroupblockAction extends Action
                             303);
         }
     }
+
+    function showScripts()
+    {
+        parent::showScripts();
+        $this->autofocus('form_action-yes');
+    }
+
 }