]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Change whitelist invite form's add new item control to be consistent with similar...
authorZach Copley <zach@status.net>
Wed, 11 May 2011 21:33:22 +0000 (14:33 -0700)
committerZach Copley <zach@status.net>
Wed, 11 May 2011 21:33:22 +0000 (14:33 -0700)
plugins/DomainWhitelist/lib/whitelistinviteform.php

index 72029bc3e88d8ef5639b39fa5a180766ef91bbd5..4928b88199669e70743896d8fe1c4eab4aa8f3dd 100644 (file)
@@ -141,7 +141,7 @@ class WhitelistInviteForm extends Form
             'a',
             array(
                 'class' => 'remove_row',
-                'href' => 'javascript://',
+                'href'  => 'javascript://',
             ),
             '-'
         );
@@ -150,21 +150,12 @@ class WhitelistInviteForm extends Form
             'a',
             array(
                 'class' => 'add_row',
-                'href' => 'javascript://',
+                'href'  => 'javascript://',
             ),
-            '+'
+            _m('Add another item')
         );
     }
-    
-    function getUsersDomain()
-    {
-        $user = common_current_user();
-        
-        assert(!empty($user));
         
-        
-    }
-    
     /**
      * Action elements
      *