@@ -81,12 +81,12 @@ discard block |
||
81 | 81 | $url = $router->assemble( |
82 | 82 | array('action' => 'accept'), |
83 | 83 | array( |
84 | - 'name' => 'lang/organizations/invite', |
|
85 | - 'query' => array( |
|
86 | - 'token' => $this->options['token'], |
|
87 | - 'organization' => $org->getId() |
|
88 | - ) |
|
89 | - ) |
|
84 | + 'name' => 'lang/organizations/invite', |
|
85 | + 'query' => array( |
|
86 | + 'token' => $this->options['token'], |
|
87 | + 'organization' => $org->getId() |
|
88 | + ) |
|
89 | + ) |
|
90 | 90 | ); |
91 | 91 | |
92 | 92 | $variables = array( |
@@ -107,14 +107,14 @@ discard block |
||
107 | 107 | |
108 | 108 | $mail = $serviceLocator->get('htmltemplate'); |
109 | 109 | $mail->setTemplate($this->options['template']) |
110 | - ->setVariables($variables) |
|
111 | - ->setSubject( |
|
112 | - sprintf( |
|
113 | - /* @translate */ 'Invitation to join the team of %s', |
|
114 | - $orgName |
|
115 | - ) |
|
116 | - ) |
|
117 | - ->addTo($user->getEmail()); |
|
110 | + ->setVariables($variables) |
|
111 | + ->setSubject( |
|
112 | + sprintf( |
|
113 | + /* @translate */ 'Invitation to join the team of %s', |
|
114 | + $orgName |
|
115 | + ) |
|
116 | + ) |
|
117 | + ->addTo($user->getEmail()); |
|
118 | 118 | |
119 | 119 | return $mail; |
120 | 120 | } |
@@ -40,8 +40,8 @@ |
||
40 | 40 | |
41 | 41 | $plugin = new AcceptInvitationHandler(); |
42 | 42 | $plugin->setUserRepository($userRepository) |
43 | - ->setOrganizationRepository($organizationRepository) |
|
44 | - ->setAuthenticationService($authenticationService); |
|
43 | + ->setOrganizationRepository($organizationRepository) |
|
44 | + ->setAuthenticationService($authenticationService); |
|
45 | 45 | |
46 | 46 | return $plugin; |
47 | 47 | } |
@@ -62,6 +62,6 @@ |
||
62 | 62 | ) |
63 | 63 | ) |
64 | 64 | ) |
65 | - ); |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | } |
@@ -23,8 +23,8 @@ |
||
23 | 23 | { |
24 | 24 | |
25 | 25 | /** (non-PHPdoc) |
26 | - * @see \Zend\ServiceManager\FactoryInterface::createService() |
|
27 | - */ |
|
26 | + * @see \Zend\ServiceManager\FactoryInterface::createService() |
|
27 | + */ |
|
28 | 28 | public function createService(ServiceLocatorInterface $serviceLocator) |
29 | 29 | { |
30 | 30 |
@@ -136,13 +136,13 @@ |
||
136 | 136 | { |
137 | 137 | $mail = $this->mailer->get('htmltemplate'); |
138 | 138 | $mail->setTemplate($template) |
139 | - ->setSubject($subject) |
|
140 | - ->setVariables( |
|
141 | - array( |
|
139 | + ->setSubject($subject) |
|
140 | + ->setVariables( |
|
141 | + array( |
|
142 | 142 | 'job' => $job, |
143 | 143 | 'siteName' => $this->options['siteName'], |
144 | 144 | ) |
145 | - ); |
|
145 | + ); |
|
146 | 146 | |
147 | 147 | if ($adminMail) { |
148 | 148 | $mail->setTo($this->options['adminEmail']); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | $helper = new FormEditorLight(); |
45 | 45 | if(isset($config['view_helper_config']['form_editor']['light']) && is_array($config['view_helper_config']['form_editor']['light'])){ |
46 | - $helper->setOptions($config['view_helper_config']['form_editor']['light']); |
|
46 | + $helper->setOptions($config['view_helper_config']['form_editor']['light']); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | $helper->setOption('theme' , 'modern'); |
@@ -36,11 +36,11 @@ |
||
36 | 36 | } |
37 | 37 | $entity = new Location(); |
38 | 38 | $entity->setCity($data['city']) |
39 | - ->setRegion($data['region']) |
|
40 | - ->setPostalcode($data['postalcode']) |
|
41 | - ->setCountry($data['country']); |
|
39 | + ->setRegion($data['region']) |
|
40 | + ->setPostalcode($data['postalcode']) |
|
41 | + ->setCountry($data['country']); |
|
42 | 42 | if (!empty($data['coordinates'])) { |
43 | - $entity->setCoordinates(new Point($data['coordinates'])); |
|
43 | + $entity->setCoordinates(new Point($data['coordinates'])); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | return $entity; |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | public function filter($value) |
67 | 67 | { |
68 | - $htmlPurifier = $this->getHtmlPurifier(); |
|
69 | - return $htmlPurifier->filter($value); |
|
68 | + $htmlPurifier = $this->getHtmlPurifier(); |
|
69 | + return $htmlPurifier->filter($value); |
|
70 | 70 | } |
71 | 71 | } |
72 | 72 | \ No newline at end of file |
@@ -144,12 +144,12 @@ discard block |
||
144 | 144 | $id = str_replace(array('[', ']'), array('-', ''), $name); |
145 | 145 | $this->setAttribute('id', $id); |
146 | 146 | $this->nameElement->setName($name . '[name]') |
147 | - ->setAttribute('id', $id . '-name') |
|
148 | - ->setAttribute('class', 'form-control geolocation'); |
|
147 | + ->setAttribute('id', $id . '-name') |
|
148 | + ->setAttribute('class', 'form-control geolocation'); |
|
149 | 149 | $this->dataElement->setName($name . '[data]') |
150 | - ->setAttribute('id', $id . '-data'); |
|
150 | + ->setAttribute('id', $id . '-data'); |
|
151 | 151 | $this->typeElement->setName($name . '[type]') |
152 | - ->setAttribute('id', $id . '-type'); |
|
152 | + ->setAttribute('id', $id . '-type'); |
|
153 | 153 | } |
154 | 154 | |
155 | 155 | /** |
@@ -215,8 +215,8 @@ discard block |
||
215 | 215 | $lon = $lat = 0; |
216 | 216 | |
217 | 217 | foreach($lonLat as $k=>$v) { |
218 | - list($lon,$lat) = explode(',', $v, 2); |
|
219 | - $latLon[]=$lat.','.$lon; |
|
218 | + list($lon,$lat) = explode(',', $v, 2); |
|
219 | + $latLon[]=$lat.','.$lon; |
|
220 | 220 | } |
221 | 221 | |
222 | 222 | $value['data'] = [ |