@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Form\Hydrator; |
12 | 12 | |
@@ -39,12 +39,12 @@ discard block |
||
39 | 39 | $viewLink = $controllerPluginManager->get('url')->fromRoute( |
40 | 40 | 'lang/jobs/view', |
41 | 41 | array( |
42 | - ), |
|
42 | + ), |
|
43 | 43 | array( |
44 | - 'query' => array( |
|
45 | - 'id' => $data['id'], |
|
46 | - ) |
|
47 | - ) |
|
44 | + 'query' => array( |
|
45 | + 'id' => $data['id'], |
|
46 | + ) |
|
47 | + ) |
|
48 | 48 | ); |
49 | 49 | |
50 | 50 | $data['previewLink'] = $viewLink; |
@@ -47,7 +47,7 @@ |
||
47 | 47 | ) |
48 | 48 | ); |
49 | 49 | |
50 | - $data['previewLink'] = $viewLink; |
|
50 | + $data['previewLink'] = $viewLink; |
|
51 | 51 | return $data; |
52 | 52 | } |
53 | 53 |
@@ -86,12 +86,12 @@ |
||
86 | 86 | // 'allow_empty' => True |
87 | 87 | // ), |
88 | 88 | |
89 | - 'logoRef' => array( |
|
89 | + 'logoRef' => array( |
|
90 | 90 | 'filters' => array( |
91 | 91 | array('name' => 'Zend\Filter\StringTrim'), |
92 | 92 | ), |
93 | 93 | 'allow_empty' => true |
94 | - ), |
|
94 | + ), |
|
95 | 95 | |
96 | 96 | |
97 | 97 | ); |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Job.php */ |
11 | 11 | namespace Jobs\Form\InputFilter; |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | { |
18 | 18 | parent::init(); |
19 | 19 | $input = $this->get('applyId') |
20 | - ->getValidatorChain() |
|
21 | - ->attachByName('Jobs/Form/UniqueApplyId'); |
|
20 | + ->getValidatorChain() |
|
21 | + ->attachByName('Jobs/Form/UniqueApplyId'); |
|
22 | 22 | |
23 | 23 | } |
24 | 24 | } |
@@ -99,7 +99,7 @@ |
||
99 | 99 | |
100 | 100 | public function renderPost(Renderer $renderer) |
101 | 101 | { |
102 | - $coreformsjs = $renderer->basepath('/Core/js/core.forms.js'); |
|
102 | + $coreformsjs = $renderer->basepath('/Core/js/core.forms.js'); |
|
103 | 103 | $javaScript = <<<JS |
104 | 104 | $(document).ready(function() { |
105 | 105 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Form; |
12 | 12 | |
@@ -60,9 +60,9 @@ discard block |
||
60 | 60 | protected function addButtonsFieldset() |
61 | 61 | { |
62 | 62 | $this->add( |
63 | - array( |
|
64 | - 'type' => 'Jobs/MultipostButtonFieldset' |
|
65 | - ) |
|
63 | + array( |
|
64 | + 'type' => 'Jobs/MultipostButtonFieldset' |
|
65 | + ) |
|
66 | 66 | ); |
67 | 67 | } |
68 | 68 | } |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Jobs\Form; |
@@ -24,20 +24,20 @@ discard block |
||
24 | 24 | public function init() |
25 | 25 | { |
26 | 26 | $this->add( |
27 | - array( |
|
28 | - //'type' => 'Button', |
|
29 | - 'type' => 'Core/Spinner-Submit', |
|
30 | - 'name' => 'calculate', |
|
31 | - 'options' => array( |
|
32 | - 'label' => /*@translate*/ 'Calculate price', |
|
33 | - ), |
|
34 | - 'attributes' => array( |
|
35 | - 'id' => 'calculate', |
|
36 | - 'type' => 'button', |
|
37 | - 'value' => 'calculate', |
|
38 | - 'class' => 'mps-calculate btn btn-success btn-xs' |
|
39 | - ), |
|
40 | - ) |
|
27 | + array( |
|
28 | + //'type' => 'Button', |
|
29 | + 'type' => 'Core/Spinner-Submit', |
|
30 | + 'name' => 'calculate', |
|
31 | + 'options' => array( |
|
32 | + 'label' => /*@translate*/ 'Calculate price', |
|
33 | + ), |
|
34 | + 'attributes' => array( |
|
35 | + 'id' => 'calculate', |
|
36 | + 'type' => 'button', |
|
37 | + 'value' => 'calculate', |
|
38 | + 'class' => 'mps-calculate btn btn-success btn-xs' |
|
39 | + ), |
|
40 | + ) |
|
41 | 41 | ); |
42 | 42 | |
43 | 43 | parent::init(); |
@@ -43,13 +43,13 @@ |
||
43 | 43 | |
44 | 44 | $this->add( |
45 | 45 | array( |
46 | - 'type' => 'Jobs\MultipostingSelect', |
|
47 | - 'property' => true, |
|
48 | - 'name' => 'portals', |
|
49 | - 'options' => array( |
|
50 | - 'label' => /*@translate*/ 'Portals', |
|
51 | - ), |
|
52 | - ) |
|
46 | + 'type' => 'Jobs\MultipostingSelect', |
|
47 | + 'property' => true, |
|
48 | + 'name' => 'portals', |
|
49 | + 'options' => array( |
|
50 | + 'label' => /*@translate*/ 'Portals', |
|
51 | + ), |
|
52 | + ) |
|
53 | 53 | ); |
54 | 54 | } |
55 | 55 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Jobs\Listener; |
@@ -136,13 +136,13 @@ discard block |
||
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']); |
@@ -23,35 +23,35 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Job has been published |
25 | 25 | */ |
26 | - const RESPONSE_OK = 'ok'; |
|
26 | + const RESPONSE_OK = 'ok'; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * Job has been published and has stopped all other publishing |
30 | 30 | */ |
31 | - const RESPONSE_OKANDSTOP = 'ok and publishing terminated afterwards'; |
|
31 | + const RESPONSE_OKANDSTOP = 'ok and publishing terminated afterwards'; |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * publishing has been stopped |
35 | 35 | */ |
36 | - const RESPONSE_STOP = 'publishing terminated'; |
|
36 | + const RESPONSE_STOP = 'publishing terminated'; |
|
37 | 37 | |
38 | 38 | /** |
39 | 39 | * publishing has been denied, |
40 | 40 | * this is very likely when a job was not intended to be sended to a portal |
41 | 41 | */ |
42 | - const RESPONSE_DENIED = 'denied'; |
|
42 | + const RESPONSE_DENIED = 'denied'; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * a connection to the portal could not be established |
46 | 46 | * or the publishing of the Job has been rejected for other reasons |
47 | 47 | */ |
48 | - const RESPONSE_FAIL = 'fail'; |
|
48 | + const RESPONSE_FAIL = 'fail'; |
|
49 | 49 | |
50 | 50 | /** |
51 | 51 | * This error has nothing to do with wrong inputs, |
52 | 52 | * something just has happend in the programm |
53 | 53 | */ |
54 | - const RESPONSE_ERROR = 'internal Error'; |
|
54 | + const RESPONSE_ERROR = 'internal Error'; |
|
55 | 55 | |
56 | 56 | /** |
57 | 57 | * nothing happens, but that's not a failure |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * nothing happens, and get used to it |
64 | 64 | */ |
65 | - const RESPONSE_DEPRECATED = 'deprecated'; |
|
65 | + const RESPONSE_DEPRECATED = 'deprecated'; |
|
66 | 66 | |
67 | 67 | /** |
68 | 68 | * @var string |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |