diff options
Diffstat (limited to 'views/default/forms/register.php')
-rw-r--r-- | views/default/forms/register.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/views/default/forms/register.php b/views/default/forms/register.php index a7f34f777..8828e89e1 100644 --- a/views/default/forms/register.php +++ b/views/default/forms/register.php @@ -19,27 +19,27 @@ if (elgg_is_admin_logged_in() && isset($vars['show_admin'])) { <div class="mtm"> <label><?php echo elgg_echo('name'); ?></label> <br /> - <?php echo elgg_view('input/text', array('internalname' => 'name', 'value' => $name)); ?> + <?php echo elgg_view('input/text', array('name' => 'name', 'value' => $name)); ?> </div> <div> <label><?php echo elgg_echo('email'); ?></label> <br /> - <?php echo elgg_view('input/text', array('internalname' => 'email', 'value' => $email)); ?> + <?php echo elgg_view('input/text', array('name' => 'email', 'value' => $email)); ?> </div> <div> <label><?php echo elgg_echo('username'); ?></label> <br /> - <?php echo elgg_view('input/text', array('internalname' => 'username', 'value' => $username)); ?> + <?php echo elgg_view('input/text', array('name' => 'username', 'value' => $username)); ?> </div> <div> <label><?php echo elgg_echo('password'); ?></label> <br /> - <?php echo elgg_view('input/password', array('internalname' => 'password')); ?> + <?php echo elgg_view('input/password', array('name' => 'password')); ?> </div> <div> <label><?php echo elgg_echo('passwordagain'); ?></label> <br /> - <?php echo elgg_view('input/password', array('internalname' => 'password2')); ?> + <?php echo elgg_view('input/password', array('name' => 'password2')); ?> </div> <?php @@ -50,12 +50,12 @@ echo elgg_view('register/extend'); echo elgg_view('input/captcha'); if ($admin_option) { - echo elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option')))); + echo elgg_view('input/checkboxes', array('name' => "admin", 'options' => array(elgg_echo('admin_option')))); } -echo elgg_view('input/hidden', array('internalname' => 'friend_guid', 'value' => $vars['friend_guid'])); -echo elgg_view('input/hidden', array('internalname' => 'invitecode', 'value' => $vars['invitecode'])); -echo elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))); +echo elgg_view('input/hidden', array('name' => 'friend_guid', 'value' => $vars['friend_guid'])); +echo elgg_view('input/hidden', array('name' => 'invitecode', 'value' => $vars['invitecode'])); +echo elgg_view('input/submit', array('name' => 'submit', 'value' => elgg_echo('register'))); ?> <?php //@todo JS 1.8: no ?> <script type="text/javascript"> |