@@ -53,10 +53,10 @@ |
||
| 53 | 53 | public function init() |
| 54 | 54 | { |
| 55 | 55 | $this->setAttributes([ |
| 56 | - 'class' => 'form-inline search-form', |
|
| 57 | - 'data-handle-by' => 'script', |
|
| 58 | - 'method' => 'get', |
|
| 59 | - ] |
|
| 56 | + 'class' => 'form-inline search-form', |
|
| 57 | + 'data-handle-by' => 'script', |
|
| 58 | + 'method' => 'get', |
|
| 59 | + ] |
|
| 60 | 60 | ); |
| 61 | 61 | |
| 62 | 62 | if (!$this->hasAttribute('name')) { |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | $elements = $this->elementsFieldset; |
| 67 | 67 | |
| 68 | 68 | if (!is_object($elements)) { |
| 69 | - $elements = ['type' => $elements, 'options' => $this->getOption('elements_options') ? : []]; |
|
| 69 | + $elements = ['type' => $elements, 'options' => $this->getOption('elements_options') ?: []]; |
|
| 70 | 70 | |
| 71 | 71 | } |
| 72 | 72 | |
@@ -126,11 +126,11 @@ discard block |
||
| 126 | 126 | public function init() |
| 127 | 127 | { |
| 128 | 128 | $this->addTextElement( |
| 129 | - $this->getOption('text_label') |
|
| 129 | + $this->getOption('text_label') |
|
| 130 | 130 | ? : /*@translate*/ 'Search', |
| 131 | - $this->getOption('text_placeholder') |
|
| 131 | + $this->getOption('text_placeholder') |
|
| 132 | 132 | ? : /*@translate*/ 'Search query', |
| 133 | - $this->getOption('text_span') ? : 12 |
|
| 133 | + $this->getOption('text_span') ? : 12 |
|
| 134 | 134 | ); |
| 135 | 135 | } |
| 136 | 136 | |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | && $elementOrFieldset['options']['is_button_element'] |
| 146 | 146 | ) { |
| 147 | 147 | $this->setButtonElement( |
| 148 | - isset($flags['name']) ? $flags['name'] : $elementOrFieldset['name'] |
|
| 148 | + isset($flags['name']) ? $flags['name'] : $elementOrFieldset['name'] |
|
| 149 | 149 | ); |
| 150 | 150 | } |
| 151 | 151 | |
@@ -173,16 +173,16 @@ discard block |
||
| 173 | 173 | protected function addTextElement($label, $placeholder = 'Search query', $span = 12) |
| 174 | 174 | { |
| 175 | 175 | return $this->add([ |
| 176 | - 'type' => 'Text', |
|
| 177 | - 'name' => 'text', |
|
| 178 | - 'options' => [ |
|
| 179 | - 'label' => $label, |
|
| 180 | - 'span' => $span, |
|
| 181 | - ], |
|
| 182 | - 'attributes' => [ |
|
| 183 | - 'placeholder' => $placeholder, |
|
| 184 | - ], |
|
| 185 | - ] |
|
| 176 | + 'type' => 'Text', |
|
| 177 | + 'name' => 'text', |
|
| 178 | + 'options' => [ |
|
| 179 | + 'label' => $label, |
|
| 180 | + 'span' => $span, |
|
| 181 | + ], |
|
| 182 | + 'attributes' => [ |
|
| 183 | + 'placeholder' => $placeholder, |
|
| 184 | + ], |
|
| 185 | + ] |
|
| 186 | 186 | ); |
| 187 | 187 | } |
| 188 | 188 | } |
| 189 | 189 | \ No newline at end of file |
@@ -127,10 +127,10 @@ |
||
| 127 | 127 | { |
| 128 | 128 | $this->addTextElement( |
| 129 | 129 | $this->getOption('text_label') |
| 130 | - ? : /*@translate*/ 'Search', |
|
| 130 | + ?: /*@translate*/ 'Search', |
|
| 131 | 131 | $this->getOption('text_placeholder') |
| 132 | - ? : /*@translate*/ 'Search query', |
|
| 133 | - $this->getOption('text_span') ? : 12 |
|
| 132 | + ?: /*@translate*/ 'Search query', |
|
| 133 | + $this->getOption('text_span') ?: 12 |
|
| 134 | 134 | ); |
| 135 | 135 | } |
| 136 | 136 | |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | if (!is_array($stack)) { |
| 73 | - throw new \InvalidArgumentException('Expected argument to be of type array, but received ' . gettype($stack)); |
|
| 73 | + throw new \InvalidArgumentException('Expected argument to be of type array, but received '.gettype($stack)); |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | $this->stack = $stack; |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * |
| 137 | 137 | * @return self |
| 138 | 138 | */ |
| 139 | - public function params($namespace, $defaults = [ 'page' => 1 ]) |
|
| 139 | + public function params($namespace, $defaults = ['page' => 1]) |
|
| 140 | 140 | { |
| 141 | 141 | $this->stack['params'] = [$namespace, $defaults]; |
| 142 | 142 | return $this; |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | public function init() |
| 26 | 26 | { |
| 27 | 27 | $this->addTextElement( |
| 28 | - 'Search', |
|
| 29 | - /*@translate*/ 'search for position or company' |
|
| 28 | + 'Search', |
|
| 29 | + /*@translate*/ 'search for position or company' |
|
| 30 | 30 | ); |
| 31 | 31 | |
| 32 | 32 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $this->auth()->isAdmin() |
| 72 | 72 | ) { |
| 73 | 73 | $applicationViewModel->setTemplate('iframe/iFrameInjection'); |
| 74 | - }elseif(Status::EXPIRED == $job->getStatus() or Status::INACTIVE == $job->getStatus()) { |
|
| 74 | + }elseif (Status::EXPIRED == $job->getStatus() or Status::INACTIVE == $job->getStatus()) { |
|
| 75 | 75 | $this->response->setStatusCode(Response::STATUS_CODE_410); |
| 76 | 76 | $model->setTemplate('jobs/error/expired'); |
| 77 | 77 | $model->setVariables( |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | protected function editTemplateAction() |
| 100 | 100 | { |
| 101 | 101 | $id = $this->params('id'); |
| 102 | - $formIdentifier=$this->params()->fromQuery('form'); |
|
| 102 | + $formIdentifier = $this->params()->fromQuery('form'); |
|
| 103 | 103 | $job = $this->jobRepository->find($id); |
| 104 | 104 | |
| 105 | 105 | /** @var \Zend\Http\Request $request */ |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | $instanceForm = $formTemplate->get($formIdentifier); |
| 131 | 131 | if (!isset($instanceForm)) { |
| 132 | - throw new \RuntimeException('No form found for "' . $formIdentifier . '"'); |
|
| 132 | + throw new \RuntimeException('No form found for "'.$formIdentifier.'"'); |
|
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | // the id is part of the postData, but it never should be altered |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | $this->auth()->isAdmin() |
| 72 | 72 | ) { |
| 73 | 73 | $applicationViewModel->setTemplate('iframe/iFrameInjection'); |
| 74 | - }elseif(Status::EXPIRED == $job->getStatus() or Status::INACTIVE == $job->getStatus()) { |
|
| 74 | + } elseif(Status::EXPIRED == $job->getStatus() or Status::INACTIVE == $job->getStatus()) { |
|
| 75 | 75 | $this->response->setStatusCode(Response::STATUS_CODE_410); |
| 76 | 76 | $model->setTemplate('jobs/error/expired'); |
| 77 | 77 | $model->setVariables( |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | * for multiple paths. |
| 16 | 16 | * example https://github.com/doctrine/DoctrineORMModule |
| 17 | 17 | */ |
| 18 | - 'paths' => array( __DIR__ . '/../src/Jobs/Entity'), |
|
| 18 | + 'paths' => array(__DIR__.'/../src/Jobs/Entity'), |
|
| 19 | 19 | ), |
| 20 | 20 | ), |
| 21 | 21 | 'eventmanager' => array( |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | 'translation_file_patterns' => array( |
| 47 | 47 | array( |
| 48 | 48 | 'type' => 'gettext', |
| 49 | - 'base_dir' => __DIR__ . '/../language', |
|
| 49 | + 'base_dir' => __DIR__.'/../language', |
|
| 50 | 50 | 'pattern' => '%s.mo', |
| 51 | 51 | ), |
| 52 | 52 | ), |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | 'allow' => array( |
| 85 | 85 | 'Jobboard', |
| 86 | 86 | 'Jobs/Jobboard', |
| 87 | - 'Jobs/Template' => [ 'view', 'edittemplate' ], |
|
| 87 | + 'Jobs/Template' => ['view', 'edittemplate'], |
|
| 88 | 88 | 'Jobs/Manage' => array( |
| 89 | 89 | 'template', |
| 90 | 90 | ), |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | ), |
| 214 | 214 | |
| 215 | 215 | 'event_manager' => [ |
| 216 | - 'Core/AdminController/Events' => [ 'listeners' => [ |
|
| 216 | + 'Core/AdminController/Events' => ['listeners' => [ |
|
| 217 | 217 | 'Jobs/Listener/AdminWidgetProvider' => \Core\Controller\AdminControllerEvent::EVENT_DASHBOARD, |
| 218 | 218 | ]], |
| 219 | 219 | |
@@ -266,39 +266,39 @@ discard block |
||
| 266 | 266 | 'view_manager' => array( |
| 267 | 267 | // Map template to files. Speeds up the lookup through the template stack. |
| 268 | 268 | 'template_map' => array( |
| 269 | - 'jobs/form/list-filter' => __DIR__ . '/../view/form/list-filter.phtml', |
|
| 270 | - 'jobs/form/apply-identifier' => __DIR__ . '/../view/form/apply-identifier.phtml', |
|
| 271 | - 'jobs/form/hiring-organization-select' => __DIR__ . '/../view/form/hiring-organization-select.phtml', |
|
| 272 | - 'jobs/form/multiposting-select' => __DIR__ . '/../view/form/multiposting-select.phtml', |
|
| 273 | - 'jobs/form/multiposting-checkboxes' => __DIR__ . '/../view/form/multiposting-checkboxes.phtml', |
|
| 274 | - 'jobs/form/ats-mode.view' => __DIR__ . '/../view/form/ats-mode.view.phtml', |
|
| 275 | - 'jobs/form/ats-mode.form' => __DIR__ . '/../view/form/ats-mode.form.phtml', |
|
| 276 | - 'jobs/form/preview' => __DIR__ . '/../view/form/preview.phtml', |
|
| 277 | - 'jobs/partials/channel-list' => __DIR__ . '/../view/partials/channel-list.phtml', |
|
| 278 | - 'jobs/assign-user' => __DIR__ . '/../view/jobs/manage/assign-user.phtml', |
|
| 279 | - 'jobs/snapshot_or_preview' => __DIR__ . '/../view/partials/snapshot_or_preview.phtml', |
|
| 280 | - 'jobs/history' => __DIR__ . '/../view/partials/history.phtml', |
|
| 281 | - 'jobs/portalsummary' => __DIR__ . '/../view/partials/portalsummary.phtml', |
|
| 282 | - 'content/jobs-publish-on-yawik' => __DIR__ . '/../view/modals/yawik.phtml', |
|
| 283 | - 'content/jobs-publish-on-jobsintown' => __DIR__ . '/../view/modals/jobsintown.phtml', |
|
| 284 | - 'content/jobs-publish-on-homepage' => __DIR__ . '/../view/modals/homepage.phtml', |
|
| 285 | - 'content/jobs-publish-on-fazjob' => __DIR__ . '/../view/modals/fazjob.phtml', |
|
| 286 | - 'content/jobs-terms-and-conditions' => __DIR__ . '/../view/jobs/index/terms.phtml', |
|
| 287 | - 'mail/job-created' => __DIR__ . '/../view/mails/job-created.phtml', |
|
| 288 | - 'mail/job-pending' => __DIR__ . '/../view/mails/job-pending.phtml', |
|
| 289 | - 'mail/job-accepted' => __DIR__ . '/../view/mails/job-accepted.phtml', |
|
| 290 | - 'mail/job-rejected' => __DIR__ . '/../view/mails/job-rejected.phtml', |
|
| 291 | - 'mail/job-created.en' => __DIR__ . '/../view/mails/job-created.en.phtml', |
|
| 292 | - 'mail/job-pending.en' => __DIR__ . '/../view/mails/job-pending.en.phtml', |
|
| 293 | - 'mail/job-accepted.en' => __DIR__ . '/../view/mails/job-accepted.en.phtml', |
|
| 294 | - 'mail/job-rejected.en' => __DIR__ . '/../view/mails/job-rejected.en.phtml', |
|
| 295 | - 'jobs/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
| 296 | - 'jobs/error/expired' => __DIR__ . '/../view/error/expired.phtml', |
|
| 269 | + 'jobs/form/list-filter' => __DIR__.'/../view/form/list-filter.phtml', |
|
| 270 | + 'jobs/form/apply-identifier' => __DIR__.'/../view/form/apply-identifier.phtml', |
|
| 271 | + 'jobs/form/hiring-organization-select' => __DIR__.'/../view/form/hiring-organization-select.phtml', |
|
| 272 | + 'jobs/form/multiposting-select' => __DIR__.'/../view/form/multiposting-select.phtml', |
|
| 273 | + 'jobs/form/multiposting-checkboxes' => __DIR__.'/../view/form/multiposting-checkboxes.phtml', |
|
| 274 | + 'jobs/form/ats-mode.view' => __DIR__.'/../view/form/ats-mode.view.phtml', |
|
| 275 | + 'jobs/form/ats-mode.form' => __DIR__.'/../view/form/ats-mode.form.phtml', |
|
| 276 | + 'jobs/form/preview' => __DIR__.'/../view/form/preview.phtml', |
|
| 277 | + 'jobs/partials/channel-list' => __DIR__.'/../view/partials/channel-list.phtml', |
|
| 278 | + 'jobs/assign-user' => __DIR__.'/../view/jobs/manage/assign-user.phtml', |
|
| 279 | + 'jobs/snapshot_or_preview' => __DIR__.'/../view/partials/snapshot_or_preview.phtml', |
|
| 280 | + 'jobs/history' => __DIR__.'/../view/partials/history.phtml', |
|
| 281 | + 'jobs/portalsummary' => __DIR__.'/../view/partials/portalsummary.phtml', |
|
| 282 | + 'content/jobs-publish-on-yawik' => __DIR__.'/../view/modals/yawik.phtml', |
|
| 283 | + 'content/jobs-publish-on-jobsintown' => __DIR__.'/../view/modals/jobsintown.phtml', |
|
| 284 | + 'content/jobs-publish-on-homepage' => __DIR__.'/../view/modals/homepage.phtml', |
|
| 285 | + 'content/jobs-publish-on-fazjob' => __DIR__.'/../view/modals/fazjob.phtml', |
|
| 286 | + 'content/jobs-terms-and-conditions' => __DIR__.'/../view/jobs/index/terms.phtml', |
|
| 287 | + 'mail/job-created' => __DIR__.'/../view/mails/job-created.phtml', |
|
| 288 | + 'mail/job-pending' => __DIR__.'/../view/mails/job-pending.phtml', |
|
| 289 | + 'mail/job-accepted' => __DIR__.'/../view/mails/job-accepted.phtml', |
|
| 290 | + 'mail/job-rejected' => __DIR__.'/../view/mails/job-rejected.phtml', |
|
| 291 | + 'mail/job-created.en' => __DIR__.'/../view/mails/job-created.en.phtml', |
|
| 292 | + 'mail/job-pending.en' => __DIR__.'/../view/mails/job-pending.en.phtml', |
|
| 293 | + 'mail/job-accepted.en' => __DIR__.'/../view/mails/job-accepted.en.phtml', |
|
| 294 | + 'mail/job-rejected.en' => __DIR__.'/../view/mails/job-rejected.en.phtml', |
|
| 295 | + 'jobs/error/no-parent' => __DIR__.'/../view/error/no-parent.phtml', |
|
| 296 | + 'jobs/error/expired' => __DIR__.'/../view/error/expired.phtml', |
|
| 297 | 297 | ), |
| 298 | 298 | |
| 299 | 299 | // Where to look for view templates not mapped above |
| 300 | 300 | 'template_path_stack' => array( |
| 301 | - __DIR__ . '/../view', |
|
| 301 | + __DIR__.'/../view', |
|
| 302 | 302 | ), |
| 303 | 303 | ), |
| 304 | 304 | |
@@ -215,8 +215,8 @@ |
||
| 215 | 215 | } |
| 216 | 216 | |
| 217 | 217 | /** |
| 218 | - * @param $response |
|
| 219 | - * @param $uri |
|
| 218 | + * @param \Zend\Stdlib\ResponseInterface $response |
|
| 219 | + * @param string $uri |
|
| 220 | 220 | * |
| 221 | 221 | * @return mixed |
| 222 | 222 | */ |
@@ -108,10 +108,10 @@ discard block |
||
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | $router = $e->getRouter(); |
| 111 | - $basePath=$router->getBaseUrl(); |
|
| 111 | + $basePath = $router->getBaseUrl(); |
|
| 112 | 112 | |
| 113 | 113 | |
| 114 | - if (preg_match('~^' . $basePath . '/([a-z]{2})(?:/|$)~', $e->getRequest()->getRequestUri(), $match)) { |
|
| 114 | + if (preg_match('~^'.$basePath.'/([a-z]{2})(?:/|$)~', $e->getRequest()->getRequestUri(), $match)) { |
|
| 115 | 115 | /* It seems we have already a language in the URI |
| 116 | 116 | * Now there are two possibilities: |
| 117 | 117 | * |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | $headers = $e->getRequest()->getHeaders(); |
| 197 | 197 | if ($headers->has('Accept-Language')) { |
| 198 | 198 | $locales = $headers->get('Accept-Language')->getPrioritized(); |
| 199 | - $localeFound=false; |
|
| 199 | + $localeFound = false; |
|
| 200 | 200 | foreach ($locales as $locale) { |
| 201 | 201 | if (array_key_exists($locale->type, $this->supportedLanguages)) { |
| 202 | 202 | $lang = $locale->type; |
@@ -239,8 +239,8 @@ discard block |
||
| 239 | 239 | setlocale( |
| 240 | 240 | LC_ALL, |
| 241 | 241 | array( |
| 242 | - $locale . ".utf8", |
|
| 243 | - $locale . ".iso88591", |
|
| 242 | + $locale.".utf8", |
|
| 243 | + $locale.".iso88591", |
|
| 244 | 244 | $locale, |
| 245 | 245 | substr($locale, 0, 2), |
| 246 | 246 | 'de_DE.utf8', |
@@ -264,6 +264,6 @@ discard block |
||
| 264 | 264 | */ |
| 265 | 265 | public function setSupportedLanguages($supportedLanguages) |
| 266 | 266 | { |
| 267 | - $this->supportedLanguages=$supportedLanguages; |
|
| 267 | + $this->supportedLanguages = $supportedLanguages; |
|
| 268 | 268 | } |
| 269 | 269 | } |
@@ -89,23 +89,23 @@ |
||
| 89 | 89 | $tabId = $containerId . '-' . strtolower($tabElement->getName()); |
| 90 | 90 | $tabsNav .= '<li><a data-toggle="tab" href="#' . $tabId . '">' . $translate($tabElement->getLabel()) . '</a></li>'; |
| 91 | 91 | $tabsContent .= '<div class="tab-pane" id="' . $tabId . '">' |
| 92 | - . $formContainer($tabElement, $layout, $parameter) |
|
| 93 | - . '</div>'; |
|
| 92 | + . $formContainer($tabElement, $layout, $parameter) |
|
| 93 | + . '</div>'; |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | $content .= '<div class="wizard-container" id="' . $containerId . '">' |
| 97 | - . '<ul>' . $tabsNav . '</ul>' |
|
| 98 | - . '<div class="tab-content">' . $tabsContent . '</div>' |
|
| 99 | - . '<ul class="pager wizard">' |
|
| 100 | - . '<li class="previous"><a href="javascript:;">← ' . $translate('previous') . '</a></li>' |
|
| 101 | - . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' →</a></li>' |
|
| 102 | - . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">' |
|
| 103 | - . (false !== $containerParams['finish_label'] |
|
| 97 | + . '<ul>' . $tabsNav . '</ul>' |
|
| 98 | + . '<div class="tab-content">' . $tabsContent . '</div>' |
|
| 99 | + . '<ul class="pager wizard">' |
|
| 100 | + . '<li class="previous"><a href="javascript:;">← ' . $translate('previous') . '</a></li>' |
|
| 101 | + . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' →</a></li>' |
|
| 102 | + . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">' |
|
| 103 | + . (false !== $containerParams['finish_label'] |
|
| 104 | 104 | ? '<a class="pull-right" href="' . $containerParams['finish_href'] . '">' |
| 105 | - . $translate($containerParams['finish_label']) . ' •</a>' |
|
| 105 | + . $translate($containerParams['finish_label']) . ' •</a>' |
|
| 106 | 106 | : '' |
| 107 | 107 | ) |
| 108 | - . '</li></div>'; |
|
| 108 | + . '</li></div>'; |
|
| 109 | 109 | |
| 110 | 110 | $content .= $container->renderPost($this->getView()); |
| 111 | 111 | |
@@ -82,27 +82,27 @@ |
||
| 82 | 82 | |
| 83 | 83 | $containerId = $container->getAttribute('id'); |
| 84 | 84 | if (!$containerId) { |
| 85 | - $containerId = 'wizardcontainer-' . strtolower(str_replace('\\', '-', get_class($container))); |
|
| 85 | + $containerId = 'wizardcontainer-'.strtolower(str_replace('\\', '-', get_class($container))); |
|
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | foreach ($container as $tabElement) { |
| 89 | - $tabId = $containerId . '-' . strtolower($tabElement->getName()); |
|
| 90 | - $tabsNav .= '<li><a data-toggle="tab" href="#' . $tabId . '">' . $translate($tabElement->getLabel()) . '</a></li>'; |
|
| 91 | - $tabsContent .= '<div class="tab-pane" id="' . $tabId . '">' |
|
| 89 | + $tabId = $containerId.'-'.strtolower($tabElement->getName()); |
|
| 90 | + $tabsNav .= '<li><a data-toggle="tab" href="#'.$tabId.'">'.$translate($tabElement->getLabel()).'</a></li>'; |
|
| 91 | + $tabsContent .= '<div class="tab-pane" id="'.$tabId.'">' |
|
| 92 | 92 | . $formContainer($tabElement, $layout, $parameter) |
| 93 | 93 | . '</div>'; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | - $content .= '<div class="wizard-container" id="' . $containerId . '">' |
|
| 97 | - . '<ul>' . $tabsNav . '</ul>' |
|
| 98 | - . '<div class="tab-content">' . $tabsContent . '</div>' |
|
| 96 | + $content .= '<div class="wizard-container" id="'.$containerId.'">' |
|
| 97 | + . '<ul>'.$tabsNav.'</ul>' |
|
| 98 | + . '<div class="tab-content">'.$tabsContent.'</div>' |
|
| 99 | 99 | . '<ul class="pager wizard">' |
| 100 | - . '<li class="previous"><a href="javascript:;">← ' . $translate('previous') . '</a></li>' |
|
| 101 | - . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' →</a></li>' |
|
| 102 | - . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">' |
|
| 100 | + . '<li class="previous"><a href="javascript:;">← '.$translate('previous').'</a></li>' |
|
| 101 | + . '<li class="next"><a href="javascript:;">'.$translate('Next').' →</a></li>' |
|
| 102 | + . '<li class="finish'.($containerParams['finish_enabled'] ? '' : ' disabled').'">' |
|
| 103 | 103 | . (false !== $containerParams['finish_label'] |
| 104 | - ? '<a class="pull-right" href="' . $containerParams['finish_href'] . '">' |
|
| 105 | - . $translate($containerParams['finish_label']) . ' •</a>' |
|
| 104 | + ? '<a class="pull-right" href="'.$containerParams['finish_href'].'">' |
|
| 105 | + . $translate($containerParams['finish_label']).' •</a>' |
|
| 106 | 106 | : '' |
| 107 | 107 | ) |
| 108 | 108 | . '</li></div>'; |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $notificationListener = $serviceLocator->getServiceLocator()->get('Core/Listener/Notification'); |
| 25 | 25 | $translator = $services->get('translator'); |
| 26 | 26 | |
| 27 | - $notification = new Notification($flashMessenger); |
|
| 27 | + $notification = new Notification($flashMessenger); |
|
| 28 | 28 | $notification->setListener($notificationListener); |
| 29 | 29 | $notification->setTranslator($translator); |
| 30 | 30 | |