@@ -10,20 +10,20 @@ discard block |
||
10 | 10 | |
11 | 11 | return array( |
12 | 12 | 'doctrine' => array( |
13 | - 'driver' => array( |
|
13 | + 'driver' => array( |
|
14 | 14 | 'odm_default' => array( |
15 | 15 | 'drivers' => array( |
16 | 16 | 'Applications\Entity' => 'annotation', |
17 | 17 | ), |
18 | 18 | ), |
19 | 19 | 'annotation' => array( |
20 | - /* |
|
20 | + /* |
|
21 | 21 | * All drivers (except DriverChain) require paths to work on. You |
22 | 22 | * may set this value as a string (for a single path) or an array |
23 | 23 | * for multiple paths. |
24 | 24 | * example https://github.com/doctrine/DoctrineORMModule |
25 | 25 | */ |
26 | - 'paths' => array( __DIR__ . '/../src/Applications/Entity') |
|
26 | + 'paths' => array( __DIR__ . '/../src/Applications/Entity') |
|
27 | 27 | ), |
28 | 28 | ), |
29 | 29 | 'eventmanager' => array( |
@@ -63,16 +63,16 @@ discard block |
||
63 | 63 | 'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions', |
64 | 64 | ), |
65 | 65 | 'factories' => array( |
66 | - 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
67 | - 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
68 | - 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
69 | - 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
70 | - 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
71 | - 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory', |
|
72 | - 'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory' |
|
66 | + 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
67 | + 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
68 | + 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
69 | + 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
70 | + 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
71 | + 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory', |
|
72 | + 'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory' |
|
73 | 73 | ), |
74 | 74 | 'aliases' => [ |
75 | - 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
75 | + 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
76 | 76 | ] |
77 | 77 | ), |
78 | 78 | 'controllers' => array( |
@@ -170,25 +170,25 @@ discard block |
||
170 | 170 | ), |
171 | 171 | 'form_elements' => array( |
172 | 172 | 'invokables' => array( |
173 | - 'Applications/Mail' => 'Applications\Form\Mail', |
|
174 | - 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
175 | - 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
176 | - 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
177 | - 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
178 | - 'Applications/Apply' => 'Applications\Form\Apply', |
|
179 | - 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
180 | - 'Applications/Base' => 'Applications\Form\Base', |
|
181 | - 'Applications/Facts' => 'Applications\Form\Facts', |
|
182 | - 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
183 | - 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
184 | - 'Applications/Filter' => 'Applications\Form\FilterApplication', |
|
185 | - 'href' => 'Applications\Form\Element\Ref', |
|
186 | - ), |
|
173 | + 'Applications/Mail' => 'Applications\Form\Mail', |
|
174 | + 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
175 | + 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
176 | + 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
177 | + 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
178 | + 'Applications/Apply' => 'Applications\Form\Apply', |
|
179 | + 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
180 | + 'Applications/Base' => 'Applications\Form\Base', |
|
181 | + 'Applications/Facts' => 'Applications\Form\Facts', |
|
182 | + 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
183 | + 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
184 | + 'Applications/Filter' => 'Applications\Form\FilterApplication', |
|
185 | + 'href' => 'Applications\Form\Element\Ref', |
|
186 | + ), |
|
187 | 187 | 'factories' => array( |
188 | 188 | 'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory', |
189 | 189 | 'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory', |
190 | 190 | ), |
191 | - ), |
|
191 | + ), |
|
192 | 192 | |
193 | 193 | 'form_elements_config' => array( |
194 | 194 | 'Applications/Apply' => array( |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | |
81 | 81 | protected $workflow = [ |
82 | 82 | |
83 | - 'recruiter', |
|
83 | + 'recruiter', |
|
84 | 84 | ]; |
85 | 85 | |
86 | 86 | /** |
@@ -218,13 +218,13 @@ discard block |
||
218 | 218 | } |
219 | 219 | |
220 | 220 | /** |
221 | - * @return boolean |
|
222 | - * @since 0.27 |
|
223 | - */ |
|
224 | - public function getAllowSubsequentAttachmentUpload() |
|
225 | - { |
|
226 | - return $this->allowSubsequentAttachmentUpload; |
|
227 | - } |
|
221 | + * @return boolean |
|
222 | + * @since 0.27 |
|
223 | + */ |
|
224 | + public function getAllowSubsequentAttachmentUpload() |
|
225 | + { |
|
226 | + return $this->allowSubsequentAttachmentUpload; |
|
227 | + } |
|
228 | 228 | |
229 | 229 | /** |
230 | 230 | * @param boolean $allowSubsequentAttachmentUpload |
@@ -113,11 +113,11 @@ discard block |
||
113 | 113 | |
114 | 114 | return str_replace( |
115 | 115 | array('#abort', |
116 | - '__file-uri__', |
|
117 | - '__file-name__', |
|
118 | - '__file-size__', |
|
119 | - 'fu-working', |
|
120 | - 'fa-file-o' |
|
116 | + '__file-uri__', |
|
117 | + '__file-name__', |
|
118 | + '__file-size__', |
|
119 | + 'fu-working', |
|
120 | + 'fa-file-o' |
|
121 | 121 | ), |
122 | 122 | array("$uri?do=delete", $uri, $name, $size, '', $icon), |
123 | 123 | $template |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | '<div class="fu-nonempty-notice"' . ('' == trim($preview) ? ' style="display:none;"' : '') . '>' |
142 | 142 | . $this->getNonEmptyNotice() . '</div>'; |
143 | 143 | $emptynotice = '<div class="fu-empty-notice"' |
144 | - . ('' == trim($preview) ? '' : ' style="display: none;"') . '> |
|
144 | + . ('' == trim($preview) ? '' : ' style="display: none;"') . '> |
|
145 | 145 | ' . $this->getEmptyNotice() . ' |
146 | 146 | </div>'; |
147 | 147 | |
@@ -230,99 +230,99 @@ discard block |
||
230 | 230 | } |
231 | 231 | |
232 | 232 | /** |
233 | - * @param string $emptyNotice |
|
234 | - * @return FormFileUpload |
|
235 | - * @since 0.27 |
|
236 | - */ |
|
237 | - public function setEmptyNotice($emptyNotice) |
|
238 | - { |
|
239 | - $this->emptyNotice = $emptyNotice; |
|
233 | + * @param string $emptyNotice |
|
234 | + * @return FormFileUpload |
|
235 | + * @since 0.27 |
|
236 | + */ |
|
237 | + public function setEmptyNotice($emptyNotice) |
|
238 | + { |
|
239 | + $this->emptyNotice = $emptyNotice; |
|
240 | 240 | |
241 | - return $this; |
|
242 | - } |
|
241 | + return $this; |
|
242 | + } |
|
243 | 243 | |
244 | 244 | /** |
245 | - * @return string |
|
246 | - * @since 0.27 |
|
247 | - */ |
|
248 | - protected function getEmptyNotice() |
|
249 | - { |
|
250 | - if (!isset($this->emptyNotice)) |
|
251 | - { |
|
252 | - $this->emptyNotice = ' |
|
245 | + * @return string |
|
246 | + * @since 0.27 |
|
247 | + */ |
|
248 | + protected function getEmptyNotice() |
|
249 | + { |
|
250 | + if (!isset($this->emptyNotice)) |
|
251 | + { |
|
252 | + $this->emptyNotice = ' |
|
253 | 253 | <div class="pull-left"> |
254 | 254 | <span class="yk-icon fa-files-o fa-5x"></span> |
255 | 255 | </div>' . $this->getDefaultNotice(); |
256 | - } |
|
256 | + } |
|
257 | 257 | |
258 | - return $this->emptyNotice; |
|
259 | - } |
|
258 | + return $this->emptyNotice; |
|
259 | + } |
|
260 | 260 | |
261 | 261 | /** |
262 | - * @param string $nonEmptyNotice |
|
263 | - * @return FormFileUpload |
|
264 | - * @since 0.27 |
|
265 | - */ |
|
266 | - public function setNonEmptyNotice($nonEmptyNotice) |
|
267 | - { |
|
268 | - $this->nonEmptyNotice = $nonEmptyNotice; |
|
262 | + * @param string $nonEmptyNotice |
|
263 | + * @return FormFileUpload |
|
264 | + * @since 0.27 |
|
265 | + */ |
|
266 | + public function setNonEmptyNotice($nonEmptyNotice) |
|
267 | + { |
|
268 | + $this->nonEmptyNotice = $nonEmptyNotice; |
|
269 | 269 | |
270 | - return $this; |
|
271 | - } |
|
270 | + return $this; |
|
271 | + } |
|
272 | 272 | |
273 | 273 | /** |
274 | - * @return string |
|
275 | - * @since 0.27 |
|
276 | - */ |
|
277 | - protected function getNonEmptyNotice() |
|
278 | - { |
|
279 | - if (!isset($this->nonEmptyNotice)) |
|
280 | - { |
|
281 | - $this->nonEmptyNotice = $this->getDefaultNotice(); |
|
282 | - } |
|
274 | + * @return string |
|
275 | + * @since 0.27 |
|
276 | + */ |
|
277 | + protected function getNonEmptyNotice() |
|
278 | + { |
|
279 | + if (!isset($this->nonEmptyNotice)) |
|
280 | + { |
|
281 | + $this->nonEmptyNotice = $this->getDefaultNotice(); |
|
282 | + } |
|
283 | 283 | |
284 | - return $this->nonEmptyNotice; |
|
285 | - } |
|
284 | + return $this->nonEmptyNotice; |
|
285 | + } |
|
286 | 286 | |
287 | 287 | /** |
288 | - * @return string |
|
289 | - * @since 0.27 |
|
290 | - */ |
|
291 | - protected function getDefaultNotice() |
|
292 | - { |
|
293 | - return '<small>' . $this->getTranslator()->translate('Click here to add files or use drag and drop.') . '</small>'; |
|
294 | - } |
|
288 | + * @return string |
|
289 | + * @since 0.27 |
|
290 | + */ |
|
291 | + protected function getDefaultNotice() |
|
292 | + { |
|
293 | + return '<small>' . $this->getTranslator()->translate('Click here to add files or use drag and drop.') . '</small>'; |
|
294 | + } |
|
295 | 295 | |
296 | 296 | /** |
297 | - * @param boolean $allowRemove |
|
298 | - * @return FormFileUpload |
|
299 | - * @since 0.27 |
|
300 | - */ |
|
301 | - public function setAllowRemove($allowRemove) |
|
302 | - { |
|
303 | - $this->allowRemove = (bool)$allowRemove; |
|
297 | + * @param boolean $allowRemove |
|
298 | + * @return FormFileUpload |
|
299 | + * @since 0.27 |
|
300 | + */ |
|
301 | + public function setAllowRemove($allowRemove) |
|
302 | + { |
|
303 | + $this->allowRemove = (bool)$allowRemove; |
|
304 | 304 | |
305 | - return $this; |
|
306 | - } |
|
305 | + return $this; |
|
306 | + } |
|
307 | 307 | |
308 | 308 | /** |
309 | - * @param boolean $allowClickableDropZone |
|
310 | - * @return FormFileUpload |
|
311 | - * @since 0.27 |
|
312 | - */ |
|
313 | - public function setAllowClickableDropZone($allowClickableDropZone) |
|
314 | - { |
|
315 | - $this->allowClickableDropZone = (bool)$allowClickableDropZone; |
|
309 | + * @param boolean $allowClickableDropZone |
|
310 | + * @return FormFileUpload |
|
311 | + * @since 0.27 |
|
312 | + */ |
|
313 | + public function setAllowClickableDropZone($allowClickableDropZone) |
|
314 | + { |
|
315 | + $this->allowClickableDropZone = (bool)$allowClickableDropZone; |
|
316 | 316 | |
317 | - return $this; |
|
318 | - } |
|
317 | + return $this; |
|
318 | + } |
|
319 | 319 | |
320 | - /** |
|
321 | - * @since 0.27 |
|
322 | - */ |
|
323 | - protected function setupAssets() |
|
324 | - { |
|
325 | - /* @var $renderer \Zend\View\Renderer\PhpRenderer */ |
|
320 | + /** |
|
321 | + * @since 0.27 |
|
322 | + */ |
|
323 | + protected function setupAssets() |
|
324 | + { |
|
325 | + /* @var $renderer \Zend\View\Renderer\PhpRenderer */ |
|
326 | 326 | /* @var $basepath \Zend\View\Helper\BasePath */ |
327 | 327 | $renderer = $this->getView(); |
328 | 328 | $basepath = $renderer->plugin('basepath'); |
@@ -331,5 +331,5 @@ discard block |
||
331 | 331 | ->appendFile($basepath('js/jquery-file-upload/jquery.iframe-transport.js')) |
332 | 332 | ->appendFile($basepath('js/jquery-file-upload/jquery.fileupload.js')) |
333 | 333 | ->appendFile($basepath($this->scriptFile)); |
334 | - } |
|
334 | + } |
|
335 | 335 | } |
@@ -297,9 +297,9 @@ |
||
297 | 297 | } |
298 | 298 | |
299 | 299 | /** |
300 | - * @see \Core\Entity\FileInterface::getUri() |
|
301 | - * @since 0.27 |
|
302 | - */ |
|
303 | - public function getUri() |
|
304 | - {} |
|
300 | + * @see \Core\Entity\FileInterface::getUri() |
|
301 | + * @since 0.27 |
|
302 | + */ |
|
303 | + public function getUri() |
|
304 | + {} |
|
305 | 305 | } |
306 | 306 | \ No newline at end of file |
@@ -91,7 +91,7 @@ |
||
91 | 91 | * and which are not in draft mode |
92 | 92 | */ |
93 | 93 | $queryBuilder->field('permissions.view')->equals($userID) |
94 | - ->field('isDraft')->equals(false); |
|
94 | + ->field('isDraft')->equals(false); |
|
95 | 95 | |
96 | 96 | if (!isset($value['sort'])) { |
97 | 97 | $value['sort'] = '-date'; |
@@ -68,13 +68,13 @@ discard block |
||
68 | 68 | 'view_manager' => array( |
69 | 69 | // Map template to files. Speeds up the lookup through the template stack. |
70 | 70 | 'template_map' => array( |
71 | - 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
72 | - 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
73 | - 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
74 | - 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
75 | - 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
76 | - 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
77 | - 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
71 | + 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
72 | + 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
73 | + 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
74 | + 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
75 | + 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
76 | + 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
77 | + 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
78 | 78 | 'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml', |
79 | 79 | ), |
80 | 80 | // Where to look for view templates not mapped above |
@@ -84,20 +84,20 @@ discard block |
||
84 | 84 | ), |
85 | 85 | 'form_elements' => array( |
86 | 86 | 'invokables' => array( |
87 | - 'Organizations/form' => 'Organizations\Form\Organizations', |
|
88 | - 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
89 | - 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
90 | - 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
91 | - 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
92 | - 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
93 | - 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
94 | - //'Organizations/OrganizationFieldset' => 'Organizations\Form\OrganizationFieldset', |
|
95 | - 'Organizations/EmployeesContainer' => 'Organizations\Form\EmployeesContainer', |
|
96 | - 'Organizations/Employees' => 'Organizations\Form\Employees', |
|
97 | - 'Organizations/InviteEmployeeBar' => 'Organizations\Form\Element\InviteEmployeeBar', |
|
98 | - 'Organizations/Employee' => 'Organizations\Form\Element\Employee', |
|
99 | - 'Organizations/WorkflowSettings' => 'Organizations\Form\WorkflowSettings', |
|
100 | - 'Organizations/WorkflowSettingsFieldset' => 'Organizations\Form\WorkflowSettingsFieldset', |
|
87 | + 'Organizations/form' => 'Organizations\Form\Organizations', |
|
88 | + 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
89 | + 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
90 | + 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
91 | + 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
92 | + 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
93 | + 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
94 | + //'Organizations/OrganizationFieldset' => 'Organizations\Form\OrganizationFieldset', |
|
95 | + 'Organizations/EmployeesContainer' => 'Organizations\Form\EmployeesContainer', |
|
96 | + 'Organizations/Employees' => 'Organizations\Form\Employees', |
|
97 | + 'Organizations/InviteEmployeeBar' => 'Organizations\Form\Element\InviteEmployeeBar', |
|
98 | + 'Organizations/Employee' => 'Organizations\Form\Element\Employee', |
|
99 | + 'Organizations/WorkflowSettings' => 'Organizations\Form\WorkflowSettings', |
|
100 | + 'Organizations/WorkflowSettingsFieldset' => 'Organizations\Form\WorkflowSettingsFieldset', |
|
101 | 101 | |
102 | 102 | ), |
103 | 103 | 'factories' => array( |
@@ -187,13 +187,13 @@ discard block |
||
187 | 187 | ), |
188 | 188 | 'service_manager' => [ |
189 | 189 | 'invokables' => [ |
190 | - 'Organizations\Auth\Dependency\EmployeeListListener' => 'Organizations\Auth\Dependency\EmployeeListListener' |
|
190 | + 'Organizations\Auth\Dependency\EmployeeListListener' => 'Organizations\Auth\Dependency\EmployeeListListener' |
|
191 | 191 | ], |
192 | 192 | 'factories' => [ |
193 | - 'Organizations\Auth\Dependency\ListListener' => 'Organizations\Factory\Auth\Dependency\ListListenerFactory', |
|
194 | - 'Organizations\ImageFileCache\Manager' => 'Organizations\Factory\ImageFileCache\ManagerFactory', |
|
195 | - 'Organizations\ImageFileCache\ODMListener' => 'Organizations\Factory\ImageFileCache\ODMListenerFactory', |
|
196 | - 'Organizations\ImageFileCache\ApplicationListener' => 'Organizations\Factory\ImageFileCache\ApplicationListenerFactory' |
|
193 | + 'Organizations\Auth\Dependency\ListListener' => 'Organizations\Factory\Auth\Dependency\ListListenerFactory', |
|
194 | + 'Organizations\ImageFileCache\Manager' => 'Organizations\Factory\ImageFileCache\ManagerFactory', |
|
195 | + 'Organizations\ImageFileCache\ODMListener' => 'Organizations\Factory\ImageFileCache\ODMListenerFactory', |
|
196 | + 'Organizations\ImageFileCache\ApplicationListener' => 'Organizations\Factory\ImageFileCache\ApplicationListenerFactory' |
|
197 | 197 | ] |
198 | 198 | ], |
199 | 199 | 'event_manager' => [ |
@@ -123,10 +123,10 @@ |
||
123 | 123 | * @param $options |
124 | 124 | */ |
125 | 125 | public function setOptions($options){ |
126 | - foreach($options as $key=>$val) { |
|
126 | + foreach($options as $key=>$val) { |
|
127 | 127 | if (array_key_exists($this->options,$key)) { |
128 | 128 | $this->options[$key]=$val; |
129 | 129 | } |
130 | - } |
|
130 | + } |
|
131 | 131 | } |
132 | 132 | } |
@@ -102,10 +102,10 @@ |
||
102 | 102 | } |
103 | 103 | }else{ |
104 | 104 | $result = sprintf('<a href="%s" rel="%s" %s>%s</a>', |
105 | - $url, |
|
106 | - $options['rel'], |
|
107 | - $options['target']?"target=" . $options['target']:"", |
|
108 | - strip_tags($jobEntity->getTitle())); |
|
105 | + $url, |
|
106 | + $options['rel'], |
|
107 | + $options['target']?"target=" . $options['target']:"", |
|
108 | + strip_tags($jobEntity->getTitle())); |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | return $result; |
@@ -90,24 +90,24 @@ |
||
90 | 90 | $tabId = $containerId . '-' . strtolower($tabElement->getName()); |
91 | 91 | $tabsNav .= '<li><a data-toggle="tab" href="#' . $tabId . '">' . $translate($tabElement->getLabel()) . '</a></li>'; |
92 | 92 | $tabsContent .= '<div class="tab-pane" id="' . $tabId . '">' |
93 | - . $formContainer($tabElement, $layout, $parameter) |
|
94 | - . '</div>'; |
|
93 | + . $formContainer($tabElement, $layout, $parameter) |
|
94 | + . '</div>'; |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | $content .= '<style type="text/css">.tab-content > div > div:first-child { margin-top: 10px; }</style><div class="wizard-container" id="' . $containerId . '">' |
98 | - . '<ul>' . $tabsNav . '</ul>' |
|
99 | - . '<div class="tab-content">' . $tabsContent . '</div>'; |
|
98 | + . '<ul>' . $tabsNav . '</ul>' |
|
99 | + . '<div class="tab-content">' . $tabsContent . '</div>'; |
|
100 | 100 | if ($containerParams['pager']) { |
101 | 101 | $content .='<ul class="pager wizard">' |
102 | - . '<li class="previous"><a href="javascript:;">← ' . $translate('previous') . '</a></li>' |
|
103 | - . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' →</a></li>' |
|
104 | - . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">' |
|
105 | - . (false !== $containerParams['finish_label'] |
|
102 | + . '<li class="previous"><a href="javascript:;">← ' . $translate('previous') . '</a></li>' |
|
103 | + . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' →</a></li>' |
|
104 | + . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">' |
|
105 | + . (false !== $containerParams['finish_label'] |
|
106 | 106 | ? '<a class="pull-right" href="' . $containerParams['finish_href'] . '">' |
107 | - . $translate($containerParams['finish_label']) . ' •</a>' |
|
107 | + . $translate($containerParams['finish_label']) . ' •</a>' |
|
108 | 108 | : '' |
109 | 109 | ) |
110 | - . '</li></ul>'; |
|
110 | + . '</li></ul>'; |
|
111 | 111 | } |
112 | 112 | $content .= '</div>'; |
113 | 113 |