X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?p=living-lab-site.git;a=blobdiff_plain;f=application%2Fviews%2Fuser%2Fregister_view.php;h=eedc199e2292f8dd819f841104877bc89ecaa18e;hp=dd97e2ef90addfbe7c92289bf2b748f0a12066ee;hb=080b37a97e93691b3ba1c4aa3982a143167115a7;hpb=480a21049384e47afe920e73972ca336ec8e6a54 diff --git a/application/views/user/register_view.php b/application/views/user/register_view.php index dd97e2e..eedc199 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,15 +17,10 @@ else echo form_open_multipart("user/account/$redirect"); ?> - - - - - - + @@ -119,6 +114,19 @@ else + + + + + + + + + + + + + + + +
lang->line('user_note_required_fields') ?>lang->line('ui_required_fields') ?>
 
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'). ' : ' ?> @@ -187,6 +195,23 @@ else
 
lang->line('ui_captcha'). ' * : ' ?> +
lang->line('ui_captcha_instructions') ?>
+
+ +
+

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