Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1 | Rev 6750 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 4398
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
namespace LeadersLinked\Form\Auth;
5
namespace LeadersLinked\Form\Auth;
6
 
6
 
-
 
7
use Laminas\Form\Form;
Línea 7... Línea 8...
7
use Laminas\Form\Form;
8
use LeadersLinked\Model\UserType;
8
use LeadersLinked\Model\UserType;
9
use LeadersLinked\Model\User;
9
 
10
 
10
class SignupForm extends Form
11
class SignupForm extends Form
Línea 71... Línea 72...
71
                'unchecked_value' => 0,
72
                'unchecked_value' => 0,
72
                'checked_value' => 1,
73
                'checked_value' => 1,
73
            ]
74
            ]
74
        ]);
75
        ]);
Línea -... Línea 76...
-
 
76
        
-
 
77
        
-
 
78
        $this->add([
-
 
79
            'name' => 'terms_and_conditions',
-
 
80
            'type' => \Laminas\Form\Element\Checkbox::class,
-
 
81
            'attributes' => [
-
 
82
                'id' => 'terms_and_conditions',
-
 
83
            ],
-
 
84
            'options' => [
-
 
85
                'use_hidden_element' => false,
-
 
86
                'unchecked_value' => 0,
-
 
87
                'checked_value' => 1,
-
 
88
            ]
-
 
89
        ]);
-
 
90
        
-
 
91
        $this->add([
-
 
92
            'name' => 'is_adult',
-
 
93
            'type' => \Laminas\Form\Element\Checkbox::class,
-
 
94
            'attributes' => [
-
 
95
                'id' => 'is_adult',
-
 
96
            ],
-
 
97
            'options' => [
-
 
98
                'use_hidden_element' => false,
-
 
99
                'unchecked_value' => User::IS_ADULT_NO,
-
 
100
                'checked_value' => User::IS_ADULT_YES,
-
 
101
            ]
-
 
102
        ]);
75
        
103
        
76
        if($config['leaderslinked.runmode.sandbox']) {
104
        if($config['leaderslinked.runmode.sandbox']) {
77
            $site_key      = $config['leaderslinked.google_captcha.sandbox_site_key'];
105
            $site_key      = $config['leaderslinked.google_captcha.sandbox_site_key'];
78
            $secret_key    = $config['leaderslinked.google_captcha.sandbox_secret_key'];
106
            $secret_key    = $config['leaderslinked.google_captcha.sandbox_secret_key'];
79
        } else {
107
        } else {