X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fviews%2Fuser%2Fregister_view.php;h=e038dfc2aabb89d421a5d9990d8860a7b7ad5273;hb=8889adf32898adeff7a85cc040f5f409d3bce36c;hp=42159c202622cf3e1a2b3707a18bf10037a8b4ba;hpb=37fe2e29a60066614f4155c292e2a2bd99b71b49;p=living-lab-site.git diff --git a/application/views/user/register_view.php b/application/views/user/register_view.php index 42159c2..e038dfc 100644 --- a/application/views/user/register_view.php +++ b/application/views/user/register_view.php @@ -7,24 +7,20 @@ function _set_value($userdata, $field, $default = '') return $post_value; return ($post_value === $default - ? $userdata[ str_replace('-','_',$field) ] + ? ''.$userdata[ str_replace('-','_',$field) ] : $post_value); } -?> - - + - +--> @@ -35,16 +31,21 @@ endif; - + - + ` + + @@ -119,6 +120,19 @@ endif; + + + + + + + + + + + + + + + + + + + +
 
lang->line('user_username'). ' * : ' ?> + + + + 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,6 +157,30 @@ endif;
lang->line('user_picture'). ' : ' ?> + <?php echo $userdata['username'] ?> +
+ + lang->line('user_picture'). ' : ' ?> + + lang->line('user_change_picture'). ' : ' ?> + + + +