updated user profile

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy 2013-03-29 18:37:15 +01:00
parent bef27e8258
commit f43260082d
2 changed files with 53 additions and 27 deletions

View File

@ -2068,11 +2068,11 @@ function materio_user_profiles_field_default_fields() {
),
'entity_type' => 'user',
'field_name' => 'field_newsletter',
'label' => 'newsletter',
'label' => 'Please send me the newsletter.',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'user_register_form' => 0,
'user_register_form' => 1,
),
'widget' => array(
'active' => 1,
@ -2098,13 +2098,13 @@ function materio_user_profiles_field_default_fields() {
t('Name');
t('Organization');
t('Phone');
t('Please send me the newsletter.');
t('Quality');
t('Qualité');
t('SIRET');
t('Title');
t('Titre');
t('Website');
t('newsletter');
t('service');
return $fields;

View File

@ -36,7 +36,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -48,7 +49,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -60,7 +62,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -85,7 +88,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -109,7 +113,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -121,7 +126,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -133,8 +139,10 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'Utilisateur',
4 => 'root',
3 => 'Student',
4 => 'Unverified',
5 => 'Utilisateur',
6 => 'root',
),
'module' => 'field_permissions',
);
@ -170,7 +178,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -321,6 +330,7 @@ function materio_user_profiles_user_default_permissions() {
'roles' => array(
0 => 'Adhérent',
1 => 'Premium',
2 => 'Student',
),
'module' => 'profile2',
);
@ -341,7 +351,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -365,7 +376,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -390,7 +402,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -426,7 +439,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -438,8 +452,10 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'Utilisateur',
4 => 'root',
3 => 'Student',
4 => 'Unverified',
5 => 'Utilisateur',
6 => 'root',
),
'module' => 'field_permissions',
);
@ -475,7 +491,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -627,6 +644,7 @@ function materio_user_profiles_user_default_permissions() {
'roles' => array(
0 => 'Adhérent',
1 => 'Premium',
2 => 'Student',
),
'module' => 'profile2',
);
@ -647,7 +665,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -671,7 +690,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -696,7 +716,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -720,7 +741,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -732,7 +754,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);
@ -744,8 +767,10 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'Utilisateur',
4 => 'root',
3 => 'Student',
4 => 'Unverified',
5 => 'Utilisateur',
6 => 'root',
),
'module' => 'field_permissions',
);
@ -781,7 +806,8 @@ function materio_user_profiles_user_default_permissions() {
0 => 'Adhérent',
1 => 'Contact opérationnel',
2 => 'Premium',
3 => 'root',
3 => 'Student',
4 => 'root',
),
'module' => 'field_permissions',
);