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=dd97e2ef90addfbe7c92289bf2b748f0a12066ee;hpb=a4de6b263b2faef2a215da76c93b756299201544;p=living-lab-site.git diff --git a/application/views/user/register_view.php b/application/views/user/register_view.php index dd97e2e..e038dfc 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,10 +17,10 @@ else echo form_open_multipart("user/account/$redirect"); ?> - + @@ -44,6 +44,7 @@ else @@ -119,6 +120,19 @@ else + + + + + +
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'). ' : ' ?>