X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fviews%2Fuser%2Fregister_view.php;h=aeb6dc57c3f9b44f6f520a55e4e7e18214dc0239;hb=42b8f76ab32990f2668a4e3346374de7bad91be2;hp=419353a07dcde28c98dc994d13e0e105a58b4ea8;hpb=6db375a0706b5328fbd53be4dd2e517c96560ea6;p=living-lab-site.git diff --git a/application/views/user/register_view.php b/application/views/user/register_view.php index 419353a..aeb6dc5 100644 --- a/application/views/user/register_view.php +++ b/application/views/user/register_view.php @@ -7,7 +7,7 @@ function _set_value($userdata, $field, $default = '') return $post_value; return ($post_value === $default - ? $userdata[ str_replace('-','_',$field) ] + ? ''.$userdata[ str_replace('-','_',$field) ] : $post_value); } @@ -17,11 +17,6 @@ else echo form_open_multipart("user/account/$redirect"); ?> - - - - - @@ -31,16 +26,20 @@ else - + ` + @@ -115,6 +114,19 @@ else + + + + + + @@ -183,6 +195,23 @@ else + + + + + + + + + +
 
lang->line('user_username'). ' * : ' ?> + + + + lang->line('user_username'). ' : ' ?>   -
lang->line('user_sex'). ' * : ' ?> + $this->lang->line('user_sex_male'), + '1'=> $this->lang->line('user_sex_female')), + _set_value($userdata, 'sex', '0') + ) ?> +
lang->line('user_birth_date'). ' : ' ?> @@ -143,7 +155,7 @@ else
lang->line('user_picture'). ' : ' ?> - " alt="" /> + <?php echo $userdata['username'] ?>
 
lang->line('ui_captcha'). ' * : ' ?> +
lang->line('ui_captcha_instructions') ?>
+
+ +
+

+
 
@@ -207,5 +236,11 @@ else buttonImage: "", buttonImageOnly: true }); + + $('#button-change-captcha') + .click(function() { + $('#container-captcha') + .load(''); + }); }); \ No newline at end of file