Cimy User Extra Fields - Version 2.6.0

Version Description

Download this release

Release Info

Developer Cimmo
Plugin Icon wp plugin Cimy User Extra Fields
Version 2.6.0
Comparing to
See all releases

Code changes from version 2.5.5 to 2.6.0

README_OFFICIAL.txt CHANGED
@@ -21,6 +21,7 @@ As for now the plug-in supports:
21
  * registration-date
22
  * avatar
23
  * file
 
24
 
25
  future versions can have more.
26
 
@@ -63,13 +64,13 @@ Rules are:
63
  [only for text, textarea, textarea-rich, password, picture, picture-url, avatar, file]
64
 
65
  * field can be empty
66
- [only for text, textarea, textarea-rich, password, picture, picture-url, dropdown, dropdown-multi, avatar, file]
67
 
68
  * check for e-mail address syntax
69
  [only for text, textarea, textarea-rich, password]
70
 
71
  * field can be modified after the registration
72
- [only for text, textarea, textarea-rich, password, picture, picture-url, checkbox, radio, dropdown, dropdown-multi, avatar, file]
73
  [for radio and checkbox 'edit_only_if_empty' has no effects and 'edit_only_by_admin_or_if_empty' has the same effect as edit_only_by_admin]
74
 
75
  * field equal to some value (for example accept terms and conditions)
@@ -627,6 +628,11 @@ A lot of times I cannot reproduce the problem and I need more details, so if you
627
 
628
 
629
  CHANGELOG:
 
 
 
 
 
630
  v2.5.5 - 29/07/2013
631
  - Fixed mb_strlen is not available by default on PHP, better to use it only if available (regressed on v2.5.2) (thanks to jrmihalick)
632
  - Fixed wpdb::escape warnings when using WordPress 3.6
21
  * registration-date
22
  * avatar
23
  * file
24
+ * date
25
 
26
  future versions can have more.
27
 
64
  [only for text, textarea, textarea-rich, password, picture, picture-url, avatar, file]
65
 
66
  * field can be empty
67
+ [only for text, textarea, textarea-rich, password, picture, picture-url, dropdown, dropdown-multi, avatar, file, date]
68
 
69
  * check for e-mail address syntax
70
  [only for text, textarea, textarea-rich, password]
71
 
72
  * field can be modified after the registration
73
+ [only for text, textarea, textarea-rich, password, picture, picture-url, checkbox, radio, dropdown, dropdown-multi, avatar, file, date]
74
  [for radio and checkbox 'edit_only_if_empty' has no effects and 'edit_only_by_admin_or_if_empty' has the same effect as edit_only_by_admin]
75
 
76
  * field equal to some value (for example accept terms and conditions)
628
 
629
 
630
  CHANGELOG:
631
+ v2.6.0 - 03/09/2013
632
+ - Added date picker support, extra field's type is called: 'date'
633
+ - Fixed PHP warning 'Only variables should be passed by reference on line 959' (regressed on v2.5.2) (thanks to badarong for the patch)
634
+ - Fixed clicking on options' labels were not triggering the option change
635
+
636
  v2.5.5 - 29/07/2013
637
  - Fixed mb_strlen is not available by default on PHP, better to use it only if available (regressed on v2.5.2) (thanks to jrmihalick)
638
  - Fixed wpdb::escape warnings when using WordPress 3.6
cimy_uef_admin.php CHANGED
@@ -601,16 +601,21 @@ function cimy_admin_define_extra_fields() {
601
  </td>
602
  <td style="vertical-align: middle;">
603
  <!-- MIN LENGTH -->
604
- <input type="checkbox" name="minlen[0]" value="1"<?php echo $selected_input["minlen"]; ?> /> <?php echo $min_length_caption; ?> [1-<?php echo $maxLen; ?>]: &nbsp;&nbsp;&nbsp;<input type="text" name="minlength[0]" value="<?php echo $selected_input["min_length"]; ?>" maxlength="5" size="5" /><br />
 
605
 
606
  <!-- EXACT LENGTH -->
607
- <input type="checkbox" name="exactlen[0]" value="1"<?php echo $selected_input["exactlen"]; ?> /> <?php echo $exact_length_caption; ?> [1-<?php echo $maxLen; ?>]: <input type="text" name="exactlength[0]" value="<?php echo $selected_input["exact_length"]; ?>" maxlength="5" size="5" /><br />
 
608
 
609
  <!-- MAX LENGTH -->
610
- <input type="checkbox" name="maxlen[0]" value="1"<?php echo $selected_input["maxlen"]; ?> /> <?php echo $max_length_caption; ?> [1-<?php echo $maxLen; ?>]: &nbsp;&nbsp;<input type="text" name="maxlength[0]" value="<?php echo $selected_input["max_length"]; ?>" maxlength="5" size="5" /><br />
 
611
 
612
- <input type="checkbox" name="empty[0]" value="1"<?php echo $selected_input["empty"]; ?> /> <?php _e("Can be empty", $cimy_uef_domain); ?><br />
613
- <input type="checkbox" name="email[0]" value="1"<?php checked(true, $store_rule['email'], true); ?> /> <?php _e("Check for E-mail syntax", $cimy_uef_domain); ?><br />
 
 
614
 
615
  <select name="edit[0]">
616
  <option value="ok_edit"<?php selected('ok_edit', $store_rule['edit'], true); ?>><?php _e("Can be modified", $cimy_uef_domain); ?></option>
@@ -621,27 +626,35 @@ function cimy_admin_define_extra_fields() {
621
  </select>
622
  <br />
623
  <!-- EQUAL TO -->
624
- <input type="checkbox" name="equal[0]" value="1"<?php checked(false, empty($equal), true); ?> /> <?php _e("Should be equal TO", $cimy_uef_domain); ?>: <input type="text" name="equalto[0]" maxlength="500" value="<?php echo $selected_input["equal_to"]; ?>"/><br />
 
625
  <!-- CASE SENSITIVE -->
626
- &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="equalto_casesens[0]" value="1"<?php checked(false, empty($equalto_casesens), true); ?> /> <?php _e("Case sensitive", $cimy_uef_domain); ?><br />
 
627
 
628
  <!-- REGEX -->
629
- &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="equalto_regex[0]" value="1"<?php checked(false, empty($equalto_regex), true); ?> /> <?php _e("Regular Expression", $cimy_uef_domain); ?><br />
 
630
 
631
  <!-- SHOW IN REGISTRATION -->
632
- <input type="checkbox" name="show_in_reg[0]" value="1"<?php echo $selected_input["show_in_reg"]; ?> /> <?php _e("Show the field in the registration", $cimy_uef_domain); ?><br />
 
633
 
634
  <!-- SHOW IN PROFILE -->
635
- <input type="checkbox" name="show_in_profile[0]" value="1"<?php echo $selected_input["show_in_profile"]; ?> /> <?php _e("Show the field in User's profile", $cimy_uef_domain); ?><br />
 
636
 
637
  <!-- SHOW IN A&U EXTENDED -->
638
- <input type="checkbox" name="show_in_aeu[0]" value="1"<?php echo $selected_input["show_in_aeu"]; ?> /> <?php _e("Show the field in Users Extended section", $cimy_uef_domain); ?><br />
 
639
 
640
  <!-- SHOW IN THE SEARCH ENGINE -->
641
- <input type="checkbox" name="show_in_search[0]" value="1"<?php checked(empty($store_rule['show_in_search']), false, true); ?> /> <?php _e("Show the field in the search engine", $cimy_uef_domain); ?><br />
 
642
 
643
  <!-- SHOW IN THE BLOG -->
644
- <input type="checkbox" name="show_in_blog[0]" value="1"<?php checked(empty($store_rule['show_in_blog']), false, true); ?> /> <?php _e("Show the field in the blog", $cimy_uef_domain); ?><br />
 
645
 
646
  <!-- SHOW SECURITY LEVEL -->
647
  <?php _e("Show the field if the role is at least:", $cimy_uef_domain)." "; ?>
@@ -657,7 +670,8 @@ function cimy_admin_define_extra_fields() {
657
  <br />
658
 
659
  <!-- EMAIL ADMIN -->
660
- <input type="checkbox" name="email_admin[0]" value="1"<?php checked(true, $store_rule['email_admin'], true); ?> /> <?php _e("Send an email to the admin if the user changes its value", $cimy_uef_domain); ?><br />
 
661
  <!-- ADVANCED OPTIONS -->
662
  <?php _e("Advanced options", $cimy_uef_domain); ?>: <input type="text" name="advanced_options[0]" maxlength="500" value="<?php echo $selected_input["advanced_options"]; ?>"/><br />
663
 
@@ -732,6 +746,13 @@ function cimy_admin_show_extra_fields($allFields, $submit_msgs, $wp_fields, $err
732
  'show_in_aeu' => 0,
733
  'show_in_blog' => 0,
734
  'show_in_search' => 0
 
 
 
 
 
 
 
735
  ));
736
  }
737
 
@@ -903,16 +924,21 @@ function cimy_admin_show_extra_fields($allFields, $submit_msgs, $wp_fields, $err
903
  </td>
904
  <td style="vertical-align: middle;">
905
  <!-- MIN LENGTH -->
906
- <input type="checkbox" name="minlen[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['min_length']), true); disabled(false, in_array($type, $rule_maxlen), true); ?> /> <?php echo $min_length_caption; ?> [1-<?php echo $max_length_value_caption; ?>]: &nbsp;&nbsp;&nbsp;<input type="text" name="minlength[<?php echo $order ?>]" value="<?php echo $minLength ?>" maxlength="5" size="5"<?php disabled(false, in_array($type, $rule_maxlen), true); ?> /><br />
 
907
 
908
  <!-- EXACT LENGTH -->
909
- <input type="checkbox" name="exactlen[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['exact_length']), true); disabled(false, in_array($type, $rule_maxlen), true); ?> /> <?php echo $exact_length_caption; ?> [1-<?php echo $max_length_value_caption; ?>]: <input type="text" name="exactlength[<?php echo $order ?>]" value="<?php echo $exactLength ?>" maxlength="5" size="5"<?php disabled(false, in_array($type, $rule_maxlen), true); ?> /><br />
 
910
 
911
  <!-- MAX LENGTH -->
912
- <input type="checkbox" name="maxlen[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['max_length']), true); disabled(false, in_array($type, $rule_maxlen), true); ?> /> <?php echo $max_length_caption; ?> [1-<?php echo $max_length_value_caption; ?>]: &nbsp;&nbsp;<input type="text" name="maxlength[<?php echo $order ?>]" value="<?php echo $maxLength ?>" maxlength="5" size="5"<?php disabled(false, in_array($type, $rule_maxlen), true); ?> /><br />
 
913
 
914
- <input type="checkbox" name="empty[<?php echo $order ?>]" value="1"<?php checked(true, $rules['can_be_empty'], true); disabled(false, in_array($type, $rule_canbeempty), true); ?> /> <?php _e("Can be empty", $cimy_uef_domain); ?><br />
915
- <input type="checkbox" name="email[<?php echo $order ?>]" value="1"<?php checked(true, $rules['email'], true); disabled(false, in_array($type, $rule_email), true); ?> /> <?php _e("Check for E-mail syntax", $cimy_uef_domain); ?><br />
 
 
916
 
917
  <select name="edit[<?php echo $order ?>]">
918
  <option value="ok_edit"<?php selected('ok_edit', $rules['edit'], true); ?>><?php _e("Can be modified", $cimy_uef_domain); ?></option>
@@ -924,19 +950,24 @@ function cimy_admin_show_extra_fields($allFields, $submit_msgs, $wp_fields, $err
924
  <br />
925
 
926
  <!-- EQUAL TO -->
927
- <input type="checkbox" name="equal[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['equal_to']), true); disabled(false, in_array($type, $rule_equalto), true); ?> /> <?php _e("Should be equal TO", $cimy_uef_domain); ?>: <input type="text" name="equalto[<?php echo $order ?>]" maxlength="500" value="<?php echo $equalTo ?>"<?php disabled(false, in_array($type, $rule_equalto), true); ?> /><br />
 
928
  <!-- CASE SENSITIVE -->
929
- &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="equalto_casesens[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['equal_to']) && $rules['equal_to_case_sensitive'], true); disabled(false, in_array($type, $rule_equalto_case_sensitive), true); ?> /> <?php _e("Case sensitive", $cimy_uef_domain); ?><br />
 
930
  <!-- REGEX -->
931
- &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="equalto_regex[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['equal_to']) && $rules['equal_to_regex'], true); disabled(false, in_array($type, $rule_equalto_regex), true); ?> /> <?php _e("Regular Expression", $cimy_uef_domain); ?><br />
 
932
 
933
 
934
  <!-- SHOW IN REGISTRATION -->
935
  <!-- uploading files not supported with WordPress MS during registration due to email confirmation -->
936
- <input type="checkbox" name="show_in_reg[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_reg'], true); disabled(true, is_multisite() && in_array($type, $cimy_uef_file_types), true); ?> /> <?php _e("Show the field in the registration", $cimy_uef_domain); ?><br />
 
937
 
938
  <!-- SHOW IN PROFILE -->
939
- <input type="checkbox" name="show_in_profile[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_profile'], true); disabled(true, $wp_fields, true); ?> /> <?php _e("Show the field in User's profile", $cimy_uef_domain); ?><br />
 
940
  <?php
941
  if ($wp_fields) {
942
  ?>
@@ -945,13 +976,16 @@ function cimy_admin_show_extra_fields($allFields, $submit_msgs, $wp_fields, $err
945
  }
946
  ?>
947
  <!-- SHOW IN A&U EXTENDED -->
948
- <input type="checkbox" name="show_in_aeu[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_aeu'], true); ?> /> <?php _e("Show the field in Users Extended section", $cimy_uef_domain); ?><br />
 
949
 
950
  <!-- SHOW IN THE SEARCH -->
951
- <input type="checkbox" name="show_in_search[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_search'], true); ?> /> <?php _e("Show the field in the search engine", $cimy_uef_domain); ?><br />
 
952
 
953
  <!-- SHOW IN THE BLOG -->
954
- <input type="checkbox" name="show_in_blog[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_blog'], true); ?> /> <?php _e("Show the field in the blog", $cimy_uef_domain); ?><br />
 
955
 
956
  <!-- SHOW SECURITY LEVEL -->
957
  <?php _e("Show the field if the role is at least:", $cimy_uef_domain)." "; ?>
@@ -970,7 +1004,8 @@ function cimy_admin_show_extra_fields($allFields, $submit_msgs, $wp_fields, $err
970
  if (!$wp_fields) {
971
  ?>
972
  <!-- EMAIL ADMIN -->
973
- <input type="checkbox" name="email_admin[<?php echo $order ?>]" value="1"<?php checked(true, $rules['email_admin'], true); ?> /> <?php _e("Send an email to the admin if the user changes its value", $cimy_uef_domain); ?><br />
 
974
  <?php
975
  }
976
  ?>
@@ -1016,6 +1051,7 @@ function cimy_admin_show_extra_fields($allFields, $submit_msgs, $wp_fields, $err
1016
  $options['file_fields'] = $javascripts_dep['file_fields'];
1017
  $options['image_fields'] = $javascripts_dep['image_fields'];
1018
  $options['tinymce_fields'] = $javascripts_dep['tinymce_fields'];
 
1019
  cimy_set_options($options);
1020
  }
1021
  }
@@ -1529,6 +1565,7 @@ function cimy_admin_users_list_page() {
1529
  $search_input = '<select name="ef_search['.$name_esc_attr.'][]" multiple="multiple" style="height: 6em;"><option>'.$dropdown_first_item.'</option>'.$ret['html'].'</select>';
1530
  $write_input[$i] = '<td>'.$label.'</td><td id="ef-new-value-'.$name_esc_attr.'"><select name="ef_write['.$name_esc_attr.'][]" multiple="multiple" style="height: 6em;"><option>'.$dropdown_first_item.'</option>'.$ret2.'</select>';
1531
  break;
 
1532
  case "text":
1533
  case "textarea":
1534
  case "textarea-rich":
601
  </td>
602
  <td style="vertical-align: middle;">
603
  <!-- MIN LENGTH -->
604
+ <input type="checkbox" name="minlen[0]" id="minlen[0]" value="1"<?php echo $selected_input["minlen"]; ?> />
605
+ <label for="minlen[0]"><?php echo $min_length_caption; ?> [1-<?php echo $maxLen; ?>]:</label> &nbsp;&nbsp;&nbsp;<input type="text" name="minlength[0]" value="<?php echo $selected_input["min_length"]; ?>" maxlength="5" size="5" /><br />
606
 
607
  <!-- EXACT LENGTH -->
608
+ <input type="checkbox" name="exactlen[0]" id="exactlen[0]" value="1"<?php echo $selected_input["exactlen"]; ?> />
609
+ <label for="exactlen[0]"><?php echo $exact_length_caption; ?> [1-<?php echo $maxLen; ?>]:</label> <input type="text" name="exactlength[0]" value="<?php echo $selected_input["exact_length"]; ?>" maxlength="5" size="5" /><br />
610
 
611
  <!-- MAX LENGTH -->
612
+ <input type="checkbox" name="maxlen[0]" id="maxlen[0]" value="1"<?php echo $selected_input["maxlen"]; ?> />
613
+ <label for="maxlen[0]"><?php echo $max_length_caption; ?> [1-<?php echo $maxLen; ?>]:</label> &nbsp;&nbsp;<input type="text" name="maxlength[0]" value="<?php echo $selected_input["max_length"]; ?>" maxlength="5" size="5" /><br />
614
 
615
+ <input type="checkbox" name="empty[0]" id="empty[0]" value="1"<?php echo $selected_input["empty"]; ?> />
616
+ <label for="empty[0]"><?php _e("Can be empty", $cimy_uef_domain); ?></label><br />
617
+ <input type="checkbox" name="email[0]" id="email[0]" value="1"<?php checked(true, $store_rule['email'], true); ?> />
618
+ <label for="email[0]"><?php _e("Check for E-mail syntax", $cimy_uef_domain); ?></label><br />
619
 
620
  <select name="edit[0]">
621
  <option value="ok_edit"<?php selected('ok_edit', $store_rule['edit'], true); ?>><?php _e("Can be modified", $cimy_uef_domain); ?></option>
626
  </select>
627
  <br />
628
  <!-- EQUAL TO -->
629
+ <input type="checkbox" name="equal[0]" id="equal[0]" value="1"<?php checked(false, empty($equal), true); ?> />
630
+ <label for="equal[0]"><?php _e("Should be equal TO", $cimy_uef_domain); ?>:</label> <input type="text" name="equalto[0]" maxlength="500" value="<?php echo $selected_input["equal_to"]; ?>"/><br />
631
  <!-- CASE SENSITIVE -->
632
+ &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="equalto_casesens[0]" id="equalto_casesens[0]" value="1"<?php checked(false, empty($equalto_casesens), true); ?> />
633
+ <label for="equalto_casesens[0]"><?php _e("Case sensitive", $cimy_uef_domain); ?></label><br />
634
 
635
  <!-- REGEX -->
636
+ &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="equalto_regex[0]" id="equalto_regex[0]" value="1"<?php checked(false, empty($equalto_regex), true); ?> />
637
+ <label for="equalto_regex[0]"><?php _e("Regular Expression", $cimy_uef_domain); ?></label><br />
638
 
639
  <!-- SHOW IN REGISTRATION -->
640
+ <input type="checkbox" name="show_in_reg[0]" id="show_in_reg[0]" value="1"<?php echo $selected_input["show_in_reg"]; ?> />
641
+ <label for="show_in_reg[0]"><?php _e("Show the field in the registration", $cimy_uef_domain); ?></label><br />
642
 
643
  <!-- SHOW IN PROFILE -->
644
+ <input type="checkbox" name="show_in_profile[0]" id="show_in_profile[0]" value="1"<?php echo $selected_input["show_in_profile"]; ?> />
645
+ <label for="show_in_profile[0]"><?php _e("Show the field in User's profile", $cimy_uef_domain); ?></label><br />
646
 
647
  <!-- SHOW IN A&U EXTENDED -->
648
+ <input type="checkbox" name="show_in_aeu[0]" id="show_in_aeu[0]" value="1"<?php echo $selected_input["show_in_aeu"]; ?> />
649
+ <label for="show_in_aeu[0]"><?php _e("Show the field in Users Extended section", $cimy_uef_domain); ?></label><br />
650
 
651
  <!-- SHOW IN THE SEARCH ENGINE -->
652
+ <input type="checkbox" name="show_in_search[0]" id="show_in_search[0]" value="1"<?php checked(empty($store_rule['show_in_search']), false, true); ?> />
653
+ <label for="show_in_search[0]"><?php _e("Show the field in the search engine", $cimy_uef_domain); ?></label><br />
654
 
655
  <!-- SHOW IN THE BLOG -->
656
+ <input type="checkbox" name="show_in_blog[0]" id="show_in_blog[0]" value="1"<?php checked(empty($store_rule['show_in_blog']), false, true); ?> />
657
+ <label for="show_in_blog[0]"><?php _e("Show the field in the blog", $cimy_uef_domain); ?></label><br />
658
 
659
  <!-- SHOW SECURITY LEVEL -->
660
  <?php _e("Show the field if the role is at least:", $cimy_uef_domain)." "; ?>
670
  <br />
671
 
672
  <!-- EMAIL ADMIN -->
673
+ <input type="checkbox" name="email_admin[0]" id="email_admin[0]" value="1"<?php checked(true, $store_rule['email_admin'], true); ?> />
674
+ <label for="email_admin[0]"><?php _e("Send an email to the admin if the user changes its value", $cimy_uef_domain); ?></label><br />
675
  <!-- ADVANCED OPTIONS -->
676
  <?php _e("Advanced options", $cimy_uef_domain); ?>: <input type="text" name="advanced_options[0]" maxlength="500" value="<?php echo $selected_input["advanced_options"]; ?>"/><br />
677
 
746
  'show_in_aeu' => 0,
747
  'show_in_blog' => 0,
748
  'show_in_search' => 0
749
+ ),
750
+ 'date_fields' => array(
751
+ 'show_in_reg' => 0,
752
+ 'show_in_profile' => 0,
753
+ 'show_in_aeu' => 0,
754
+ 'show_in_blog' => 0,
755
+ 'show_in_search' => 0
756
  ));
757
  }
758
 
924
  </td>
925
  <td style="vertical-align: middle;">
926
  <!-- MIN LENGTH -->
927
+ <input type="checkbox" name="minlen[<?php echo $order ?>]" id="minlen[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['min_length']), true); disabled(false, in_array($type, $rule_maxlen), true); ?> />
928
+ <label for="minlen[<?php echo $order ?>]"><?php echo $min_length_caption; ?> [1-<?php echo $max_length_value_caption; ?>]:</label> &nbsp;&nbsp;&nbsp;<input type="text" name="minlength[<?php echo $order ?>]" value="<?php echo $minLength ?>" maxlength="5" size="5"<?php disabled(false, in_array($type, $rule_maxlen), true); ?> /><br />
929
 
930
  <!-- EXACT LENGTH -->
931
+ <input type="checkbox" name="exactlen[<?php echo $order ?>]" id="exactlen[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['exact_length']), true); disabled(false, in_array($type, $rule_maxlen), true); ?> />
932
+ <label for="exactlen[<?php echo $order ?>]"><?php echo $exact_length_caption; ?> [1-<?php echo $max_length_value_caption; ?>]:</label> <input type="text" name="exactlength[<?php echo $order ?>]" value="<?php echo $exactLength ?>" maxlength="5" size="5"<?php disabled(false, in_array($type, $rule_maxlen), true); ?> /><br />
933
 
934
  <!-- MAX LENGTH -->
935
+ <input type="checkbox" name="maxlen[<?php echo $order ?>]" id="maxlen[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['max_length']), true); disabled(false, in_array($type, $rule_maxlen), true); ?> />
936
+ <label for="maxlen[<?php echo $order ?>]"><?php echo $max_length_caption; ?> [1-<?php echo $max_length_value_caption; ?>]:</label> &nbsp;&nbsp;<input type="text" name="maxlength[<?php echo $order ?>]" value="<?php echo $maxLength ?>" maxlength="5" size="5"<?php disabled(false, in_array($type, $rule_maxlen), true); ?> /><br />
937
 
938
+ <input type="checkbox" name="empty[<?php echo $order ?>]" id="empty[<?php echo $order ?>]" value="1"<?php checked(true, $rules['can_be_empty'], true); disabled(false, in_array($type, $rule_canbeempty), true); ?> />
939
+ <label for="empty[<?php echo $order ?>]"><?php _e("Can be empty", $cimy_uef_domain); ?></label><br />
940
+ <input type="checkbox" name="email[<?php echo $order ?>]" id="email[<?php echo $order ?>]" value="1"<?php checked(true, $rules['email'], true); disabled(false, in_array($type, $rule_email), true); ?> />
941
+ <label for="email[<?php echo $order ?>]"><?php _e("Check for E-mail syntax", $cimy_uef_domain); ?></label><br />
942
 
943
  <select name="edit[<?php echo $order ?>]">
944
  <option value="ok_edit"<?php selected('ok_edit', $rules['edit'], true); ?>><?php _e("Can be modified", $cimy_uef_domain); ?></option>
950
  <br />
951
 
952
  <!-- EQUAL TO -->
953
+ <input type="checkbox" name="equal[<?php echo $order ?>]" id="equal[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['equal_to']), true); disabled(false, in_array($type, $rule_equalto), true); ?> />
954
+ <label for="equal[<?php echo $order ?>]"><?php _e("Should be equal TO", $cimy_uef_domain); ?>:</label> <input type="text" name="equalto[<?php echo $order ?>]" maxlength="500" value="<?php echo $equalTo ?>"<?php disabled(false, in_array($type, $rule_equalto), true); ?> /><br />
955
  <!-- CASE SENSITIVE -->
956
+ &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="equalto_casesens[<?php echo $order ?>]" id="equalto_casesens[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['equal_to']) && $rules['equal_to_case_sensitive'], true); disabled(false, in_array($type, $rule_equalto_case_sensitive), true); ?> />
957
+ <label for="equalto_casesens[<?php echo $order ?>]"><?php _e("Case sensitive", $cimy_uef_domain); ?></label><br />
958
  <!-- REGEX -->
959
+ &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="equalto_regex[<?php echo $order ?>]" id="equalto_regex[<?php echo $order ?>]" value="1"<?php checked(true, isset($rules['equal_to']) && $rules['equal_to_regex'], true); disabled(false, in_array($type, $rule_equalto_regex), true); ?> />
960
+ <label for="equalto_regex[<?php echo $order ?>]"><?php _e("Regular Expression", $cimy_uef_domain); ?></label><br />
961
 
962
 
963
  <!-- SHOW IN REGISTRATION -->
964
  <!-- uploading files not supported with WordPress MS during registration due to email confirmation -->
965
+ <input type="checkbox" name="show_in_reg[<?php echo $order ?>]" id="show_in_reg[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_reg'], true); disabled(true, is_multisite() && in_array($type, $cimy_uef_file_types), true); ?> />
966
+ <label for="show_in_reg[<?php echo $order ?>]"><?php _e("Show the field in the registration", $cimy_uef_domain); ?></label><br />
967
 
968
  <!-- SHOW IN PROFILE -->
969
+ <input type="checkbox" name="show_in_profile[<?php echo $order ?>]" id="show_in_profile[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_profile'], true); disabled(true, $wp_fields, true); ?> />
970
+ <label for="show_in_profile[<?php echo $order ?>]"><?php _e("Show the field in User's profile", $cimy_uef_domain); ?></label><br />
971
  <?php
972
  if ($wp_fields) {
973
  ?>
976
  }
977
  ?>
978
  <!-- SHOW IN A&U EXTENDED -->
979
+ <input type="checkbox" name="show_in_aeu[<?php echo $order ?>]" id="show_in_aeu[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_aeu'], true); ?> />
980
+ <label for="show_in_aeu[<?php echo $order ?>]"><?php _e("Show the field in Users Extended section", $cimy_uef_domain); ?></label><br />
981
 
982
  <!-- SHOW IN THE SEARCH -->
983
+ <input type="checkbox" name="show_in_search[<?php echo $order ?>]" id="show_in_search[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_search'], true); ?> />
984
+ <label for="show_in_search[<?php echo $order ?>]"><?php _e("Show the field in the search engine", $cimy_uef_domain); ?></label><br />
985
 
986
  <!-- SHOW IN THE BLOG -->
987
+ <input type="checkbox" name="show_in_blog[<?php echo $order ?>]" id="show_in_blog[<?php echo $order ?>]" value="1"<?php checked(true, $rules['show_in_blog'], true); ?> />
988
+ <label for="show_in_blog[<?php echo $order ?>]"><?php _e("Show the field in the blog", $cimy_uef_domain); ?></label><br />
989
 
990
  <!-- SHOW SECURITY LEVEL -->
991
  <?php _e("Show the field if the role is at least:", $cimy_uef_domain)." "; ?>
1004
  if (!$wp_fields) {
1005
  ?>
1006
  <!-- EMAIL ADMIN -->
1007
+ <input type="checkbox" name="email_admin[<?php echo $order ?>]" id="email_admin[<?php echo $order ?>]" value="1"<?php checked(true, $rules['email_admin'], true); ?> />
1008
+ <label for="email_admin[<?php echo $order ?>]"><?php _e("Send an email to the admin if the user changes its value", $cimy_uef_domain); ?></label><br />
1009
  <?php
1010
  }
1011
  ?>
1051
  $options['file_fields'] = $javascripts_dep['file_fields'];
1052
  $options['image_fields'] = $javascripts_dep['image_fields'];
1053
  $options['tinymce_fields'] = $javascripts_dep['tinymce_fields'];
1054
+ $options['date_fields'] = $javascripts_dep['date_fields'];
1055
  cimy_set_options($options);
1056
  }
1057
  }
1565
  $search_input = '<select name="ef_search['.$name_esc_attr.'][]" multiple="multiple" style="height: 6em;"><option>'.$dropdown_first_item.'</option>'.$ret['html'].'</select>';
1566
  $write_input[$i] = '<td>'.$label.'</td><td id="ef-new-value-'.$name_esc_attr.'"><select name="ef_write['.$name_esc_attr.'][]" multiple="multiple" style="height: 6em;"><option>'.$dropdown_first_item.'</option>'.$ret2.'</select>';
1567
  break;
1568
+ case "date":
1569
  case "text":
1570
  case "textarea":
1571
  case "textarea-rich":
cimy_uef_functions.php CHANGED
@@ -517,7 +517,7 @@ function cimy_get_registration_date($user_id, $value) {
517
  }
518
 
519
  function cimy_uef_is_field_disabled($type, $edit_rule, $old_value) {
520
- global $rule_cannot_be_empty;
521
 
522
  switch($edit_rule)
523
  {
@@ -526,7 +526,7 @@ function cimy_uef_is_field_disabled($type, $edit_rule, $old_value) {
526
  break;
527
 
528
  case 'edit_only_if_empty':
529
- if ((in_array($type, $rule_cannot_be_empty)) && (!empty($old_value)))
530
  return true;
531
  break;
532
 
@@ -536,7 +536,7 @@ function cimy_uef_is_field_disabled($type, $edit_rule, $old_value) {
536
  break;
537
 
538
  case 'edit_only_by_admin_or_if_empty':
539
- if ((!current_user_can('edit_users')) && (!((in_array($type, $rule_cannot_be_empty)) && (empty($old_value)))))
540
  return true;
541
  break;
542
  }
@@ -643,6 +643,10 @@ function cimy_uef_set_javascript_dependencies($javascripts_dep, $type, $rule_nam
643
  if ($rule)
644
  $javascripts_dep['tinymce_fields'][$rule_name] += 1;
645
  break;
 
 
 
 
646
  default:
647
  break;
648
  }
@@ -713,7 +717,6 @@ function cimy_uef_avatar_filter($avatar, $id_or_email, $size, $default, $alt="")
713
 
714
  if (isset($id)) {
715
  $sql = "SELECT data.VALUE FROM $wpdb_data_table as data JOIN $wpdb_fields_table as efields ON efields.id=data.field_id WHERE (efields.TYPE='avatar' AND data.USER_ID=$id) LIMIT 1";
716
-
717
  $value = $wpdb->get_var($sql);
718
 
719
  if ( false === $alt)
@@ -723,9 +726,9 @@ function cimy_uef_avatar_filter($avatar, $id_or_email, $size, $default, $alt="")
723
 
724
  // max $size allowed is 512
725
  if (isset($value)) {
726
- if ($value == "") {
727
  // apply default only here or below, as we are sure to have an user that did not set anything
728
- if ($overwrite_default != "")
729
  return $overwrite_default;
730
  else
731
  return $avatar;
@@ -740,7 +743,7 @@ function cimy_uef_avatar_filter($avatar, $id_or_email, $size, $default, $alt="")
740
  $avatar = "<img alt='{$safe_alt}' src='{$value}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />";
741
  }
742
  // apply default only here, as we are sure to have an user that did not set anything
743
- else if ($overwrite_default != "")
744
  return $overwrite_default;
745
  }
746
 
@@ -956,7 +959,7 @@ function cimy_wpml_unregister_string($name) {
956
  function cimy_uef_is_register_page() {
957
  if (cimy_uef_is_theme_my_login_register_page())
958
  return true;
959
- $script_file = end(explode('/', $_SERVER['SCRIPT_NAME']));
960
  if (!is_multisite() && stripos($script_file, "wp-login.php") !== false && !empty($_GET['action']) && $_GET['action'] == 'register')
961
  return true;
962
  else if (is_multisite() && stripos($script_file, "wp-signup.php") !== false)
@@ -1003,3 +1006,97 @@ function cimy_strlen($str) {
1003
  return mb_strlen($str);
1004
  return strlen($str);
1005
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
517
  }
518
 
519
  function cimy_uef_is_field_disabled($type, $edit_rule, $old_value) {
520
+ global $rule_canbeempty;
521
 
522
  switch($edit_rule)
523
  {
526
  break;
527
 
528
  case 'edit_only_if_empty':
529
+ if ((in_array($type, $rule_canbeempty)) && (!empty($old_value)))
530
  return true;
531
  break;
532
 
536
  break;
537
 
538
  case 'edit_only_by_admin_or_if_empty':
539
+ if ((!current_user_can('edit_users')) && (!((in_array($type, $rule_canbeempty)) && (empty($old_value)))))
540
  return true;
541
  break;
542
  }
643
  if ($rule)
644
  $javascripts_dep['tinymce_fields'][$rule_name] += 1;
645
  break;
646
+ case "date":
647
+ if ($rule)
648
+ $javascripts_dep['date_fields'][$rule_name] += 1;
649
+ break;
650
  default:
651
  break;
652
  }
717
 
718
  if (isset($id)) {
719
  $sql = "SELECT data.VALUE FROM $wpdb_data_table as data JOIN $wpdb_fields_table as efields ON efields.id=data.field_id WHERE (efields.TYPE='avatar' AND data.USER_ID=$id) LIMIT 1";
 
720
  $value = $wpdb->get_var($sql);
721
 
722
  if ( false === $alt)
726
 
727
  // max $size allowed is 512
728
  if (isset($value)) {
729
+ if (empty($value)) {
730
  // apply default only here or below, as we are sure to have an user that did not set anything
731
+ if (!empty($overwrite_default))
732
  return $overwrite_default;
733
  else
734
  return $avatar;
743
  $avatar = "<img alt='{$safe_alt}' src='{$value}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />";
744
  }
745
  // apply default only here, as we are sure to have an user that did not set anything
746
+ else if (!empty($overwrite_default))
747
  return $overwrite_default;
748
  }
749
 
959
  function cimy_uef_is_register_page() {
960
  if (cimy_uef_is_theme_my_login_register_page())
961
  return true;
962
+ $script_file = basename($_SERVER['SCRIPT_NAME']);
963
  if (!is_multisite() && stripos($script_file, "wp-login.php") !== false && !empty($_GET['action']) && $_GET['action'] == 'register')
964
  return true;
965
  else if (is_multisite() && stripos($script_file, "wp-signup.php") !== false)
1006
  return mb_strlen($str);
1007
  return strlen($str);
1008
  }
1009
+
1010
+ /**
1011
+ * @since 2.6.0
1012
+ * @return an array with all the localized strings needed by JQueryUI Datepicker widget
1013
+ * @author Matthew Fries - http://www.renegadetechconsulting.com/tutorials/jquery-datepicker-and-wordpress-i18n (hacked by Marco Cimmino)
1014
+ */
1015
+ function cimy_uef_date_picker_l10n() {
1016
+ global $wp_locale, $cimy_uef_domain;
1017
+ return array(
1018
+ 'closeText' => __('Done'),
1019
+ 'prevText' => __('&laquo; Previous'),
1020
+ 'nextText' => __('Next &raquo;'),
1021
+ 'currentText' => __('Today', $cimy_uef_domain),
1022
+ 'monthNames' => array_values($wp_locale->month),
1023
+ 'monthNamesShort' => array_values($wp_locale->month_abbrev),
1024
+ 'monthStatus' => __('Select Month'),
1025
+ 'dayNames' => array_values($wp_locale->weekday),
1026
+ 'dayNamesShort' => array_values($wp_locale->weekday_abbrev),
1027
+ 'dayNamesMin' => array_values($wp_locale->weekday_initial),
1028
+ // set the date format to match the WP general date settings
1029
+ 'dateFormat' => cimy_uef_dateformat_PHP_to_jQueryUI(get_option('date_format')),
1030
+ // get the start of week from WP general setting
1031
+ 'firstDay' => get_option('start_of_week'),
1032
+ // is Right to left language? default is false
1033
+ 'isRTL' => is_rtl(),
1034
+ );
1035
+ }
1036
+
1037
+ /**
1038
+ * Matches each symbol of PHP date format standard
1039
+ * with jQuery equivalent codeword
1040
+ * @since 2.6.0
1041
+ * @author Tristan Jahier
1042
+ */
1043
+ function cimy_uef_dateformat_PHP_to_jQueryUI($php_format)
1044
+ {
1045
+ $SYMBOLS_MATCHING = array(
1046
+ // Day
1047
+ 'd' => 'dd',
1048
+ 'D' => 'D',
1049
+ 'j' => 'd',
1050
+ 'l' => 'DD',
1051
+ 'N' => '',
1052
+ 'S' => '',
1053
+ 'w' => '',
1054
+ 'z' => 'o',
1055
+ // Week
1056
+ 'W' => '',
1057
+ // Month
1058
+ 'F' => 'MM',
1059
+ 'm' => 'mm',
1060
+ 'M' => 'M',
1061
+ 'n' => 'm',
1062
+ 't' => '',
1063
+ // Year
1064
+ 'L' => '',
1065
+ 'o' => '',
1066
+ 'Y' => 'yy',
1067
+ 'y' => 'y',
1068
+ // Time
1069
+ 'a' => '',
1070
+ 'A' => '',
1071
+ 'B' => '',
1072
+ 'g' => '',
1073
+ 'G' => '',
1074
+ 'h' => '',
1075
+ 'H' => '',
1076
+ 'i' => '',
1077
+ 's' => '',
1078
+ 'u' => ''
1079
+ );
1080
+ $jqueryui_format = "";
1081
+ $escaping = false;
1082
+ for($i = 0; $i < strlen($php_format); $i++)
1083
+ {
1084
+ $char = $php_format[$i];
1085
+ if($char === '\\') // PHP date format escaping character
1086
+ {
1087
+ $i++;
1088
+ if($escaping) $jqueryui_format .= $php_format[$i];
1089
+ else $jqueryui_format .= '\'' . $php_format[$i];
1090
+ $escaping = true;
1091
+ }
1092
+ else
1093
+ {
1094
+ if($escaping) { $jqueryui_format .= "'"; $escaping = false; }
1095
+ if(isset($SYMBOLS_MATCHING[$char]))
1096
+ $jqueryui_format .= $SYMBOLS_MATCHING[$char];
1097
+ else
1098
+ $jqueryui_format .= $char;
1099
+ }
1100
+ }
1101
+ return $jqueryui_format;
1102
+ }
cimy_uef_init.php CHANGED
@@ -128,9 +128,23 @@ function cimy_uef_init_javascripts($rule_name) {
128
  cimy_uef_init_upload_js();
129
  }
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  if ($rule_name == "show_in_profile") {
132
  if ($options['tinymce_fields'][$rule_name] > 0 && function_exists("wp_editor")) {
133
- wp_register_style("cimy_uef_tinymce", $cuef_css_webpath."/cimy_uef_tinymce.css", false, false);
134
  wp_enqueue_style('cimy_uef_tinymce');
135
  }
136
  }
128
  cimy_uef_init_upload_js();
129
  }
130
 
131
+ if (($options['date_fields'][$rule_name]) > 0) {
132
+ wp_register_script("cimy_uef_datepicker", $cuef_js_webpath."/datepicker.js", array("jquery-ui-core", "jquery-ui-datepicker"), false, true);
133
+ wp_enqueue_script('cimy_uef_datepicker');
134
+ // Themes list: http://blog.jqueryui.com/
135
+ wp_register_style('jquery-ui-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.css', array());
136
+ wp_enqueue_style('jquery-ui-style');
137
+ // Fix for the following bug: http://forum.jquery.com/topic/jquery-ui-datepicker-initial-display-none-fixup
138
+ wp_register_style('cimy_uef_datepicker', $cuef_css_webpath.'/cimy_uef_datepicker.css', array());
139
+ wp_enqueue_style('cimy_uef_datepicker');
140
+
141
+ // Pass the array to the enqueued JS
142
+ wp_localize_script('cimy_uef_datepicker', 'datepickerL10n', cimy_uef_date_picker_l10n());
143
+ }
144
+
145
  if ($rule_name == "show_in_profile") {
146
  if ($options['tinymce_fields'][$rule_name] > 0 && function_exists("wp_editor")) {
147
+ wp_register_style("cimy_uef_tinymce", $cuef_css_webpath."/cimy_uef_tinymce.css", array(), false);
148
  wp_enqueue_style('cimy_uef_tinymce');
149
  }
150
  }
cimy_uef_options.php CHANGED
@@ -441,8 +441,8 @@ function cimy_show_options($results, $embedded) {
441
  </tr>
442
  <tr>
443
  <th scope="row">
444
- <input type="checkbox" name="mail_include_fields" value="1"<?php checked(true, $options['mail_include_fields'], true); ?> />
445
- <?php _e("Show all fields in the welcome email", $cimy_uef_domain); ?>
446
  </th>
447
  <td>
448
  <?php
@@ -453,8 +453,8 @@ function cimy_show_options($results, $embedded) {
453
  <?php if (!is_multisite()) { ?>
454
  <tr>
455
  <th scope="row">
456
- <input type="checkbox" name="confirm_email" value="1"<?php checked(true, $options['confirm_email'], true); ?> />
457
- <?php _e("Enable email confirmation", $cimy_uef_domain); ?>
458
  </th>
459
  <td>
460
  <?php
@@ -466,8 +466,8 @@ function cimy_show_options($results, $embedded) {
466
  </tr>
467
  <tr>
468
  <th scope="row">
469
- <input type="checkbox" name="confirm_form" value="1"<?php checked(true, $options['confirm_form'], true); ?> />
470
- <?php _e("Enable form confirmation", $cimy_uef_domain); ?>
471
  </th>
472
  <td>
473
  <?php
@@ -486,8 +486,8 @@ function cimy_show_options($results, $embedded) {
486
  </tr>
487
  <tr>
488
  <th scope="row">
489
- <input type="checkbox" name="redirect_to" value="source"<?php checked("source", $options['redirect_to'], true); ?> />
490
- <?php _e("Redirect to the source", $cimy_uef_domain); ?>
491
  </th>
492
  <td>
493
  <?php
@@ -498,16 +498,16 @@ function cimy_show_options($results, $embedded) {
498
  <?php } ?>
499
  <tr>
500
  <th scope="row">
501
- <input type="radio" name="captcha" value="none"<?php checked("none", $options['captcha'], true); ?> />
502
- <?php _e('No captcha', $cimy_uef_domain); ?></a>
503
  </th>
504
  <td>
505
  </td>
506
  </tr>
507
  <tr>
508
  <th scope="row">
509
- <input type="radio" name="captcha" value="recaptcha"<?php checked("recaptcha", $options['captcha'], true); ?> />
510
- <?php _e('Enable <a href="http://www.google.com/recaptcha" target="_blank">reCAPTCHA</a>', $cimy_uef_domain); ?></a>
511
  </th>
512
  <td>
513
  <?php
@@ -522,8 +522,8 @@ function cimy_show_options($results, $embedded) {
522
  </tr>
523
  <tr>
524
  <th scope="row">
525
- <input type="radio" name="captcha" value="securimage"<?php checked("securimage", $options['captcha'], true); ?> />
526
- <?php _e('Enable <a href="http://www.phpcaptcha.org/" target="_blank">Securimage Captcha</a>', $cimy_uef_domain); ?></a>
527
  </th>
528
  <td>
529
  <?php _e('This captcha is probably weaker, but is easier for users', $cimy_uef_domain); ?>
@@ -554,7 +554,10 @@ function cimy_show_options($results, $embedded) {
554
  <h3><?php _e("Database", $cimy_uef_domain); ?></h3>
555
  <table class="form-table">
556
  <tr>
557
- <th scope="row" width="40%"><input type="checkbox" name="db_options_check" value="1" /> Cimy User Extra Fields <?php _e("Options"); ?></th>
 
 
 
558
  <td width="60%">
559
  <?php
560
  if ($db_options) {
@@ -571,7 +574,10 @@ function cimy_show_options($results, $embedded) {
571
  </td>
572
  </tr>
573
  <tr>
574
- <th scope="row"><input type="checkbox" name="db_wp_fields_check" value="1" /> <?php _e("WordPress Fields table", $cimy_uef_domain); ?></th>
 
 
 
575
  <td>
576
  <?php
577
  if ($db_wp_fields >= 0) {
@@ -588,7 +594,10 @@ function cimy_show_options($results, $embedded) {
588
  </td>
589
  </tr>
590
  <tr>
591
- <th scope="row"><input type="checkbox" name="db_extra_fields_check" value="1" /> <?php _e("Extra Fields table", $cimy_uef_domain); ?></th>
 
 
 
592
  <td>
593
  <?php
594
  if ($db_extra_fields >= 0) {
@@ -605,7 +614,10 @@ function cimy_show_options($results, $embedded) {
605
  </td>
606
  </tr>
607
  <tr>
608
- <th scope="row"><input type="checkbox" name="db_data_check" value="1" /> <?php _e("Users Data table", $cimy_uef_domain); ?></th>
 
 
 
609
  <td>
610
  <?php
611
  if ($db_users_data) {
@@ -623,7 +635,10 @@ function cimy_show_options($results, $embedded) {
623
  </td>
624
  </tr>
625
  <tr>
626
- <th scope="row"><input type="checkbox" name="force_activation" value="1" /> <?php _e("Force tables creation", $cimy_uef_domain); ?></th>
 
 
 
627
  <td>
628
  <?php
629
  _e("equivalent to de-activate and activate the plug-in; no other operation will be performed", $cimy_uef_domain);
@@ -649,30 +664,44 @@ function cimy_show_options($results, $embedded) {
649
  <table class="form-table">
650
  <tr>
651
  <th scope="row" width="40%">
652
- <input type="checkbox" name="hide_username" value="1"<?php checked(true, in_array('username', $options['aue_hidden_fields']), true); ?> /> <?php _e("Hide username field", $cimy_uef_domain); ?>
 
653
  </th>
654
  <td width="60%"></td>
655
  </tr>
656
  <tr>
657
  <th>
658
- <input type="checkbox" name="hide_name" value="1"<?php checked(true, in_array('name', $options['aue_hidden_fields']), true); ?> /> <?php _e("Hide name field", $cimy_uef_domain); ?>
 
659
  </th>
660
  <td></td>
661
  </tr>
662
  <tr>
663
- <th scope="row"><input type="checkbox" name="hide_email" value="1"<?php checked(true, in_array('email', $options['aue_hidden_fields']), true); ?> /> <?php _e("Hide email field", $cimy_uef_domain); ?></th>
 
 
 
664
  <td></td>
665
  </tr>
666
  <tr>
667
- <th scope="row"><input type="checkbox" name="hide_role" value="1"<?php checked(true, in_array('role', $options['aue_hidden_fields']), true); ?> /> <?php _e("Hide role field", $cimy_uef_domain); ?></th>
 
 
 
668
  <td></td>
669
  </tr>
670
  <tr>
671
- <th scope="row"><input type="checkbox" name="hide_website" value="1"<?php checked(true, in_array('website', $options['aue_hidden_fields']), true); ?> /> <?php _e("Hide website field", $cimy_uef_domain); ?></th>
 
 
 
672
  <td></td>
673
  </tr>
674
  <tr>
675
- <th><input type="checkbox" name="hide_posts" value="1"<?php checked(true, in_array('posts', $options['aue_hidden_fields']), true); ?> /> <?php _e("Hide n. posts field", $cimy_uef_domain); ?></th>
 
 
 
676
  <td></td>
677
  </tr>
678
  </table>
@@ -681,52 +710,88 @@ function cimy_show_options($results, $embedded) {
681
  <table class="form-table">
682
  <?php if (!is_multisite()) { ?>
683
  <tr>
684
- <th scope="row" width="40%"><input type="checkbox" name="show_wp_username" value="1"<?php checked(true, in_array('username', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show username", $cimy_uef_domain); ?></th>
 
 
 
685
  <td width="60%"><?php _e("when unchecked the email address will be used as username", $cimy_uef_domain); ?></td>
686
  </tr>
687
  <?php } ?>
688
  <tr>
689
- <th scope="row" width="40%"><input type="checkbox" name="show_wp_password" value="1"<?php checked(true, in_array('password', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show password", $cimy_uef_domain); ?></th>
 
 
 
690
  <td width="60%"></td>
691
  </tr>
692
  <tr>
693
- <th>&nbsp;&nbsp;&nbsp;<input type="checkbox" name="show_wp_password2" value="1"<?php checked(true, in_array('password2', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show confirmation password", $cimy_uef_domain); ?></th>
 
 
 
694
  <td></td>
695
  </tr>
696
  <tr>
697
- <th>&nbsp;&nbsp;&nbsp;<input type="checkbox" name="show_wp_password_meter" value="1"<?php checked(true, $options['password_meter'], true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show password strength meter", $cimy_uef_domain); ?></th>
 
 
 
698
  <td></td>
699
  </tr>
700
  <tr>
701
- <th><input type="checkbox" name="show_wp_firstname" value="1"<?php checked(true, in_array('firstname', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show first name", $cimy_uef_domain); ?></th>
 
 
 
702
  <td></td>
703
  </tr>
704
  <tr>
705
- <th><input type="checkbox" name="show_wp_lastname" value="1"<?php checked(true, in_array('lastname', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show last name", $cimy_uef_domain); ?></th>
 
 
 
706
  <td></td>
707
  </tr>
708
  <tr>
709
- <th><input type="checkbox" name="show_wp_nickname" value="1"<?php checked(true, in_array('nickname', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show nickname", $cimy_uef_domain); ?></th>
 
 
 
710
  <td></td>
711
  </tr>
712
  <tr>
713
- <th scope="row"><input type="checkbox" name="show_wp_website" value="1"<?php checked(true, in_array('website', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show website", $cimy_uef_domain); ?></th>
 
 
 
714
  <td></td>
715
  </tr>
716
  <tr>
717
- <th scope="row"><input type="checkbox" name="show_wp_aim" value="1"<?php checked(true, in_array('aim', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show AIM", $cimy_uef_domain); ?></th>
 
 
 
718
  <td></td>
719
  </tr>
720
  <tr>
721
- <th scope="row"><input type="checkbox" name="show_wp_yahoo" value="1"<?php checked(true, in_array('yahoo', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show Yahoo IM", $cimy_uef_domain); ?></th>
 
 
 
722
  <td></td>
723
  </tr>
724
  <tr>
725
- <th scope="row"><input type="checkbox" name="show_wp_jgt" value="1"<?php checked(true, in_array('jgt', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show Jabber / Google Talk", $cimy_uef_domain); ?></th>
 
 
 
726
  <td></td>
727
  </tr>
728
  <tr>
729
- <th scope="row"><input type="checkbox" name="show_wp_bio-info" value="1"<?php checked(true, in_array('bio-info', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> /> <?php _e("Show Biographical Info", $cimy_uef_domain); ?></th>
 
 
 
730
  <td></td>
731
  </tr>
732
  </table>
441
  </tr>
442
  <tr>
443
  <th scope="row">
444
+ <input type="checkbox" name="mail_include_fields" id="mail_include_fields" value="1"<?php checked(true, $options['mail_include_fields'], true); ?> />
445
+ <label for="mail_include_fields"><?php _e("Show all fields in the welcome email", $cimy_uef_domain); ?></label>
446
  </th>
447
  <td>
448
  <?php
453
  <?php if (!is_multisite()) { ?>
454
  <tr>
455
  <th scope="row">
456
+ <input type="checkbox" name="confirm_email" id="confirm_email" value="1"<?php checked(true, $options['confirm_email'], true); ?> />
457
+ <label for="confirm_email"><?php _e("Enable email confirmation", $cimy_uef_domain); ?></label>
458
  </th>
459
  <td>
460
  <?php
466
  </tr>
467
  <tr>
468
  <th scope="row">
469
+ <input type="checkbox" name="confirm_form" id="confirm_form" value="1"<?php checked(true, $options['confirm_form'], true); ?> />
470
+ <label for="confirm_form"><?php _e("Enable form confirmation", $cimy_uef_domain); ?></label>
471
  </th>
472
  <td>
473
  <?php
486
  </tr>
487
  <tr>
488
  <th scope="row">
489
+ <input type="checkbox" name="redirect_to" id="redirect_to" value="source"<?php checked("source", $options['redirect_to'], true); ?> />
490
+ <label for="redirect_to"><?php _e("Redirect to the source", $cimy_uef_domain); ?></label>
491
  </th>
492
  <td>
493
  <?php
498
  <?php } ?>
499
  <tr>
500
  <th scope="row">
501
+ <label><input type="radio" name="captcha" value="none"<?php checked("none", $options['captcha'], true); ?> />
502
+ <?php _e('No captcha', $cimy_uef_domain); ?></label>
503
  </th>
504
  <td>
505
  </td>
506
  </tr>
507
  <tr>
508
  <th scope="row">
509
+ <label><input type="radio" name="captcha" value="recaptcha"<?php checked("recaptcha", $options['captcha'], true); ?> />
510
+ <?php _e('Enable <a href="http://www.google.com/recaptcha" target="_blank">reCAPTCHA</a>', $cimy_uef_domain); ?></a></label>
511
  </th>
512
  <td>
513
  <?php
522
  </tr>
523
  <tr>
524
  <th scope="row">
525
+ <label><input type="radio" name="captcha" value="securimage"<?php checked("securimage", $options['captcha'], true); ?> />
526
+ <?php _e('Enable <a href="http://www.phpcaptcha.org/" target="_blank">Securimage Captcha</a>', $cimy_uef_domain); ?></a></label>
527
  </th>
528
  <td>
529
  <?php _e('This captcha is probably weaker, but is easier for users', $cimy_uef_domain); ?>
554
  <h3><?php _e("Database", $cimy_uef_domain); ?></h3>
555
  <table class="form-table">
556
  <tr>
557
+ <th scope="row" width="40%">
558
+ <input type="checkbox" name="db_options_check" id="db_options_check" value="1" />
559
+ <label for="db_options_check">Cimy User Extra Fields <?php _e("Options"); ?></label>
560
+ </th>
561
  <td width="60%">
562
  <?php
563
  if ($db_options) {
574
  </td>
575
  </tr>
576
  <tr>
577
+ <th scope="row">
578
+ <input type="checkbox" name="db_wp_fields_check" id="db_wp_fields_check" value="1" />
579
+ <label for="db_wp_fields_check"><?php _e("WordPress Fields table", $cimy_uef_domain); ?></label>
580
+ </th>
581
  <td>
582
  <?php
583
  if ($db_wp_fields >= 0) {
594
  </td>
595
  </tr>
596
  <tr>
597
+ <th scope="row">
598
+ <input type="checkbox" name="db_extra_fields_check" id="db_extra_fields_check" value="1" />
599
+ <label for="db_extra_fields_check"><?php _e("Extra Fields table", $cimy_uef_domain); ?></label>
600
+ </th>
601
  <td>
602
  <?php
603
  if ($db_extra_fields >= 0) {
614
  </td>
615
  </tr>
616
  <tr>
617
+ <th scope="row">
618
+ <input type="checkbox" name="db_data_check" id="db_data_check" value="1" />
619
+ <label for="db_data_check"><?php _e("Users Data table", $cimy_uef_domain); ?></label>
620
+ </th>
621
  <td>
622
  <?php
623
  if ($db_users_data) {
635
  </td>
636
  </tr>
637
  <tr>
638
+ <th scope="row">
639
+ <input type="checkbox" name="force_activation" id="force_activation" value="1" />
640
+ <label for="force_activation"><?php _e("Force tables creation", $cimy_uef_domain); ?></label>
641
+ </th>
642
  <td>
643
  <?php
644
  _e("equivalent to de-activate and activate the plug-in; no other operation will be performed", $cimy_uef_domain);
664
  <table class="form-table">
665
  <tr>
666
  <th scope="row" width="40%">
667
+ <input type="checkbox" name="hide_username" id="hide_username" value="1"<?php checked(true, in_array('username', $options['aue_hidden_fields']), true); ?> />
668
+ <label for="hide_username"><?php _e("Hide username field", $cimy_uef_domain); ?></label>
669
  </th>
670
  <td width="60%"></td>
671
  </tr>
672
  <tr>
673
  <th>
674
+ <input type="checkbox" name="hide_name" id="hide_name" value="1"<?php checked(true, in_array('name', $options['aue_hidden_fields']), true); ?> />
675
+ <label for="hide_name"><?php _e("Hide name field", $cimy_uef_domain); ?></label>
676
  </th>
677
  <td></td>
678
  </tr>
679
  <tr>
680
+ <th scope="row">
681
+ <input type="checkbox" name="hide_email" id="hide_email" value="1"<?php checked(true, in_array('email', $options['aue_hidden_fields']), true); ?> />
682
+ <label for="hide_email"><?php _e("Hide email field", $cimy_uef_domain); ?></label>
683
+ </th>
684
  <td></td>
685
  </tr>
686
  <tr>
687
+ <th scope="row">
688
+ <input type="checkbox" name="hide_role" id="hide_role" value="1"<?php checked(true, in_array('role', $options['aue_hidden_fields']), true); ?> />
689
+ <label for="hide_role"><?php _e("Hide role field", $cimy_uef_domain); ?></label>
690
+ </th>
691
  <td></td>
692
  </tr>
693
  <tr>
694
+ <th scope="row">
695
+ <input type="checkbox" name="hide_website" id="hide_website" value="1"<?php checked(true, in_array('website', $options['aue_hidden_fields']), true); ?> />
696
+ <label for="hide_website"><?php _e("Hide website field", $cimy_uef_domain); ?></label>
697
+ </th>
698
  <td></td>
699
  </tr>
700
  <tr>
701
+ <th>
702
+ <input type="checkbox" name="hide_posts" id="hide_posts" value="1"<?php checked(true, in_array('posts', $options['aue_hidden_fields']), true); ?> />
703
+ <label for="hide_posts"><?php _e("Hide n. posts field", $cimy_uef_domain); ?></label>
704
+ </th>
705
  <td></td>
706
  </tr>
707
  </table>
710
  <table class="form-table">
711
  <?php if (!is_multisite()) { ?>
712
  <tr>
713
+ <th scope="row" width="40%">
714
+ <input type="checkbox" name="show_wp_username" id="show_wp_username" value="1"<?php checked(true, in_array('username', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
715
+ <label for="show_wp_username"><?php _e("Show username", $cimy_uef_domain); ?></label>
716
+ </th>
717
  <td width="60%"><?php _e("when unchecked the email address will be used as username", $cimy_uef_domain); ?></td>
718
  </tr>
719
  <?php } ?>
720
  <tr>
721
+ <th scope="row" width="40%">
722
+ <input type="checkbox" name="show_wp_password" id="show_wp_password" value="1"<?php checked(true, in_array('password', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
723
+ <label for="show_wp_password"><?php _e("Show password", $cimy_uef_domain); ?></label>
724
+ </th>
725
  <td width="60%"></td>
726
  </tr>
727
  <tr>
728
+ <th>
729
+ &nbsp;&nbsp;&nbsp;<input type="checkbox" name="show_wp_password2" id="show_wp_password2" value="1"<?php checked(true, in_array('password2', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
730
+ <label for="show_wp_password2"><?php _e("Show confirmation password", $cimy_uef_domain); ?></label>
731
+ </th>
732
  <td></td>
733
  </tr>
734
  <tr>
735
+ <th>
736
+ &nbsp;&nbsp;&nbsp;<input type="checkbox" name="show_wp_password_meter" id="show_wp_password_meter" value="1"<?php checked(true, $options['password_meter'], true); disabled(true, $db_wp_fields < 0, true); ?> />
737
+ <label for="show_wp_password_meter"><?php _e("Show password strength meter", $cimy_uef_domain); ?></label>
738
+ </th>
739
  <td></td>
740
  </tr>
741
  <tr>
742
+ <th>
743
+ <input type="checkbox" name="show_wp_firstname" id="show_wp_firstname" value="1"<?php checked(true, in_array('firstname', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
744
+ <label for="show_wp_firstname"><?php _e("Show first name", $cimy_uef_domain); ?></label>
745
+ </th>
746
  <td></td>
747
  </tr>
748
  <tr>
749
+ <th>
750
+ <input type="checkbox" name="show_wp_lastname" id="show_wp_lastname" value="1"<?php checked(true, in_array('lastname', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
751
+ <label for="show_wp_lastname"><?php _e("Show last name", $cimy_uef_domain); ?></label>
752
+ </th>
753
  <td></td>
754
  </tr>
755
  <tr>
756
+ <th>
757
+ <input type="checkbox" name="show_wp_nickname" id="show_wp_nickname" value="1"<?php checked(true, in_array('nickname', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
758
+ <label for="show_wp_nickname"><?php _e("Show nickname", $cimy_uef_domain); ?></label>
759
+ </th>
760
  <td></td>
761
  </tr>
762
  <tr>
763
+ <th scope="row">
764
+ <input type="checkbox" name="show_wp_website" id="show_wp_website" value="1"<?php checked(true, in_array('website', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
765
+ <label for="show_wp_website"><?php _e("Show website", $cimy_uef_domain); ?></label>
766
+ </th>
767
  <td></td>
768
  </tr>
769
  <tr>
770
+ <th scope="row">
771
+ <input type="checkbox" name="show_wp_aim" id="show_wp_aim" value="1"<?php checked(true, in_array('aim', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
772
+ <label for="show_wp_aim"><?php _e("Show AIM", $cimy_uef_domain); ?></label>
773
+ </th>
774
  <td></td>
775
  </tr>
776
  <tr>
777
+ <th scope="row">
778
+ <input type="checkbox" name="show_wp_yahoo" id="show_wp_yahoo" value="1"<?php checked(true, in_array('yahoo', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
779
+ <label for="show_wp_yahoo"><?php _e("Show Yahoo IM", $cimy_uef_domain); ?></label>
780
+ </th>
781
  <td></td>
782
  </tr>
783
  <tr>
784
+ <th scope="row">
785
+ <input type="checkbox" name="show_wp_jgt" id="show_wp_jgt" value="1"<?php checked(true, in_array('jgt', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
786
+ <label for="show_wp_jgt"><?php _e("Show Jabber / Google Talk", $cimy_uef_domain); ?></label>
787
+ </th>
788
  <td></td>
789
  </tr>
790
  <tr>
791
+ <th scope="row">
792
+ <input type="checkbox" name="show_wp_bio-info" id="show_wp_bio-info" value="1"<?php checked(true, in_array('bio-info', $options['wp_hidden_fields']), true); disabled(true, $db_wp_fields < 0, true); ?> />
793
+ <label for="show_wp_bio-info"><?php _e("Show Biographical Info", $cimy_uef_domain); ?></label>
794
+ </th>
795
  <td></td>
796
  </tr>
797
  </table>
cimy_uef_profile.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  function cimy_extract_ExtraFields() {
4
- global $wpdb, $user_ID, $wpdb_data_table, $start_cimy_uef_comment, $end_cimy_uef_comment, $rule_profile_value, $cimy_uef_options, $rule_maxlen_needed, $fields_name_prefix, $cuef_upload_path, $cimy_uef_domain, $cuef_plugin_dir, $cimy_uef_file_types, $cimy_uef_textarea_types, $user_level;
5
 
6
  // if editing a different user (only admin)
7
  if (isset($_GET['user_id'])) {
@@ -137,19 +137,22 @@ function cimy_extract_ExtraFields() {
137
  $value = esc_attr($value);
138
  $old_value = esc_attr($old_value);
139
  $obj_class = '';
 
140
  if ($rules['can_be_empty'])
141
  $required = '' ;
142
  else
143
  $required = ' <span class="description">'.__("(required)").'</span>' ;
144
 
145
  switch($type) {
 
 
146
  case "picture-url":
147
  case "password":
148
  case "text":
149
  $obj_label = '<label for="'.$unique_id.'">'.cimy_uef_sanitize_content($label).$required.'</label>';
150
  $obj_name = ' name="'.$input_name.'"';
151
 
152
- if ($type == "picture-url")
153
  $obj_type = ' type="text"';
154
  else
155
  $obj_type = ' type="'.$type.'"';
@@ -159,7 +162,8 @@ function cimy_extract_ExtraFields() {
159
  $obj_checked = "";
160
  $obj_tag = "input";
161
  $obj_closing_tag = false;
162
- $obj_style = ' class="regular-text"';
 
163
 
164
  if (cimy_uef_is_field_disabled($type, $rules['edit'], $old_value))
165
  $obj_disabled = ' disabled="disabled"';
@@ -444,14 +448,14 @@ function cimy_extract_ExtraFields() {
444
  $imgarea_options.= ", aspectRatio: '1:1'";
445
  echo "<script type='text/javascript'>jQuery(document).ready(function () { jQuery('#".esc_js($field_id_data)."').imgAreaSelect({ ".$imgarea_options." }); });</script>";
446
  }
447
- echo '<input type="checkbox" name="'.$input_name.'_del" value="1" style="width:auto; border:0; background:white;"'.$dis_delete_img.' />';
448
 
449
  if ($type == "file") {
450
- echo " ".__("Delete the file", $cimy_uef_domain)."<br /><br />";
451
  echo "\n\t\t".__("Update the file", $cimy_uef_domain)."<br />";
452
  }
453
  else {
454
- echo " ".__("Delete the picture", $cimy_uef_domain)."<br /><br />";
455
  echo "\n\t\t".__("Update the picture", $cimy_uef_domain)."<br />";
456
  }
457
  echo "\n\t\t";
@@ -613,6 +617,7 @@ function cimy_update_ExtraFields() {
613
  case 'dropdown-multi':
614
  $ret = cimy_dropDownOptions($label, $field_value);
615
  $label = $ret['label'];
 
616
  case 'picture-url':
617
  case 'textarea':
618
  case 'textarea-rich':
1
  <?php
2
 
3
  function cimy_extract_ExtraFields() {
4
+ global $wpdb, $user_ID, $wpdb_data_table, $start_cimy_uef_comment, $end_cimy_uef_comment, $rule_profile_value, $cimy_uef_options, $rule_maxlen_needed, $fields_name_prefix, $cuef_upload_path, $cimy_uef_domain, $cuef_plugin_dir, $cimy_uef_file_types, $cimy_uef_textarea_types, $cimy_uef_text_types, $user_level;
5
 
6
  // if editing a different user (only admin)
7
  if (isset($_GET['user_id'])) {
137
  $value = esc_attr($value);
138
  $old_value = esc_attr($old_value);
139
  $obj_class = '';
140
+ $obj_class2 = '';
141
  if ($rules['can_be_empty'])
142
  $required = '' ;
143
  else
144
  $required = ' <span class="description">'.__("(required)").'</span>' ;
145
 
146
  switch($type) {
147
+ case "date":
148
+ $obj_class2 = " datepicker";
149
  case "picture-url":
150
  case "password":
151
  case "text":
152
  $obj_label = '<label for="'.$unique_id.'">'.cimy_uef_sanitize_content($label).$required.'</label>';
153
  $obj_name = ' name="'.$input_name.'"';
154
 
155
+ if (in_array($type, $cimy_uef_text_types))
156
  $obj_type = ' type="text"';
157
  else
158
  $obj_type = ' type="'.$type.'"';
162
  $obj_checked = "";
163
  $obj_tag = "input";
164
  $obj_closing_tag = false;
165
+ $obj_style = "";
166
+ $obj_class = ' class="regular-text'.$obj_class2.'"';
167
 
168
  if (cimy_uef_is_field_disabled($type, $rules['edit'], $old_value))
169
  $obj_disabled = ' disabled="disabled"';
448
  $imgarea_options.= ", aspectRatio: '1:1'";
449
  echo "<script type='text/javascript'>jQuery(document).ready(function () { jQuery('#".esc_js($field_id_data)."').imgAreaSelect({ ".$imgarea_options." }); });</script>";
450
  }
451
+ echo '<input type="checkbox" name="'.$input_name.'_del" id="'.$input_name.'_del" value="1" style="width:auto; border:0; background:white;"'.$dis_delete_img.' />';
452
 
453
  if ($type == "file") {
454
+ echo " <label for=\"".$input_name."_del\">".__("Delete the file", $cimy_uef_domain)."</label><br /><br />";
455
  echo "\n\t\t".__("Update the file", $cimy_uef_domain)."<br />";
456
  }
457
  else {
458
+ echo " <label for=\"".$input_name."_del\">".__("Delete the picture", $cimy_uef_domain)."</label><br /><br />";
459
  echo "\n\t\t".__("Update the picture", $cimy_uef_domain)."<br />";
460
  }
461
  echo "\n\t\t";
617
  case 'dropdown-multi':
618
  $ret = cimy_dropDownOptions($label, $field_value);
619
  $label = $ret['label'];
620
+ case 'date':
621
  case 'picture-url':
622
  case 'textarea':
623
  case 'textarea-rich':
cimy_uef_register.php CHANGED
@@ -223,6 +223,7 @@ function cimy_register_user_extra_fields($user_id, $password="", $meta=array())
223
  $sql = "INSERT INTO ".$wpdb_data_table." SET USER_ID = ".$user_id.", FIELD_ID=".$field_id.", ";
224
 
225
  switch ($type) {
 
226
  case 'avatar':
227
  case 'picture-url':
228
  case 'picture':
@@ -878,6 +879,8 @@ function cimy_registration_form($errors=null, $show_type=0) {
878
  echo "\n\t";
879
 
880
  switch($type) {
 
 
881
  case "picture-url":
882
  case "password":
883
  case "text":
223
  $sql = "INSERT INTO ".$wpdb_data_table." SET USER_ID = ".$user_id.", FIELD_ID=".$field_id.", ";
224
 
225
  switch ($type) {
226
+ case 'date':
227
  case 'avatar':
228
  case 'picture-url':
229
  case 'picture':
879
  echo "\n\t";
880
 
881
  switch($type) {
882
+ case "date":
883
+ $input_class .= " datepicker";
884
  case "picture-url":
885
  case "password":
886
  case "text":
cimy_user_extra_fields.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cimy User Extra Fields
4
  Plugin URI: http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/
5
  Description: Add some useful fields to registration and user's info
6
- Version: 2.5.5
7
  Author: Marco Cimmino
8
  Author URI: mailto:cimmino.marco@gmail.com
9
  License: GPL2
@@ -91,7 +91,7 @@ RULES (stored into an associative array and serialized):
91
  'edit_only_by_admin' => field can be modified only by administrator
92
  'edit_only_by_admin_or_if_empty' => field can be modified only by administrator or if it's still empty
93
  'no_edit' => field cannot be modified
94
- [only for text, textarea, textarea-rich, password, picture, picture-url, checkbox, radio, dropdown, dropdown-multi, avatar, file]
95
  [for radio and checkbox 'edit_only_if_empty' has no effects and 'edit_only_by_admin_or_if_empty' has the same effect as edit_only_by_admin]
96
 
97
  - 'equal_to': [string] => field should be equal to a specify string
@@ -126,6 +126,7 @@ TYPE can be:
126
  - 'registration-date'
127
  - 'avatar'
128
  - 'file'
 
129
 
130
  */
131
 
@@ -161,7 +162,7 @@ add_action('admin_init', 'cimy_uef_admin_init');
161
  add_action('init', 'cimy_uef_init');
162
 
163
  $cimy_uef_name = "Cimy User Extra Fields";
164
- $cimy_uef_version = "2.5.5";
165
  $cimy_uef_url = "http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/";
166
  $cimy_project_url = "http://www.marcocimmino.net/cimy-wordpress-plugins/support-the-cimy-project-paypal/";
167
 
@@ -432,13 +433,13 @@ $wp_hidden_fields = array(
432
  );
433
 
434
  // all available types
435
- $available_types = array("text", "textarea", "textarea-rich", "password", "checkbox", "radio", "dropdown", "dropdown-multi", "picture", "picture-url", "registration-date", "avatar", "file");
436
 
437
  // types that should be pass registration check for equal to rule
438
- $apply_equalto_rule = array("text", "textarea", "textarea-rich", "password", "checkbox", "radio", "dropdown", "dropdown-multi");
439
 
440
  // types that can have 'can be empty' rule
441
- $rule_canbeempty = array("text", "textarea", "textarea-rich", "password", "picture", "picture-url", "dropdown", "dropdown-multi", "avatar", "file");
442
 
443
  // common for min, exact and max length
444
  $rule_maxlen = array("text", "password", "textarea", "textarea-rich", "picture", "picture-url", "avatar", "file");
@@ -449,20 +450,17 @@ $rule_maxlen_needed = array("text", "password", "picture", "picture-url", "avata
449
  // types that can have 'check for email syntax' rule
450
  $rule_email = array("text", "textarea", "textarea-rich", "password");
451
 
452
- // types that can have cannot be empty rule
453
- $rule_cannot_be_empty = array("text", "textarea", "textarea-rich", "password", "dropdown", "dropdown-multi", "picture", "picture-url", "registration-date", "avatar", "file");
454
-
455
  // types that can admit a default value if empty
456
- $rule_profile_value = array("text", "textarea", "textarea-rich", "password", "picture", "picture-url", "avatar", "file", "checkbox", "radio", "dropdown", "dropdown-multi");
457
 
458
  // types that can have 'equal to' rule
459
- $rule_equalto = array("text", "textarea", "textarea-rich", "password", "checkbox", "radio", "dropdown", "dropdown-multi", "picture", "picture-url", "registration-date", "file");
460
 
461
  // types that can have 'case (in)sensitive equal to' rule
462
  $rule_equalto_case_sensitive = array("text", "textarea", "textarea-rich", "password", "dropdown", "dropdown-multi");
463
 
464
  // types that can have regex equal to rule
465
- $rule_equalto_regex = array("text", "textarea", "textarea-rich", "password", "dropdown", "dropdown-multi");
466
 
467
  // types that are file to be uploaded
468
  $cimy_uef_file_types = array("picture", "avatar", "file");
@@ -473,6 +471,9 @@ $cimy_uef_file_images_types = array("picture", "avatar");
473
  // types that are textarea and needs rows and cols attributes
474
  $cimy_uef_textarea_types = array("textarea", "textarea-rich");
475
 
 
 
 
476
  $max_length_name = 20;
477
  $max_length_label = 50000;
478
  $max_length_desc = 50000;
3
  Plugin Name: Cimy User Extra Fields
4
  Plugin URI: http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/
5
  Description: Add some useful fields to registration and user's info
6
+ Version: 2.6.0
7
  Author: Marco Cimmino
8
  Author URI: mailto:cimmino.marco@gmail.com
9
  License: GPL2
91
  'edit_only_by_admin' => field can be modified only by administrator
92
  'edit_only_by_admin_or_if_empty' => field can be modified only by administrator or if it's still empty
93
  'no_edit' => field cannot be modified
94
+ [only for text, textarea, textarea-rich, password, picture, picture-url, checkbox, radio, dropdown, dropdown-multi, avatar, file, date]
95
  [for radio and checkbox 'edit_only_if_empty' has no effects and 'edit_only_by_admin_or_if_empty' has the same effect as edit_only_by_admin]
96
 
97
  - 'equal_to': [string] => field should be equal to a specify string
126
  - 'registration-date'
127
  - 'avatar'
128
  - 'file'
129
+ - 'date'
130
 
131
  */
132
 
162
  add_action('init', 'cimy_uef_init');
163
 
164
  $cimy_uef_name = "Cimy User Extra Fields";
165
+ $cimy_uef_version = "2.6.0";
166
  $cimy_uef_url = "http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/";
167
  $cimy_project_url = "http://www.marcocimmino.net/cimy-wordpress-plugins/support-the-cimy-project-paypal/";
168
 
433
  );
434
 
435
  // all available types
436
+ $available_types = array("text", "textarea", "textarea-rich", "password", "checkbox", "radio", "dropdown", "dropdown-multi", "picture", "picture-url", "registration-date", "avatar", "file", "date");
437
 
438
  // types that should be pass registration check for equal to rule
439
+ $apply_equalto_rule = array("text", "textarea", "textarea-rich", "password", "checkbox", "radio", "dropdown", "dropdown-multi", "date");
440
 
441
  // types that can have 'can be empty' rule
442
+ $rule_canbeempty = array("text", "textarea", "textarea-rich", "password", "picture", "picture-url", "dropdown", "dropdown-multi", "avatar", "file", "date");
443
 
444
  // common for min, exact and max length
445
  $rule_maxlen = array("text", "password", "textarea", "textarea-rich", "picture", "picture-url", "avatar", "file");
450
  // types that can have 'check for email syntax' rule
451
  $rule_email = array("text", "textarea", "textarea-rich", "password");
452
 
 
 
 
453
  // types that can admit a default value if empty
454
+ $rule_profile_value = array("text", "textarea", "textarea-rich", "password", "picture", "picture-url", "avatar", "file", "checkbox", "radio", "dropdown", "dropdown-multi", "date");
455
 
456
  // types that can have 'equal to' rule
457
+ $rule_equalto = array("text", "textarea", "textarea-rich", "password", "checkbox", "radio", "dropdown", "dropdown-multi", "picture", "picture-url", "registration-date", "file", "date");
458
 
459
  // types that can have 'case (in)sensitive equal to' rule
460
  $rule_equalto_case_sensitive = array("text", "textarea", "textarea-rich", "password", "dropdown", "dropdown-multi");
461
 
462
  // types that can have regex equal to rule
463
+ $rule_equalto_regex = array("text", "textarea", "textarea-rich", "password", "dropdown", "dropdown-multi", "date");
464
 
465
  // types that are file to be uploaded
466
  $cimy_uef_file_types = array("picture", "avatar", "file");
471
  // types that are textarea and needs rows and cols attributes
472
  $cimy_uef_textarea_types = array("textarea", "textarea-rich");
473
 
474
+ // types that are input type="text"
475
+ $cimy_uef_text_types = array("picture-url", "date");
476
+
477
  $max_length_name = 20;
478
  $max_length_label = 50000;
479
  $max_length_desc = 50000;
css/cimy_uef_datepicker.css ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ #ui-datepicker-div
2
+ {
3
+ display: none;
4
+ }
js/datepicker.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery('.datepicker').datepicker({
2
+ // Show the 'close' and 'today' buttons
3
+ showButtonPanel: true,
4
+ closeText: datepickerL10n.closeText,
5
+ currentText: datepickerL10n.currentText,
6
+ monthNames: datepickerL10n.monthNames,
7
+ monthNamesShort: datepickerL10n.monthNamesShort,
8
+ dayNames: datepickerL10n.dayNames,
9
+ dayNamesShort: datepickerL10n.dayNamesShort,
10
+ dayNamesMin: datepickerL10n.dayNamesMin,
11
+ dateFormat: datepickerL10n.dateFormat,
12
+ firstDay: datepickerL10n.firstDay,
13
+ isRTL: datepickerL10n.isRTL,
14
+ });
langs/cimy_uef-ar.mo CHANGED
Binary file
langs/cimy_uef-ar.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cimy User Extra Fields\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-06-02 15:02-0800\n"
6
- "PO-Revision-Date: 2013-06-02 15:02-0800\n"
7
  "Last-Translator: Marco Cimmino <cimmino.marco@gmail.com>\n"
8
  "Language-Team: Mamoun Elkheir <krikabat@hotmail.com>\n"
9
  "Language: \n"
@@ -16,63 +16,63 @@ msgstr ""
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SearchPath-0: /var/www/wp-content/plugins/cimy-user-extra-fields\n"
18
 
19
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:478
20
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:482
21
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:496
22
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:516
23
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:528
24
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:541
25
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:552
26
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:563
27
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:569
28
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:581
29
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:587
30
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:598
31
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:603
32
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:644
33
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:652
34
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1026
35
  msgid "ERROR"
36
  msgstr "خطأ"
37
 
38
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:478
39
  msgid "does not match."
40
  msgstr "غير متفقة."
41
 
42
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:482
43
  msgid "hasn&#8217;t a correct email syntax."
44
  msgstr "صيغة البريد اللإلكتروني غير صحيحة."
45
 
46
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:496
47
  msgid "couldn&#8217;t be empty."
48
  msgstr "لا يمكن أن تكون فارغة."
49
 
50
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:515
51
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:524
52
  msgid "isn&#8217;t correct"
53
  msgstr "غير صحيحة"
54
 
55
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:521
56
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1026
57
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1029
58
  msgid "YES"
59
  msgstr "نعم"
60
 
61
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:521
62
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1026
63
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1029
64
  msgid "NO"
65
  msgstr "لا"
66
 
67
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:526
68
  msgid "should be"
69
  msgstr "يجب أن"
70
 
71
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:541
72
  msgid "should be an image."
73
  msgstr "يجب أن تكون صورة."
74
 
75
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:552
76
  msgid "does not accept this file type."
77
  msgstr ""
78
 
@@ -80,81 +80,81 @@ msgstr ""
80
  msgid "couldn&#8217;t have size less than"
81
  msgstr "لا يمكن أن يكون حجمها أقل من"
82
 
83
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:569
84
  msgid "couldn&#8217;t have length less than"
85
  msgstr "لا يمكن أن يكون طولها أقل من"
86
 
87
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:581
88
  msgid "couldn&#8217;t have size different than"
89
  msgstr "لا يمكن أن يختلف حجمها عن"
90
 
91
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:587
92
  msgid "couldn&#8217;t have length different than"
93
  msgstr "لا يمكن أن يختلف طولها عن"
94
 
95
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:598
96
  msgid "couldn&#8217;t have size more than"
97
  msgstr "لا يمكن أن يزيد حجمها عن"
98
 
99
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:603
100
  msgid "couldn&#8217;t have length more than"
101
  msgstr "لا يمكن أن يزيد طولها عن"
102
 
103
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:644
104
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:652
105
  msgid "Typed code is not correct."
106
  msgstr "الشفرة المكتوبة غير صحيحة."
107
 
108
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:722
109
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1448
110
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1449
111
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:192
112
  msgid "Username"
113
  msgstr "اسم المستخدم"
114
 
115
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:749
116
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1458
117
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1459
118
  msgid "E-mail"
119
  msgstr "البريد الإلكتروني"
120
 
121
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1000
122
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:304
123
  msgid "Please upload a file with one of the following extensions"
124
  msgstr "الرجاء تحميل ملف بأحد الامتدادات الآتية"
125
 
126
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1006
127
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:310
128
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:282
129
  msgid "Please upload an image with one of the following extensions"
130
  msgstr "الرجاء تحميل صورة بأحد الامتدادات الآتية"
131
 
132
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1181
133
  msgid "Strength indicator"
134
  msgstr "مؤشر القوة"
135
 
136
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1182
137
  msgid "Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! \" ? $ % ^ &amp; )."
138
  msgstr "تلميح: كلمة المرور يجب أن يكون طولها على الأقل 7 أحرف. ولجعلها أقوى، استخدم حروفاً متنوعة وأرقاماً ورموزاً مثل ! \" ? $ % ^ &amp; )."
139
 
140
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1221
141
  msgid "Change image"
142
  msgstr "تغيير الصورة"
143
 
144
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1224
145
  msgid "Insert the code:"
146
  msgstr "أدخل الشفرة:"
147
 
148
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1296
149
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1298
150
  msgid "Confirm your registration"
151
  msgstr "تأكيد تسجيلك"
152
 
153
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1304
154
  msgid "A password will be e-mailed to you."
155
  msgstr "سيتم إرسال كلمة المرور على بريدك الإلكتروني."
156
 
157
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1312
158
  msgid "&larr; Back"
159
  msgstr "&larr; إلى الخلف"
160
 
@@ -179,17 +179,17 @@ msgid "Change order"
179
  msgstr "تغيير الترتيب"
180
 
181
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:30
182
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:846
183
  msgid "Min length"
184
  msgstr "أقل طول"
185
 
186
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:31
187
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:847
188
  msgid "Exact length"
189
  msgstr "الطول بالتحديد"
190
 
191
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:32
192
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:848
193
  msgid "Max length"
194
  msgstr "أقصى طول"
195
 
@@ -223,409 +223,409 @@ msgstr "الحقل أو الحقول"
223
  msgid "deleted correctly"
224
  msgstr "تم حذفها بشكل صحيح"
225
 
226
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:242
227
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:838
228
  msgid "Min size"
229
  msgstr "أقل حجم"
230
 
231
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:243
232
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:839
233
  msgid "Exact size"
234
  msgstr "الحجم بالتحديد"
235
 
236
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:244
237
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:840
238
  msgid "Max size"
239
  msgstr "أقصى حجم"
240
 
241
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:246
242
  msgid "Exact or Max size"
243
  msgstr "الحجم بالتحديد أو الأقصى"
244
 
245
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:285
246
  msgid "Name not specified"
247
  msgstr "لم يتم تحديد الاسم"
248
 
249
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:287
250
  msgid "Name cannot contains spaces"
251
  msgstr "لا يمكن أن يحتوي الاسم على فراغات"
252
 
253
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:290
254
  msgid "Label not specified"
255
  msgstr "لم يتم تحديد العنوان"
256
 
257
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:295
258
  msgid "not selected (with this type is necessary)"
259
  msgstr "لم يتم تحديده (ضروري لهذا النوع)"
260
 
261
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:301
262
  msgid "If you select"
263
  msgstr "إذا اخترت"
264
 
265
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:301
266
  msgid "you cannot select Min or Max"
267
  msgstr "لا يمكنك اختيار أقل أو أقصى"
268
 
269
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:306
270
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:311
271
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:316
272
  msgid "should be in the range of"
273
  msgstr "يجب أن يكون في المدى"
274
 
275
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:326
276
  msgid "Equal TO not specified"
277
  msgstr "لم يتم تحديد القيمة المساواة"
278
 
279
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:329
280
  msgid "With checkbox type Equal TO can only be"
281
  msgstr "لنوع مربعات التأشير المساواة يمكن فقط أن تكون"
282
 
283
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:332
284
  msgid "With radio type Equal TO can only be"
285
  msgstr "لنوع اختيار الدوائر المساواة يمكن فقط أن تكون"
286
 
287
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:348
288
  msgid "With checkbox type Value can only be"
289
  msgstr "لنوع مربعات التأشير القيمة يمكن فقط أن تكون"
290
 
291
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:351
292
  msgid "With radio type Value can only be"
293
  msgstr "لنوع اختيار الدوائر القيمة يمكن فقط أن تكون"
294
 
295
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:407
296
  msgid "Field inserted correctly"
297
  msgstr "تم إدخال الحقل بشكل صحيح"
298
 
299
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:409
300
  msgid "Field #"
301
  msgstr "رقم الحقل"
302
 
303
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:409
304
  msgid "updated correctly"
305
  msgstr "تم تحديثه بشكل صحيح"
306
 
307
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:421
308
  msgid "Name inserted is just in the database, change to another one"
309
  msgstr "الاسم المدخل موجود في قاعدة البيانات، اختر اسماً غيره"
310
 
311
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:436
312
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:367
313
  msgid "Add a new Field"
314
  msgstr "إضافة حقل جديد"
315
 
316
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:551
317
  msgid "To add a new field you have to choose a name, type and label; optional are value and description. Rules are applied during user registration."
318
  msgstr "لإضافة حقل جديد يجب اختيار اسم ونوع وعنوان له؛ أما النوع والوصف فاختياريان. يتم تطبيق القواعد عند تسجيل المستخدمين."
319
 
320
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:553
321
  msgid "With <strong>radio</strong> and <strong>checkbox</strong>: <em>Value</em> and <em>equal TO</em> can only be 'Yes' or 'No' that means 'selected' or 'not selected'"
322
  msgstr "بخصوص <strong>دوائر الاختيار</strong> و<strong>مربعات التأشير</strong>: <em>القيمة</em> і <em>والمساواة</em> يمكن فقط أن تكون 'نعم' أو 'لا' بما يعني 'مختار' أو 'غير مختار'"
323
 
324
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:554
325
  msgid "With <strong>drop-down</strong>: you have to add all options into label for example: label/item1,item2,item3"
326
  msgstr "بخصوص <strong>القائمة المنسدلة</strong>: يجب أن تكتب كل الخيارات في العنوان، مثلاً: العنوان/الخيار الأول,الخيار الثاني,الخيار الثالث"
327
 
328
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:555
329
  msgid "With <strong>picture</strong>: you can preload a default image putting url in <em>Value</em>; 'min,exact,max size' are in KB; <em>equal TO</em> means max pixel size (width or height) for thumbnail"
330
  msgstr "بخصوص <strong>الصورة</strong>: يجب تزويد صورة افتراضية بوضع رابط في <em>القيمة</em>؛ 'أقل وبالتحديد وأقصى حجم' بوحدة KB؛ <em>المساواة</em> تعني أقصى حجم بيكسل (طول أو عرض) للصور المصغرة"
331
 
332
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:556
333
  msgid "With <strong>picture-url</strong>: you can preload a default image putting url in <em>Value</em>; <em>equal TO</em> means max width pixel size (height will be proportional)"
334
  msgstr "بخصوص <strong>رابط الصورة</strong>: يمكنك تزويد صورة افتراضية بوضع الرابط في <em>القيمة</em>؛ <em>المساواة</em> تعني أقصى عرض للحجم بالبيكسل (الطول متناسب)"
335
 
336
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:557
337
  msgid "With <strong>registration-date</strong>: <em>equal TO</em> means date and time format"
338
  msgstr "بخصوص <strong>تاريخ التسجيل</strong>: <em>المساواة</em> تعني صيغة التاريخ والوقت"
339
 
340
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:558
341
  msgid "With <strong>avatar</strong>: you can preload a default image putting url in <em>Value</em>; 'min,exact,max size' are in KB; <em>equal TO</em> is automatically set to 512 pixels"
342
  msgstr "بخصوص <strong>الأفاتار</strong>: يمكن تزويد صورة افتراضية بوضع الرابط في <em>القيمة</em>؛ 'أقل وبالتحديد وأقصى حجم' بوحدة KB؛ <em>المساواة</em> يتم ضيطها تلقائياً على 512 بيكسل"
343
 
344
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:559
345
  msgid "With <strong>file</strong>: you can preload a default file putting url in <em>Value</em>; 'min,exact,max size' are in KB; under <em>equal TO</em> can be specified allowed extensions separated by comma, example: zip,pdf,doc"
346
  msgstr "بخصوص <strong>ملف</strong>: يمكن تزويد ملف افتراضي بوضع الرابط <em>القيمة</em>؛ 'أقل وبالتحديد وأكبر حجم' بوحدة KB؛ في <em>المساواة</em> يمكن تحديد الامتدادات المسموحة مفصولة بفاصلة لاتينية، مثلاً:: zip, pdf, doc"
347
 
348
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:566
349
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:576
350
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:777
351
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:871
352
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1453
353
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1454
354
  msgid "Name"
355
  msgstr "الاسم"
356
 
357
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:566
358
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:577
359
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:777
360
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:874
361
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1763
362
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1768
363
  msgid "Value"
364
  msgstr "القيمة"
365
 
366
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:567
367
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:580
368
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:777
369
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:877
370
  msgid "Type"
371
  msgstr "النوع"
372
 
373
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:568
374
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:596
375
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:778
376
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:894
377
  msgid "Label"
378
  msgstr "العنوان"
379
 
380
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:568
381
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:597
382
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:778
383
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:897
384
  msgid "Description"
385
  msgstr "الوصف"
386
 
387
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:569
388
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:779
389
  msgid "Rules"
390
  msgstr "القواعد"
391
 
392
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:570
393
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:780
394
  msgid "Actions"
395
  msgstr "الإجراءات"
396
 
397
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:591
398
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:888
399
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1199
400
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1290
401
  msgid "Fieldset"
402
  msgstr "Fieldset"
403
 
404
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:609
405
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:911
406
  msgid "Can be empty"
407
  msgstr "يمكن أن يكون فارغاً"
408
 
409
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:610
410
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:912
411
  msgid "Check for E-mail syntax"
412
  msgstr "التأكد من صيغة البريد الإلكتروني"
413
 
414
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:613
415
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:915
416
  msgid "Can be modified"
417
  msgstr "يمكن تعديلها"
418
 
419
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:614
420
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:916
421
  msgid "Can be modified only if empty"
422
  msgstr "يمكن تعديلها فقط في حالة كونها فارغة"
423
 
424
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:615
425
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:917
426
  msgid "Can be modified only by admin"
427
  msgstr "يمكن تعديلها فقط بواسطة المدير"
428
 
429
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:616
430
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:918
431
  msgid "Can be modified only by admin or if empty"
432
  msgstr "يمكن تعديلها فقط بواسطة المدير في حالة كونها فارغة"
433
 
434
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:617
435
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:919
436
  msgid "Cannot be modified"
437
  msgstr "لا يمكن تعديلها"
438
 
439
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:621
440
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:924
441
  msgid "Should be equal TO"
442
  msgstr "يجب أن تساوي"
443
 
444
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:623
445
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:926
446
  msgid "Case sensitive"
447
  msgstr "حساسة لحجم الحروف"
448
 
449
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:626
450
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:928
451
  msgid "Regular Expression"
452
  msgstr "تعبير اعتيادي"
453
 
454
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:629
455
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:933
456
  msgid "Show the field in the registration"
457
  msgstr "إظهار الحقل عند التسجيل"
458
 
459
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:632
460
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:936
461
  msgid "Show the field in User's profile"
462
  msgstr "إظهار الحقل في الملف الشخصي للمستخدم"
463
 
464
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:635
465
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:945
466
  msgid "Show the field in Users Extended section"
467
  msgstr "إظهار الحقل في قائمة المستخدمين الممتدة (Users Extneded)"
468
 
469
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:638
470
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:948
471
  msgid "Show the field in the search engine"
472
  msgstr "إظهار الحقل في محرك البحث"
473
 
474
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:641
475
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:951
476
  msgid "Show the field in the blog"
477
  msgstr "إظهار الحقل في الموقع"
478
 
479
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:644
480
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:954
481
  msgid "Show the field if the role is at least:"
482
  msgstr "إظهار الحقل فقط إذا كانت الوظيفة على الأقل:"
483
 
484
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:646
485
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:956
486
  msgid "Anonymous"
487
  msgstr "مجهول"
488
 
489
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:652
490
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:962
491
  msgid "User has 'view_cimy_extra_fields' capability"
492
  msgstr "المستخدم يمتلك صلاحية 'view_cimy_extra_fields'"
493
 
494
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:657
495
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:970
496
  msgid "Send an email to the admin if the user changes its value"
497
  msgstr "إرسال بريد إلكتروني للمدير إذا غير المستخدم قيمتها"
498
 
499
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:659
500
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:975
501
  msgid "Advanced options"
502
  msgstr "خيارات متقدمة"
503
 
504
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:664
505
  msgid "Clear"
506
  msgstr "تفريغ"
507
 
508
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:741
509
  msgid "Invert selection"
510
  msgstr "عكس التحديد"
511
 
512
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:742
513
  msgid "Are you sure you want to delete field(s) and all data inserted into by users?"
514
  msgstr "هل أنت متأكد أنك تريد حذف الحقل/الحقول وكل البيانات فيها المدخلة بواسطة المستخدمين؟"
515
 
516
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:748
517
  msgid "WordPress Fields"
518
  msgstr "حقول WordPress"
519
 
520
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:750
521
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1763
522
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1768
523
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:367
524
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_db.php:115
525
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_db.php:369
526
  msgid "Extra Fields"
527
  msgstr "الحقول الإضافية (Extra Fields)"
528
 
529
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:761
530
  msgid "None!"
531
  msgstr "لا يوجد!"
532
 
533
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:776
534
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:859
535
  msgid "Order"
536
  msgstr "الترتيب"
537
 
538
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:979
539
  msgid "Reset"
540
  msgstr "استعادة"
541
 
542
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1044
543
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:391
544
  msgid "SUCCESSFUL"
545
  msgstr "تم بنجاح"
546
 
547
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1063
548
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1790
549
  msgid "select"
550
  msgstr "اختيار"
551
 
552
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1203
553
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1294
554
  msgid "Users per page"
555
  msgstr "عدد المستخدمين في الصحفة"
556
 
557
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1205
558
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1296
559
  msgid "Apply"
560
  msgstr "تنفيذ"
561
 
562
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1370
563
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_init.php:23
564
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_init.php:31
565
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_init.php:36
566
  msgid "Users Extended"
567
  msgstr "Users Extneded"
568
 
569
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1378
570
  #, php-format
571
  msgid "Search results for &#8220;%s&#8221;"
572
  msgstr "البحث عن نتائج تخص &#8220;%s&#8221;"
573
 
574
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1416
575
  #, php-format
576
  msgid "%1$s <span class=\"count\">(%2$s)</span>"
577
  msgstr "%1$s <span class=\"count\">(%2$s)</span>"
578
 
579
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1425
580
  msgid "Search Users"
581
  msgstr "البحث في المستخدمين"
582
 
583
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1463
584
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1464
585
  msgid "Role"
586
  msgstr "الوظيفة"
587
 
588
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1468
589
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1469
590
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:324
591
  msgid "Website"
592
  msgstr "الموقع"
593
 
594
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1473
595
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1474
596
  msgid "Posts"
597
  msgstr "المقالات"
598
 
599
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1596
600
  msgid "View posts by this author"
601
  msgstr "مشاهدة المقالات بواسطة هذا الكاتب"
602
 
603
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1621
604
  msgid "Super Admin"
605
  msgstr "المدير الشامل"
606
 
607
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1632
608
  #, php-format
609
  msgid "e-mail: %s"
610
  msgstr "البريد الإلكتروني: %s"
611
 
612
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1743
613
  msgid "Change"
614
  msgstr "تغيير"
615
 
616
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1759
617
  msgid "Update selected users"
618
  msgstr "تحديث المستخدمين المختارين"
619
 
620
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1780
621
  msgid "Update"
622
  msgstr "تحديث"
623
 
624
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1795
625
  msgid "OK"
626
  msgstr "إمضاء"
627
 
628
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1796
629
  msgid "Cancel"
630
  msgstr "إلغاء"
631
 
@@ -736,44 +736,44 @@ msgstr "اسم المستخدم والبريد الإلكتروني مستخدم
736
  msgid "That email address has already been used. Please check your inbox for an activation email. It will become available in a couple of days if you do nothing."
737
  msgstr "هذا البريد الإلكتروني مستخدم سلفاً. الرجاء مراجعة بريدك الإلكتروني لرسالة التفعليل. إذا لم تفعل شيئاً ستصبح متوفرة خلال يومين."
738
 
739
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:141
740
  msgid "(required)"
741
  msgstr "(مطلوب)"
742
 
743
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:448
744
  msgid "Delete the file"
745
  msgstr "حذف الملف"
746
 
747
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:449
748
  msgid "Update the file"
749
  msgstr "تحديث الملف"
750
 
751
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:452
752
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:545
753
  msgid "Delete the picture"
754
  msgstr "حذف الصورة"
755
 
756
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:453
757
  msgid "Update the picture"
758
  msgstr "تفعيل الصورة"
759
 
760
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:473
761
  msgid "Picture URL:"
762
  msgstr "رابط الصورة:"
763
 
764
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:722
765
  #, php-format
766
  msgid "%s previous value: %s new value: %s"
767
  msgstr "%s القيمة السابقة: %s القيمة الجديدة: %s"
768
 
769
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:737
770
  #, php-format
771
  msgid "%s (%s) has changed one or more fields"
772
  msgstr "%s (%s) قد غير واحداً أو أكثر من الحقول"
773
 
774
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_init.php:21
775
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:364
776
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:557
777
  msgid "Options"
778
  msgstr "الخيارات"
779
 
@@ -826,7 +826,7 @@ msgid "This plug-in is the results of hours of development to add new features,
826
  msgstr "هذه الإضافة نتاج ساعات من التطوير لإضافة مزيد من الخصائص، دعم إصدارات WordPress الجديدة، ومعالجة الشوائب. الرجاء التبرع بالمال إذا ساعدتك في توفير كل هذه الساعات!"
827
 
828
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:405
829
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:734
830
  msgid "Save Changes"
831
  msgstr "حفظ التغييرات"
832
 
@@ -948,163 +948,163 @@ msgstr "أكبر عرض محبذ للشعار هو 328px، لكن أي ارتف
948
  msgid "Database"
949
  msgstr "قاعدة البيانات"
950
 
951
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:563
952
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:580
953
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:597
954
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:614
955
  msgid "select action"
956
  msgstr "اختيار الإجراء"
957
 
958
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:564
959
  msgid "Default values"
960
  msgstr "القيم الافتراضية"
961
 
962
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:565
963
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:582
964
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:599
965
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:616
966
  msgid "Delete"
967
  msgstr "حذف"
968
 
969
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:569
970
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:586
971
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:603
972
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:621
973
  msgid "NOT PRESENT"
974
  msgstr "غير موجود"
975
 
976
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:574
977
  msgid "WordPress Fields table"
978
  msgstr "جدول حقول WordPress"
979
 
980
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:581
981
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:598
982
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:615
983
  msgid "Empty"
984
  msgstr "تفريغ"
985
 
986
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:591
987
  msgid "Extra Fields table"
988
  msgstr "جدول حقول Extra Fields"
989
 
990
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:608
991
  msgid "Users Data table"
992
  msgstr "جدول بيانات المستخدمين"
993
 
994
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:618
995
  msgid "all data inserted by users in all and only extra fields"
996
  msgstr "كل البيانات المدخلة بواسطة المستخدمين في كل الحقول الإضافية وفقط فيها"
997
 
998
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:626
999
  msgid "Force tables creation"
1000
  msgstr "إجبار إنشاء الجداول"
1001
 
1002
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:629
1003
  msgid "equivalent to de-activate and activate the plug-in; no other operation will be performed"
1004
  msgstr "مكافئ لإلغاء الإضافة وتفعيلها؛ لن يتم اتخاذ أي إجراء آخر"
1005
 
1006
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:635
1007
  msgid "User Profile"
1008
  msgstr "الملف الشخصي للمستخدم"
1009
 
1010
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:638
1011
  msgid "Extra Fields section title"
1012
  msgstr "عنوان قسم الحقول الإضافية "
1013
 
1014
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:642
1015
  msgid "Fieldset's titles, separates with comma"
1016
  msgstr "عناوين Fieldset، مفصولة بفاصلة لاتينية"
1017
 
1018
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:642
1019
  msgid "example: title1,title2,title3"
1020
  msgstr "مثلاً: عنوان1,عنوان2,عنوان3"
1021
 
1022
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:643
1023
  msgid "<strong>note:</strong> if you change order or remove fieldsets you may need to set all extra fields' fieldset assigment again"
1024
  msgstr "<strong>تنبيه:</strong> إذا غيرت ترتيب fieldsets أو حذفتها ربما تحتاج لتعيين كل الـ fieldsets للحقول الإضافية مجدداً"
1025
 
1026
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:648
1027
  msgid "Authors &amp; Users Extended"
1028
  msgstr "المستخدمون وقائمة المستخدمين الممتدة (Users Extended)"
1029
 
1030
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:652
1031
  msgid "Hide username field"
1032
  msgstr "إخفاء حقل اسم المستخدم"
1033
 
1034
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:658
1035
  msgid "Hide name field"
1036
  msgstr "إخفاء حقل الاسم"
1037
 
1038
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:663
1039
  msgid "Hide email field"
1040
  msgstr "إخفاء حقل البريد الإلكتروني"
1041
 
1042
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:667
1043
  msgid "Hide role field"
1044
  msgstr "إخفاء حقل الوظيفة"
1045
 
1046
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:671
1047
  msgid "Hide website field"
1048
  msgstr "إخفاء حقل الموقع الإلكتروني"
1049
 
1050
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:675
1051
  msgid "Hide n. posts field"
1052
  msgstr "إخفاء حقل عدد المقالات"
1053
 
1054
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:680
1055
  msgid "WordPress hidden fields"
1056
  msgstr "حقول WordPress المخفاة"
1057
 
1058
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:684
1059
  #, fuzzy
1060
  msgid "Show username"
1061
  msgstr "إظهار الاسم الثاني"
1062
 
1063
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:685
1064
  msgid "when unchecked the email address will be used as username"
1065
  msgstr ""
1066
 
1067
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:689
1068
  msgid "Show password"
1069
  msgstr "إظهار كلمة المرور"
1070
 
1071
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:693
1072
  msgid "Show confirmation password"
1073
  msgstr "إظهار تأكيد كلمة المرور"
1074
 
1075
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:697
1076
  msgid "Show password strength meter"
1077
  msgstr "إظهار مؤشر قوة كلمة المرور"
1078
 
1079
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:701
1080
  msgid "Show first name"
1081
  msgstr "إظهار الاسم الأول"
1082
 
1083
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:705
1084
  msgid "Show last name"
1085
  msgstr "إظهار الاسم الثاني"
1086
 
1087
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:709
1088
  msgid "Show nickname"
1089
  msgstr "إظهار الاسم المختصر"
1090
 
1091
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:713
1092
  msgid "Show website"
1093
  msgstr "إظهار الموقع الإلكتروني"
1094
 
1095
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:717
1096
  msgid "Show AIM"
1097
  msgstr "إظهار AIM"
1098
 
1099
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:721
1100
  msgid "Show Yahoo IM"
1101
  msgstr "إظهار Yahoo IM"
1102
 
1103
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:725
1104
  msgid "Show Jabber / Google Talk"
1105
  msgstr "إظهار Jabber / Google Talk"
1106
 
1107
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:729
1108
  msgid "Show Biographical Info"
1109
  msgstr "إظهار النبذة التعريفية"
1110
 
@@ -1126,50 +1126,74 @@ msgstr "الملف '%s' ليس بصورة."
1126
  msgid "<strong>Note:</strong> this website let you personalize your password; after the registration you will receive an e-mail with another password, do not care about that!"
1127
  msgstr "<strong>تنبيه:</strong> هذا الموقع يمكنك من تخصيص كلمة المرور خاصتك؛ بعد التسجيل ستصلك رسالة بريد إلكتروني فيها كلمة مرور أخرى، لا تلق لها بالاً!"
1128
 
1129
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:214
1130
  msgid "Password"
1131
  msgstr "كلمة المرور"
1132
 
1133
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:236
1134
  msgid "Password confirmation"
1135
  msgstr "تأكيد كلمة المرور"
1136
 
1137
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:258
1138
  msgid "First name"
1139
  msgstr "الاسم الأول"
1140
 
1141
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:280
1142
  msgid "Last name"
1143
  msgstr "الاس الأخير"
1144
 
1145
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:302
1146
  msgid "Nickname"
1147
  msgstr "الاسم المختصر"
1148
 
1149
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:346
1150
  msgid "AIM"
1151
  msgstr "AIM"
1152
 
1153
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:368
1154
  msgid "Yahoo IM"
1155
  msgstr "Yahoo IM"
1156
 
1157
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:390
1158
  msgid "Jabber / Google Talk"
1159
  msgstr "Jabber / Google Talk"
1160
 
1161
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:412
1162
  msgid "Biographical Info"
1163
  msgstr "نبذة تعريفية"
1164
 
1165
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_functions.php:431
1166
  msgid "no fieldset"
1167
  msgstr "لا يوجد fieldset"
1168
 
1169
- #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_functions.php:435
1170
  msgid "All"
1171
  msgstr "الكل"
1172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1173
  #~ msgid ""
1174
  #~ "You are about to permanently delete the selected items.\n"
1175
  #~ " 'Cancel' to stop, 'OK' to delete."
2
  msgstr ""
3
  "Project-Id-Version: Cimy User Extra Fields\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-09-02 16:35-0800\n"
6
+ "PO-Revision-Date: 2013-09-02 16:36-0800\n"
7
  "Last-Translator: Marco Cimmino <cimmino.marco@gmail.com>\n"
8
  "Language-Team: Mamoun Elkheir <krikabat@hotmail.com>\n"
9
  "Language: \n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SearchPath-0: /var/www/wp-content/plugins/cimy-user-extra-fields\n"
18
 
19
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:479
20
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:483
21
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:497
22
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:517
23
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:529
24
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:542
25
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:553
26
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:563
27
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:568
28
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:579
29
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:584
30
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:595
31
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:600
32
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:641
33
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:649
34
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1065
35
  msgid "ERROR"
36
  msgstr "خطأ"
37
 
38
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:479
39
  msgid "does not match."
40
  msgstr "غير متفقة."
41
 
42
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:483
43
  msgid "hasn&#8217;t a correct email syntax."
44
  msgstr "صيغة البريد اللإلكتروني غير صحيحة."
45
 
46
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:497
47
  msgid "couldn&#8217;t be empty."
48
  msgstr "لا يمكن أن تكون فارغة."
49
 
50
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:516
51
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:525
52
  msgid "isn&#8217;t correct"
53
  msgstr "غير صحيحة"
54
 
55
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:522
56
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1025
57
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1028
58
  msgid "YES"
59
  msgstr "نعم"
60
 
61
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:522
62
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1025
63
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1028
64
  msgid "NO"
65
  msgstr "لا"
66
 
67
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:527
68
  msgid "should be"
69
  msgstr "يجب أن"
70
 
71
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:542
72
  msgid "should be an image."
73
  msgstr "يجب أن تكون صورة."
74
 
75
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:553
76
  msgid "does not accept this file type."
77
  msgstr ""
78
 
80
  msgid "couldn&#8217;t have size less than"
81
  msgstr "لا يمكن أن يكون حجمها أقل من"
82
 
83
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:568
84
  msgid "couldn&#8217;t have length less than"
85
  msgstr "لا يمكن أن يكون طولها أقل من"
86
 
87
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:579
88
  msgid "couldn&#8217;t have size different than"
89
  msgstr "لا يمكن أن يختلف حجمها عن"
90
 
91
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:584
92
  msgid "couldn&#8217;t have length different than"
93
  msgstr "لا يمكن أن يختلف طولها عن"
94
 
95
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:595
96
  msgid "couldn&#8217;t have size more than"
97
  msgstr "لا يمكن أن يزيد حجمها عن"
98
 
99
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:600
100
  msgid "couldn&#8217;t have length more than"
101
  msgstr "لا يمكن أن يزيد طولها عن"
102
 
103
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:641
104
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:649
105
  msgid "Typed code is not correct."
106
  msgstr "الشفرة المكتوبة غير صحيحة."
107
 
108
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:719
109
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1487
110
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1488
111
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_user_extra_fields.php:196
112
  msgid "Username"
113
  msgstr "اسم المستخدم"
114
 
115
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:746
116
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1497
117
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:1498
118
  msgid "E-mail"
119
  msgstr "البريد الإلكتروني"
120
 
121
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:999
122
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:310
123
  msgid "Please upload a file with one of the following extensions"
124
  msgstr "الرجاء تحميل ملف بأحد الامتدادات الآتية"
125
 
126
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1005
127
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_profile.php:316
128
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:282
129
  msgid "Please upload an image with one of the following extensions"
130
  msgstr "الرجاء تحميل صورة بأحد الامتدادات الآتية"
131
 
132
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1180
133
  msgid "Strength indicator"
134
  msgstr "مؤشر القوة"
135
 
136
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1181
137
  msgid "Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! \" ? $ % ^ &amp; )."
138
  msgstr "تلميح: كلمة المرور يجب أن يكون طولها على الأقل 7 أحرف. ولجعلها أقوى، استخدم حروفاً متنوعة وأرقاماً ورموزاً مثل ! \" ? $ % ^ &amp; )."
139
 
140
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1220
141
  msgid "Change image"
142
  msgstr "تغيير الصورة"
143
 
144
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1223
145
  msgid "Insert the code:"
146
  msgstr "أدخل الشفرة:"
147
 
148
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1295
149
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1297
150
  msgid "Confirm your registration"
151
  msgstr "تأكيد تسجيلك"
152
 
153
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1303
154
  msgid "A password will be e-mailed to you."
155
  msgstr "سيتم إرسال كلمة المرور على بريدك الإلكتروني."
156
 
157
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_register.php:1311
158
  msgid "&larr; Back"
159
  msgstr "&larr; إلى الخلف"
160
 
179
  msgstr "تغيير الترتيب"
180
 
181
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:30
182
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:870
183
  msgid "Min length"
184
  msgstr "أقل طول"
185
 
186
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:31
187
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:871
188
  msgid "Exact length"
189
  msgstr "الطول بالتحديد"
190
 
191
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:32
192
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:872
193
  msgid "Max length"
194
  msgstr "أقصى طول"
195
 
223
  msgid "deleted correctly"
224
  msgstr "تم حذفها بشكل صحيح"
225
 
226
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:245
227
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:862
228
  msgid "Min size"
229
  msgstr "أقل حجم"
230
 
231
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:246
232
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:863
233
  msgid "Exact size"
234
  msgstr "الحجم بالتحديد"
235
 
236
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:247
237
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:864
238
  msgid "Max size"
239
  msgstr "أقصى حجم"
240
 
241
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:249
242
  msgid "Exact or Max size"
243
  msgstr "الحجم بالتحديد أو الأقصى"
244
 
245
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:288
246
  msgid "Name not specified"
247
  msgstr "لم يتم تحديد الاسم"
248
 
249
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:290
250
  msgid "Name cannot contains spaces"
251
  msgstr "لا يمكن أن يحتوي الاسم على فراغات"
252
 
253
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:293
254
  msgid "Label not specified"
255
  msgstr "لم يتم تحديد العنوان"
256
 
257
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:298
258
  msgid "not selected (with this type is necessary)"
259
  msgstr "لم يتم تحديده (ضروري لهذا النوع)"
260
 
261
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:304
262
  msgid "If you select"
263
  msgstr "إذا اخترت"
264
 
265
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:304
266
  msgid "you cannot select Min or Max"
267
  msgstr "لا يمكنك اختيار أقل أو أقصى"
268
 
269
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:309
270
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:314
271
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:319
272
  msgid "should be in the range of"
273
  msgstr "يجب أن يكون في المدى"
274
 
275
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:329
276
  msgid "Equal TO not specified"
277
  msgstr "لم يتم تحديد القيمة المساواة"
278
 
279
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:332
280
  msgid "With checkbox type Equal TO can only be"
281
  msgstr "لنوع مربعات التأشير المساواة يمكن فقط أن تكون"
282
 
283
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:335
284
  msgid "With radio type Equal TO can only be"
285
  msgstr "لنوع اختيار الدوائر المساواة يمكن فقط أن تكون"
286
 
287
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:351
288
  msgid "With checkbox type Value can only be"
289
  msgstr "لنوع مربعات التأشير القيمة يمكن فقط أن تكون"
290
 
291
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:354
292
  msgid "With radio type Value can only be"
293
  msgstr "لنوع اختيار الدوائر القيمة يمكن فقط أن تكون"
294
 
295
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:410
296
  msgid "Field inserted correctly"
297
  msgstr "تم إدخال الحقل بشكل صحيح"
298
 
299
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:412
300
  msgid "Field #"
301
  msgstr "رقم الحقل"
302
 
303
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:412
304
  msgid "updated correctly"
305
  msgstr "تم تحديثه بشكل صحيح"
306
 
307
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:424
308
  msgid "Name inserted is just in the database, change to another one"
309
  msgstr "الاسم المدخل موجود في قاعدة البيانات، اختر اسماً غيره"
310
 
311
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:439
312
  #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_options.php:367
313
  msgid "Add a new Field"
314
  msgstr "إضافة حقل جديد"
315
 
316
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:554
317
  msgid "To add a new field you have to choose a name, type and label; optional are value and description. Rules are applied during user registration."
318
  msgstr "لإضافة حقل جديد يجب اختيار اسم ونوع وعنوان له؛ أما النوع والوصف فاختياريان. يتم تطبيق القواعد عند تسجيل المستخدمين."
319
 
320
+ #: /var/www/wp-content/plugins/cimy-user-extra-fields/cimy_uef_admin.php:556
321
  msgid "With <strong>radio</strong> and <strong>checkbox</strong>: <em>Value</em> and <em>equal TO</em> can only be 'Yes' or 'No' that means 'selected' or 'not selected'"
322
  msgstr "بخصوص <strong>دوائر الاختيار</strong> و<strong>مربعات التأشير</st