add_action('register_form','ugp_show_extra_register_fields');
functionugp_show_extra_register_fields(){
?>
<p>
<label for="password"><?php_e('Password','ugp-domain');?><br/>
<input id="password"class="input"type="password"tabindex="30" size="25"value=""name="password"/>
</label>
</p>
<p>
<label for="repeat_password"><?php_e('Repeat password','ugp-domain');?><br/>
<input id="repeat_password"class="input"type="password"tabindex="40"size="25"value=""name="repeat_password"/>
</label>
</p>
<p>
<label for="url"><?php_e('Your Website','ugp-domain');?><?php_e('(Optional)','ugp-domain');?><br/>
<input id="url"class="input"type="text"tabindex="50"size="25"value="<?phpif(empty($_POST['url']))echo'http://';elseecho$_POST['url'];?>"name="url"/>
</label>
</p>
<p>
<label for="qq">QQ<?php_e('(Optional)','ugp-domain');?><br/>
<input id="qq"class="input"type="text"tabindex="60" size="25"value="<?phpecho$_POST['qq']?>"name="qq"/>
</label>
</p>
<p>
<label for="sina_weibo"><?php_e('Sina Weibo','ugp-domain');?><?php_e('(Optional)','ugp-domain');?><br/>
<input id="sina_weibo"class="input"type="text"tabindex="70"size="25"value="<?phpecho$_POST['sina_weibo']?>"name="sina_weibo"/>
</label>
</p>
<p>
<label for="googleplus">Google+<?php_e('(Optional)','ugp-domain');?><br/>
<input id="googleplus"class="input"type="text"tabindex="80"size="25"value="<?phpecho$_POST['googleplus']?>"name="googleplus"/>
</label>
</p>
<p>
<label for="are_you_human"style="font-size:12px"><?php_e('Sorry, but we must check if you are human. What is the name of website you are registering for?','ugp-domain');?><br/>
<input id="are_you_human"class="input"type="text"tabindex="90"size="25"value=""name="are_you_human"/>
</label>
</p>
<?php
}