| @@ 871-882 (lines=12) @@ | ||
| 868 | 'QSG_deleted' => 0, |
|
| 869 | ); |
|
| 870 | break; |
|
| 871 | case 2: |
|
| 872 | $QSG_values = array( |
|
| 873 | 'QSG_name' => __('Address Information', 'event_espresso'), |
|
| 874 | 'QSG_identifier' => 'address-information-' . time(), |
|
| 875 | 'QSG_desc' => '', |
|
| 876 | 'QSG_order' => 2, |
|
| 877 | 'QSG_show_group_name' => 1, |
|
| 878 | 'QSG_show_group_desc' => 1, |
|
| 879 | 'QSG_system' => EEM_Question_Group::system_address, |
|
| 880 | 'QSG_deleted' => 0, |
|
| 881 | ); |
|
| 882 | break; |
|
| 883 | } |
|
| 884 | // make sure we have some values before inserting them |
|
| 885 | if (! empty($QSG_values)) { |
|
| @@ 859-870 (lines=12) @@ | ||
| 856 | if (! in_array("$QSG_system", $question_groups)) { |
|
| 857 | // add it |
|
| 858 | switch ($QSG_system) { |
|
| 859 | case 1: |
|
| 860 | $QSG_values = array( |
|
| 861 | 'QSG_name' => __('Personal Information', 'event_espresso'), |
|
| 862 | 'QSG_identifier' => 'personal-information-' . time(), |
|
| 863 | 'QSG_desc' => '', |
|
| 864 | 'QSG_order' => 1, |
|
| 865 | 'QSG_show_group_name' => 1, |
|
| 866 | 'QSG_show_group_desc' => 1, |
|
| 867 | 'QSG_system' => EEM_Question_Group::system_personal, |
|
| 868 | 'QSG_deleted' => 0, |
|
| 869 | ); |
|
| 870 | break; |
|
| 871 | case 2: |
|
| 872 | $QSG_values = array( |
|
| 873 | 'QSG_name' => __('Address Information', 'event_espresso'), |
|