@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Applications controllers */ |
11 | 11 | namespace Applications\Controller; |
@@ -321,8 +321,8 @@ discard block |
||
321 | 321 | { |
322 | 322 | $job = $application->getJob(); |
323 | 323 | $recruiter = $this->getServiceLocator() |
324 | - ->get('repositories') |
|
325 | - ->get('Auth/User')->findOneByEmail($job->contactEmail); |
|
324 | + ->get('repositories') |
|
325 | + ->get('Auth/User')->findOneByEmail($job->contactEmail); |
|
326 | 326 | |
327 | 327 | if (!$recruiter) { |
328 | 328 | $recruiter = $job->user; |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Applications controller */ |
11 | 11 | namespace Applications\Controller; |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | $ackMail = $this->mailer( |
220 | 220 | 'Applications/Confirmation', |
221 | 221 | array('application' => $applicationEntity, |
222 | - 'body' => $ackBody, |
|
222 | + 'body' => $ackBody, |
|
223 | 223 | ) |
224 | 224 | ); |
225 | 225 | // Must be called after initializers in creation |
@@ -236,14 +236,14 @@ discard block |
||
236 | 236 | if (isset($paramsCC) && array_key_exists('carboncopy', $paramsCC)) { |
237 | 237 | $wantCarbonCopy = (int) $paramsCC['carboncopy']; |
238 | 238 | if ($wantCarbonCopy) { |
239 | - $mail = $this->mailer( |
|
240 | - 'Applications/CarbonCopy', |
|
241 | - array( |
|
239 | + $mail = $this->mailer( |
|
240 | + 'Applications/CarbonCopy', |
|
241 | + array( |
|
242 | 242 | 'application' => $applicationEntity, |
243 | 243 | 'to' => $applicationEntity->contact->email, |
244 | - ), /*send*/ |
|
245 | - true |
|
246 | - ); |
|
244 | + ), /*send*/ |
|
245 | + true |
|
246 | + ); |
|
247 | 247 | } |
248 | 248 | } |
249 | 249 | } |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | $params->set('by', 'me'); |
282 | 282 | } |
283 | 283 | |
284 | - //default sorting |
|
284 | + //default sorting |
|
285 | 285 | if (!isset($params['sort'])) { |
286 | 286 | $params['sort']="-date"; |
287 | 287 | } |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | $services = $this->getServiceLocator(); |
306 | 306 | $config = $services->get('Config'); |
307 | 307 | $applicationId = $this->getRequest() |
308 | - ->getQuery('id'); |
|
308 | + ->getQuery('id'); |
|
309 | 309 | $status = $this->params('status'); |
310 | 310 | $repositories = $services->get('repositories'); |
311 | 311 | $entityApplication = $repositories->get('Applications/Application')->find($applicationId); |
@@ -336,7 +336,7 @@ discard block |
||
336 | 336 | |
337 | 337 | $mail = $this->mailer('Applications/CarbonCopy', $mailData, true); |
338 | 338 | $this->notification() |
339 | - ->success(/*@translate*/ 'Mail has been send'); |
|
339 | + ->success(/*@translate*/ 'Mail has been send'); |
|
340 | 340 | if ($status == 'company') { |
341 | 341 | $repositories->remove($entityApplication); |
342 | 342 | $this->notification()->info(/*@translate*/ 'Application data has been deleted'); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace JobsTest\Form; |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Applications\Factory\Form; |
@@ -73,14 +73,14 @@ discard block |
||
73 | 73 | $count = $options->getAttachmentsCount(); |
74 | 74 | |
75 | 75 | $form->setIsDisableCapable(false) |
76 | - ->setIsDisableElementsCapable(false) |
|
77 | - ->setIsDescriptionsEnabled(true) |
|
78 | - ->setDescription( |
|
76 | + ->setIsDisableElementsCapable(false) |
|
77 | + ->setIsDescriptionsEnabled(true) |
|
78 | + ->setDescription( |
|
79 | 79 | /*@translate*/ 'Attach images or PDF Documents to your application. Drag&drop them, or click into the attachement area. You can upload up to %sMB', |
80 | - [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024),1)] |
|
81 | - ) |
|
82 | - ->setParam('return', 'file-uri') |
|
83 | - ->setLabel(/*@translate*/ 'Attachments'); |
|
80 | + [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024),1)] |
|
81 | + ) |
|
82 | + ->setParam('return', 'file-uri') |
|
83 | + ->setLabel(/*@translate*/ 'Attachments'); |
|
84 | 84 | |
85 | 85 | /** @var $file FileUpload*/ |
86 | 86 | $file = $form->get($this->fileName); |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Applications\Form; |
@@ -25,8 +25,8 @@ discard block |
||
25 | 25 | public function init() |
26 | 26 | { |
27 | 27 | $this->setIsDisableCapable(false) |
28 | - ->setIsDisableElementsCapable(false) |
|
29 | - ->setAttribute('data-submit-on', 'checkbox'); |
|
28 | + ->setIsDisableElementsCapable(false) |
|
29 | + ->setAttribute('data-submit-on', 'checkbox'); |
|
30 | 30 | |
31 | 31 | $this->add( |
32 | 32 | array( |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | 'route' => 'lang/content', |
55 | 55 | 'params' => array( |
56 | 56 | 'view' => 'applications-privacy-policy' |
57 | - ) |
|
57 | + ) |
|
58 | 58 | ), |
59 | 59 | 'attributes' => array( |
60 | 60 | 'data-validate' => 'acceptedPrivacyPolicy', |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** AttachmentsFieldset.php */ |
11 | 11 | namespace Applications\Form; |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | public function init() |
21 | 21 | { |
22 | 22 | $this->setName('carboncopy') |
23 | - ->setLabel('Options'); |
|
23 | + ->setLabel('Options'); |
|
24 | 24 | |
25 | 25 | $this->add( |
26 | 26 | array( |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Applications\Form; |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | public function init() |
26 | 26 | { |
27 | 27 | $this->setIsDisableCapable(false) |
28 | - ->setIsDisableElementsCapable(false); |
|
28 | + ->setIsDisableElementsCapable(false); |
|
29 | 29 | |
30 | 30 | $this->setForms( |
31 | 31 | array( |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Applications\Form; |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | public function init() |
35 | 35 | { |
36 | 36 | $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator()) |
37 | - ->setName('base'); |
|
37 | + ->setName('base'); |
|
38 | 38 | |
39 | 39 | $this->add( |
40 | 40 | array( |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Applications\Form; |
11 | 11 | |
@@ -40,14 +40,14 @@ discard block |
||
40 | 40 | public function init() |
41 | 41 | { |
42 | 42 | $this->setName('emails') |
43 | - ->setLabel(/* @translate */ 'E-Mail Notifications'); |
|
44 | - //->setHydrator(new \Core\Model\Hydrator\ModelHydrator()); |
|
43 | + ->setLabel(/* @translate */ 'E-Mail Notifications'); |
|
44 | + //->setHydrator(new \Core\Model\Hydrator\ModelHydrator()); |
|
45 | 45 | |
46 | 46 | $this->add( |
47 | 47 | array('type' => 'Zend\Form\Element\Checkbox', |
48 | 48 | 'name' => 'mailAccess', |
49 | 49 | 'options' => array('label' => /* @translate */ 'receive E-Mail alert', |
50 | - 'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'), |
|
50 | + 'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'), |
|
51 | 51 | ) |
52 | 52 | ); |
53 | 53 | $this->add( |
@@ -61,13 +61,13 @@ discard block |
||
61 | 61 | array('type' => 'Zend\Form\Element\Checkbox', |
62 | 62 | 'name' => 'autoConfirmMail', |
63 | 63 | 'options' => array('label' => /* @translate */ 'confirm application immidiatly after submit', |
64 | - 'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'), |
|
64 | + 'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'), |
|
65 | 65 | ) |
66 | 66 | ); |
67 | 67 | $this->add( |
68 | 68 | array('type' => 'Zend\Form\Element\Textarea', |
69 | 69 | 'name' => 'mailConfirmationText', |
70 | - 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
|
70 | + 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
|
71 | 71 | 'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li></ul>' )) |
72 | 72 | ); |
73 | 73 | |
@@ -83,15 +83,15 @@ discard block |
||
83 | 83 | array('type' => 'Zend\Form\Element\Textarea', |
84 | 84 | 'name' => 'mailRejectionText', |
85 | 85 | 'options' => array('label' => /* @translate */ 'Rejection mail text', |
86 | - 'description' => /* @translate */ 'default text of the refusal of an application to the applicant. You can use all variables of the acknowledgment of receipt mail.')) |
|
86 | + 'description' => /* @translate */ 'default text of the refusal of an application to the applicant. You can use all variables of the acknowledgment of receipt mail.')) |
|
87 | 87 | ); |
88 | 88 | |
89 | 89 | $this->add( |
90 | 90 | array('type' => 'Zend\Form\Element\Checkbox', |
91 | 91 | 'name' => 'mailBCC', |
92 | 92 | 'options' => array('label' => /* @translate */ 'get blind carbon copy of all own mails', |
93 | - 'long_label' => /* @translate */ 'if checked, you\'ll get a copy of all mails you send.', |
|
94 | - 'value_options' => array(0,1, true, false))) |
|
93 | + 'long_label' => /* @translate */ 'if checked, you\'ll get a copy of all mails you send.', |
|
94 | + 'value_options' => array(0,1, true, false))) |
|
95 | 95 | ); |
96 | 96 | |
97 | 97 | $this->add( |