@@ -37,8 +37,8 @@ |
||
| 37 | 37 | $headscript->appendFile($basepath('Settings/js/forms.decfs.js')); |
| 38 | 38 | |
| 39 | 39 | return '<ul class="disable-elements-list" id="' . $element->getAttribute('id') . '-list"' . '>' |
| 40 | - . $this->renderCheckboxes($element->getCheckboxes()) |
|
| 41 | - . '</ul>'; |
|
| 40 | + . $this->renderCheckboxes($element->getCheckboxes()) |
|
| 41 | + . '</ul>'; |
|
| 42 | 42 | |
| 43 | 43 | } |
| 44 | 44 | |
@@ -27,70 +27,70 @@ discard block |
||
| 27 | 27 | $this->setName('invoiceAddress'); |
| 28 | 28 | |
| 29 | 29 | $this->add([ |
| 30 | - 'type' => 'text', |
|
| 31 | - 'name' => 'company', |
|
| 32 | - 'options' => [ |
|
| 33 | - 'label' => /*@translate*/ 'Company', |
|
| 34 | - 'description' => /*@translate*/ 'Please enter the name of the company, which should appear on the invoice address', |
|
| 35 | - ], |
|
| 36 | - 'attributes' => [ |
|
| 37 | - 'required' => true, // marks the label as required. |
|
| 38 | - ] |
|
| 39 | - ] |
|
| 30 | + 'type' => 'text', |
|
| 31 | + 'name' => 'company', |
|
| 32 | + 'options' => [ |
|
| 33 | + 'label' => /*@translate*/ 'Company', |
|
| 34 | + 'description' => /*@translate*/ 'Please enter the name of the company, which should appear on the invoice address', |
|
| 35 | + ], |
|
| 36 | + 'attributes' => [ |
|
| 37 | + 'required' => true, // marks the label as required. |
|
| 38 | + ] |
|
| 39 | + ] |
|
| 40 | 40 | ); |
| 41 | 41 | |
| 42 | 42 | $this->add([ |
| 43 | - 'type' => 'text', |
|
| 44 | - 'name' => 'street', |
|
| 45 | - 'options' => [ |
|
| 46 | - 'label' => /*@translate*/ 'Street', |
|
| 47 | - ], |
|
| 48 | - ] |
|
| 43 | + 'type' => 'text', |
|
| 44 | + 'name' => 'street', |
|
| 45 | + 'options' => [ |
|
| 46 | + 'label' => /*@translate*/ 'Street', |
|
| 47 | + ], |
|
| 48 | + ] |
|
| 49 | 49 | ); |
| 50 | 50 | |
| 51 | 51 | $this->add([ |
| 52 | - 'type' => 'text', |
|
| 53 | - 'name' => 'zipCode', |
|
| 54 | - 'options' => [ |
|
| 55 | - 'label' => /* @translate */ 'Postalcode' |
|
| 56 | - ], |
|
| 57 | - ] |
|
| 52 | + 'type' => 'text', |
|
| 53 | + 'name' => 'zipCode', |
|
| 54 | + 'options' => [ |
|
| 55 | + 'label' => /* @translate */ 'Postalcode' |
|
| 56 | + ], |
|
| 57 | + ] |
|
| 58 | 58 | ); |
| 59 | 59 | |
| 60 | 60 | $this->add([ |
| 61 | - 'type' => 'text', |
|
| 62 | - 'name' => 'city', |
|
| 63 | - 'options' => [ |
|
| 64 | - 'label' => /*@translate*/ 'City', |
|
| 65 | - ], |
|
| 66 | - ] |
|
| 61 | + 'type' => 'text', |
|
| 62 | + 'name' => 'city', |
|
| 63 | + 'options' => [ |
|
| 64 | + 'label' => /*@translate*/ 'City', |
|
| 65 | + ], |
|
| 66 | + ] |
|
| 67 | 67 | ); |
| 68 | 68 | |
| 69 | 69 | $this->add([ |
| 70 | - 'type' => 'text', |
|
| 71 | - 'name' => 'region', |
|
| 72 | - 'options' => [ |
|
| 73 | - 'label' => /*@translate*/ 'Region', |
|
| 74 | - ], |
|
| 75 | - ] |
|
| 70 | + 'type' => 'text', |
|
| 71 | + 'name' => 'region', |
|
| 72 | + 'options' => [ |
|
| 73 | + 'label' => /*@translate*/ 'Region', |
|
| 74 | + ], |
|
| 75 | + ] |
|
| 76 | 76 | ); |
| 77 | 77 | |
| 78 | 78 | $this->add([ |
| 79 | - 'type' => 'text', |
|
| 80 | - 'name' => 'country', |
|
| 81 | - 'options' => [ |
|
| 82 | - 'label' => /*@translate*/ 'Country', |
|
| 83 | - ], |
|
| 84 | - ] |
|
| 79 | + 'type' => 'text', |
|
| 80 | + 'name' => 'country', |
|
| 81 | + 'options' => [ |
|
| 82 | + 'label' => /*@translate*/ 'Country', |
|
| 83 | + ], |
|
| 84 | + ] |
|
| 85 | 85 | ); |
| 86 | 86 | |
| 87 | 87 | $this->add([ |
| 88 | - 'type' => 'text', |
|
| 89 | - 'name' => 'vatIdNumber', |
|
| 90 | - 'options' => [ |
|
| 91 | - 'label' => /*@translate*/ 'Value added tax ID', |
|
| 92 | - ], |
|
| 93 | - ] |
|
| 88 | + 'type' => 'text', |
|
| 89 | + 'name' => 'vatIdNumber', |
|
| 90 | + 'options' => [ |
|
| 91 | + 'label' => /*@translate*/ 'Value added tax ID', |
|
| 92 | + ], |
|
| 93 | + ] |
|
| 94 | 94 | ); |
| 95 | 95 | $this->add( |
| 96 | 96 | array( |
@@ -114,25 +114,25 @@ discard block |
||
| 114 | 114 | ); |
| 115 | 115 | |
| 116 | 116 | $this->add([ |
| 117 | - 'type' => 'text', |
|
| 118 | - 'name' => 'name', |
|
| 119 | - 'options' => [ |
|
| 120 | - 'label' => /*@translate*/ 'Contact Person', |
|
| 121 | - 'description' => /*@translate*/ 'Please enter the name of a contact person', |
|
| 122 | - ], |
|
| 123 | - ] |
|
| 117 | + 'type' => 'text', |
|
| 118 | + 'name' => 'name', |
|
| 119 | + 'options' => [ |
|
| 120 | + 'label' => /*@translate*/ 'Contact Person', |
|
| 121 | + 'description' => /*@translate*/ 'Please enter the name of a contact person', |
|
| 122 | + ], |
|
| 123 | + ] |
|
| 124 | 124 | ); |
| 125 | 125 | |
| 126 | 126 | $this->add([ |
| 127 | - 'type' => 'text', |
|
| 128 | - 'name' => 'email', |
|
| 129 | - 'options' => [ |
|
| 130 | - 'label' => /*@translate*/ 'Email Address', |
|
| 131 | - ], |
|
| 132 | - 'attributes' => [ |
|
| 133 | - 'required' => true, // marks the label as required. |
|
| 134 | - ] |
|
| 135 | - ] |
|
| 127 | + 'type' => 'text', |
|
| 128 | + 'name' => 'email', |
|
| 129 | + 'options' => [ |
|
| 130 | + 'label' => /*@translate*/ 'Email Address', |
|
| 131 | + ], |
|
| 132 | + 'attributes' => [ |
|
| 133 | + 'required' => true, // marks the label as required. |
|
| 134 | + ] |
|
| 135 | + ] |
|
| 136 | 136 | ); |
| 137 | 137 | } |
| 138 | 138 | |
@@ -211,14 +211,14 @@ |
||
| 211 | 211 | { |
| 212 | 212 | return $this->repository; |
| 213 | 213 | } |
| 214 | - /** |
|
| 215 | - * @param SocialProfilePlugin |
|
| 216 | - * @return HybridAuth |
|
| 217 | - */ |
|
| 218 | - public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
| 219 | - { |
|
| 220 | - $this->socialProfilePlugin = $socialProfilePlugin; |
|
| 214 | + /** |
|
| 215 | + * @param SocialProfilePlugin |
|
| 216 | + * @return HybridAuth |
|
| 217 | + */ |
|
| 218 | + public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
| 219 | + { |
|
| 220 | + $this->socialProfilePlugin = $socialProfilePlugin; |
|
| 221 | 221 | |
| 222 | - return $this; |
|
| 223 | - } |
|
| 222 | + return $this; |
|
| 223 | + } |
|
| 224 | 224 | } |
@@ -61,14 +61,14 @@ |
||
| 61 | 61 | return $this->useDefaultValidation ? \Zend\Form\Form::isValid() : parent::isValid(); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - /** |
|
| 65 | - * @param bool $bool |
|
| 66 | - * @return SocialProfiles |
|
| 67 | - */ |
|
| 68 | - public function setUseDefaultValidation($bool) |
|
| 69 | - { |
|
| 70 | - $this->useDefaultValidation = (bool)$bool; |
|
| 64 | + /** |
|
| 65 | + * @param bool $bool |
|
| 66 | + * @return SocialProfiles |
|
| 67 | + */ |
|
| 68 | + public function setUseDefaultValidation($bool) |
|
| 69 | + { |
|
| 70 | + $this->useDefaultValidation = (bool)$bool; |
|
| 71 | 71 | |
| 72 | - return $this; |
|
| 73 | - } |
|
| 72 | + return $this; |
|
| 73 | + } |
|
| 74 | 74 | } |
@@ -278,7 +278,7 @@ |
||
| 278 | 278 | /* @var \Core\Listener\DeferredListenerAggregate $aggregate */ |
| 279 | 279 | $aggregate = $services->get('Core/Listener/DeferredListenerAggregate'); |
| 280 | 280 | $aggregate->setListeners($lazyListeners) |
| 281 | - ->attach($eventManager); |
|
| 281 | + ->attach($eventManager); |
|
| 282 | 282 | } |
| 283 | 283 | } |
| 284 | 284 | |
@@ -64,13 +64,13 @@ discard block |
||
| 64 | 64 | 'view_manager' => array( |
| 65 | 65 | // Map template to files. Speeds up the lookup through the template stack. |
| 66 | 66 | 'template_map' => array( |
| 67 | - 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
| 68 | - 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
| 69 | - 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
| 70 | - 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
| 71 | - 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
| 72 | - 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
| 73 | - 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
| 67 | + 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
| 68 | + 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
| 69 | + 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
| 70 | + 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
| 71 | + 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
| 72 | + 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
| 73 | + 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
| 74 | 74 | 'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml', |
| 75 | 75 | ), |
| 76 | 76 | // Where to look for view templates not mapped above |
@@ -80,20 +80,20 @@ discard block |
||
| 80 | 80 | ), |
| 81 | 81 | 'form_elements' => array( |
| 82 | 82 | 'invokables' => array( |
| 83 | - 'Organizations/form' => 'Organizations\Form\Organizations', |
|
| 84 | - 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
| 85 | - 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
| 86 | - 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
| 87 | - 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
| 88 | - 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
| 89 | - 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
| 90 | - //'Organizations/OrganizationFieldset' => 'Organizations\Form\OrganizationFieldset', |
|
| 91 | - 'Organizations/EmployeesContainer' => 'Organizations\Form\EmployeesContainer', |
|
| 92 | - 'Organizations/Employees' => 'Organizations\Form\Employees', |
|
| 93 | - 'Organizations/InviteEmployeeBar' => 'Organizations\Form\Element\InviteEmployeeBar', |
|
| 94 | - 'Organizations/Employee' => 'Organizations\Form\Element\Employee', |
|
| 95 | - 'Organizations/WorkflowSettings' => 'Organizations\Form\WorkflowSettings', |
|
| 96 | - 'Organizations/WorkflowSettingsFieldset' => 'Organizations\Form\WorkflowSettingsFieldset', |
|
| 83 | + 'Organizations/form' => 'Organizations\Form\Organizations', |
|
| 84 | + 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
| 85 | + 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
| 86 | + 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
| 87 | + 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
| 88 | + 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
| 89 | + 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
| 90 | + //'Organizations/OrganizationFieldset' => 'Organizations\Form\OrganizationFieldset', |
|
| 91 | + 'Organizations/EmployeesContainer' => 'Organizations\Form\EmployeesContainer', |
|
| 92 | + 'Organizations/Employees' => 'Organizations\Form\Employees', |
|
| 93 | + 'Organizations/InviteEmployeeBar' => 'Organizations\Form\Element\InviteEmployeeBar', |
|
| 94 | + 'Organizations/Employee' => 'Organizations\Form\Element\Employee', |
|
| 95 | + 'Organizations/WorkflowSettings' => 'Organizations\Form\WorkflowSettings', |
|
| 96 | + 'Organizations/WorkflowSettingsFieldset' => 'Organizations\Form\WorkflowSettingsFieldset', |
|
| 97 | 97 | |
| 98 | 98 | ), |
| 99 | 99 | 'factories' => array( |
@@ -40,13 +40,13 @@ discard block |
||
| 40 | 40 | public function init() |
| 41 | 41 | { |
| 42 | 42 | $this->setName('emails') |
| 43 | - ->setLabel(/* @translate */ 'E-Mail Notifications'); |
|
| 43 | + ->setLabel(/* @translate */ 'E-Mail Notifications'); |
|
| 44 | 44 | |
| 45 | 45 | $this->add( |
| 46 | 46 | array('type' => 'Zend\Form\Element\Checkbox', |
| 47 | 47 | 'name' => 'mailAccess', |
| 48 | 48 | 'options' => array('label' => /* @translate */ 'receive E-Mail alert', |
| 49 | - 'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'), |
|
| 49 | + 'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'), |
|
| 50 | 50 | ) |
| 51 | 51 | ); |
| 52 | 52 | $this->add( |
@@ -60,13 +60,13 @@ discard block |
||
| 60 | 60 | array('type' => 'Zend\Form\Element\Checkbox', |
| 61 | 61 | 'name' => 'autoConfirmMail', |
| 62 | 62 | 'options' => array('label' => /* @translate */ 'confirm application immidiatly after submit', |
| 63 | - 'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'), |
|
| 63 | + 'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'), |
|
| 64 | 64 | ) |
| 65 | 65 | ); |
| 66 | 66 | $this->add( |
| 67 | 67 | array('type' => 'Zend\Form\Element\Textarea', |
| 68 | 68 | 'name' => 'mailConfirmationText', |
| 69 | - 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
|
| 69 | + 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
|
| 70 | 70 | '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>' )) |
| 71 | 71 | ); |
| 72 | 72 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $params->set('by', 'me'); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - //default sorting |
|
| 43 | + //default sorting |
|
| 44 | 44 | if (!isset($params['sort'])) { |
| 45 | 45 | $params['sort']="-date"; |
| 46 | 46 | } |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | $application->changeStatus( |
| 147 | 147 | $application->getStatus(), |
| 148 | 148 | sprintf(/*@translate*/ 'Application was read by %s', |
| 149 | - $this->auth()->getUser()->getInfo()->getDisplayName())); |
|
| 149 | + $this->auth()->getUser()->getInfo()->getDisplayName())); |
|
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | |
@@ -173,9 +173,9 @@ discard block |
||
| 173 | 173 | $viewModel->setVariables( |
| 174 | 174 | /*array( |
| 175 | 175 | 'application' => */$this->getServiceLocator() |
| 176 | - ->get('builders') |
|
| 177 | - ->get('JsonApplication') |
|
| 178 | - ->unbuild($application) |
|
| 176 | + ->get('builders') |
|
| 177 | + ->get('JsonApplication') |
|
| 178 | + ->unbuild($application) |
|
| 179 | 179 | ); |
| 180 | 180 | $viewModel->setVariable('isUnread', $applicationIsUnread); |
| 181 | 181 | $return = $viewModel; |
@@ -297,12 +297,12 @@ discard block |
||
| 297 | 297 | |
| 298 | 298 | /* @var ApplicationEvent $event */ |
| 299 | 299 | $event = $events->getEvent(ApplicationEvent::EVENT_APPLICATION_STATUS_CHANGE, |
| 300 | - $this, |
|
| 301 | - [ |
|
| 302 | - 'application' => $application, |
|
| 303 | - 'status' => $status, |
|
| 304 | - 'user' => $this->auth()->getUser(), |
|
| 305 | - ] |
|
| 300 | + $this, |
|
| 301 | + [ |
|
| 302 | + 'application' => $application, |
|
| 303 | + 'status' => $status, |
|
| 304 | + 'user' => $this->auth()->getUser(), |
|
| 305 | + ] |
|
| 306 | 306 | ); |
| 307 | 307 | |
| 308 | 308 | $event->setIsPostRequest($request->isPost()); |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | $emailAddress = $this->params()->fromQuery('email'); |
| 354 | 354 | /* @var \Applications\Entity\Application $application */ |
| 355 | 355 | $application = $services->get('repositories')->get('Applications/Application') |
| 356 | - ->find($this->params('id')); |
|
| 356 | + ->find($this->params('id')); |
|
| 357 | 357 | |
| 358 | 358 | $this->acl($application, 'forward'); |
| 359 | 359 | |