@@ -34,8 +34,8 @@ discard block |
||
| 34 | 34 | class IndexController extends AbstractActionController |
| 35 | 35 | { |
| 36 | 36 | |
| 37 | - const LOGIN='login'; |
|
| 38 | - const REGISTER='register'; |
|
| 37 | + const LOGIN = 'login'; |
|
| 38 | + const REGISTER = 'register'; |
|
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * @var AuthenticationService |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | $registerForm = $this->forms[self::REGISTER]; |
| 92 | 92 | |
| 93 | 93 | /* @var $request \Zend\Http\Request */ |
| 94 | - $request = $this->getRequest(); |
|
| 94 | + $request = $this->getRequest(); |
|
| 95 | 95 | |
| 96 | 96 | if ($request->isPost()) { |
| 97 | 97 | $data = $this->params()->fromPost(); |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | if (array_key_exists('credentials', $data) && |
| 110 | 110 | array_key_exists('login', $data['credentials']) && |
| 111 | 111 | array_key_exists('credential', $data['credentials'])) { |
| 112 | - $adapter->setIdentity($data['credentials']['login'] . $loginSuffix) |
|
| 112 | + $adapter->setIdentity($data['credentials']['login'].$loginSuffix) |
|
| 113 | 113 | ->setCredential($data['credentials']['credential']); |
| 114 | 114 | } |
| 115 | 115 | |
@@ -120,14 +120,14 @@ discard block |
||
| 120 | 120 | if ($result->isValid()) { |
| 121 | 121 | $user = $auth->getUser(); |
| 122 | 122 | $language = $services->get('Core/Locale')->detectLanguage($request, $user); |
| 123 | - $this->logger->info('User ' . $user->getLogin() . ' logged in'); |
|
| 123 | + $this->logger->info('User '.$user->getLogin().' logged in'); |
|
| 124 | 124 | |
| 125 | 125 | $ref = $this->params()->fromQuery('ref', false); |
| 126 | 126 | |
| 127 | 127 | if ($ref) { |
| 128 | 128 | $ref = urldecode($ref); |
| 129 | - $url = preg_replace('~/[a-z]{2}(/|$)~', '/' . $language . '$1', $ref); |
|
| 130 | - $url = $request->getBasePath() . $url; |
|
| 129 | + $url = preg_replace('~/[a-z]{2}(/|$)~', '/'.$language.'$1', $ref); |
|
| 130 | + $url = $request->getBasePath().$url; |
|
| 131 | 131 | } else { |
| 132 | 132 | $urlHelper = $services->get('ViewHelperManager')->get('url'); |
| 133 | 133 | $url = $urlHelper('lang', array('lang' => $language)); |
@@ -137,9 +137,9 @@ discard block |
||
| 137 | 137 | } else { |
| 138 | 138 | $loginName = $data['credentials']['login']; |
| 139 | 139 | if (!empty($loginSuffix)) { |
| 140 | - $loginName = $loginName . ' (' . $loginName . $loginSuffix . ')'; |
|
| 140 | + $loginName = $loginName.' ('.$loginName.$loginSuffix.')'; |
|
| 141 | 141 | } |
| 142 | - $this->logger->info('Failed to authenticate User ' . $loginName); |
|
| 142 | + $this->logger->info('Failed to authenticate User '.$loginName); |
|
| 143 | 143 | $this->notification()->danger(/*@translate*/ 'Authentication failed.'); |
| 144 | 144 | } |
| 145 | 145 | } |
@@ -198,9 +198,9 @@ discard block |
||
| 198 | 198 | try { |
| 199 | 199 | $user = $auth->getUser(); |
| 200 | 200 | $password = substr(md5(uniqid()), 0, 6); |
| 201 | - $login = uniqid() . ($this->options->auth_suffix != "" ? '@' . $this->options->auth_suffix : ''); |
|
| 201 | + $login = uniqid().($this->options->auth_suffix != "" ? '@'.$this->options->auth_suffix : ''); |
|
| 202 | 202 | $externalLogin = $user->getLogin() ?: '-- not communicated --'; |
| 203 | - $this->logger->debug('first login via ' . $provider . ' as: ' . $externalLogin); |
|
| 203 | + $this->logger->debug('first login via '.$provider.' as: '.$externalLogin); |
|
| 204 | 204 | |
| 205 | 205 | $user->setLogin($login); |
| 206 | 206 | $user->setPassword($password); |
@@ -219,11 +219,11 @@ discard block |
||
| 219 | 219 | ); |
| 220 | 220 | $mail->addTo($user->getInfo()->getEmail()); |
| 221 | 221 | |
| 222 | - $loggerId = $login . ' (' . $provider . ': ' . $externalLogin . ')'; |
|
| 222 | + $loggerId = $login.' ('.$provider.': '.$externalLogin.')'; |
|
| 223 | 223 | if (isset($mail) && $this->mailer($mail)) { |
| 224 | - $this->logger->info('Mail first-login for ' . $loggerId . ' sent to ' . $user->getInfo()->getEmail()); |
|
| 224 | + $this->logger->info('Mail first-login for '.$loggerId.' sent to '.$user->getInfo()->getEmail()); |
|
| 225 | 225 | } else { |
| 226 | - $this->logger->warn('No Mail was sent for ' . $loggerId); |
|
| 226 | + $this->logger->warn('No Mail was sent for '.$loggerId); |
|
| 227 | 227 | } |
| 228 | 228 | } catch (\Exception $e) { |
| 229 | 229 | $this->logger->crit($e); |
@@ -234,11 +234,11 @@ discard block |
||
| 234 | 234 | } |
| 235 | 235 | |
| 236 | 236 | $user = $auth->getUser(); |
| 237 | - $this->logger->info('User ' . $auth->getUser()->getInfo()->getDisplayName() . ' logged in via ' . $provider); |
|
| 237 | + $this->logger->info('User '.$auth->getUser()->getInfo()->getDisplayName().' logged in via '.$provider); |
|
| 238 | 238 | $settings = $user->getSettings('Core'); |
| 239 | 239 | if (null !== $settings->localization->language) { |
| 240 | 240 | $basePath = $this->getRequest()->getBasePath(); |
| 241 | - $ref = preg_replace('~^'.$basePath . '/[a-z]{2}(?=/|$)~', $basePath . '/' . $settings->localization->language, $ref); |
|
| 241 | + $ref = preg_replace('~^'.$basePath.'/[a-z]{2}(?=/|$)~', $basePath.'/'.$settings->localization->language, $ref); |
|
| 242 | 242 | } |
| 243 | 243 | return $this->redirect()->toUrl($ref); |
| 244 | 244 | } |
@@ -270,8 +270,8 @@ discard block |
||
| 270 | 270 | |
| 271 | 271 | if ($result->isValid()) { |
| 272 | 272 | $this->logger->info( |
| 273 | - 'User ' . $this->params()->fromPost('user') . |
|
| 274 | - ' logged via ' . $appKey |
|
| 273 | + 'User '.$this->params()->fromPost('user'). |
|
| 274 | + ' logged via '.$appKey |
|
| 275 | 275 | ); |
| 276 | 276 | |
| 277 | 277 | // the external login may include some parameters for an update |
@@ -302,7 +302,7 @@ discard block |
||
| 302 | 302 | if (array_key_exists('firstLogin', $resultMessage) && $resultMessage['firstLogin'] === true) { |
| 303 | 303 | // first external Login |
| 304 | 304 | $userName = $this->params()->fromPost('user'); |
| 305 | - $this->logger->debug('first login for User: ' . $userName); |
|
| 305 | + $this->logger->debug('first login for User: '.$userName); |
|
| 306 | 306 | // |
| 307 | 307 | if (preg_match('/^(.*)@\w+$/', $userName, $realUserName)) { |
| 308 | 308 | $userName = $realUserName[1]; |
@@ -326,7 +326,7 @@ discard block |
||
| 326 | 326 | |
| 327 | 327 | try { |
| 328 | 328 | $this->mailer($mail); |
| 329 | - $this->logger->info('Mail first-login sent to ' . $userName); |
|
| 329 | + $this->logger->info('Mail first-login sent to '.$userName); |
|
| 330 | 330 | } catch (\Zend\Mail\Transport\Exception\ExceptionInterface $e) { |
| 331 | 331 | $this->logger->warn('No Mail was sent'); |
| 332 | 332 | $this->logger->debug($e); |
@@ -341,8 +341,8 @@ discard block |
||
| 341 | 341 | ); |
| 342 | 342 | } else { |
| 343 | 343 | $this->logger->info( |
| 344 | - 'Failed to authenticate User ' . $this->params()->fromPost('user') . |
|
| 345 | - ' via ' . $this->params()->fromPost('appKey') |
|
| 344 | + 'Failed to authenticate User '.$this->params()->fromPost('user'). |
|
| 345 | + ' via '.$this->params()->fromPost('appKey') |
|
| 346 | 346 | ); |
| 347 | 347 | |
| 348 | 348 | $this->getResponse()->setStatusCode(Response::STATUS_CODE_401); |
@@ -367,8 +367,8 @@ discard block |
||
| 367 | 367 | array( |
| 368 | 368 | 'format' => 'json', |
| 369 | 369 | 'group' => array( |
| 370 | - 0 => 'testuser4711', 1 => 'flatscreen', 2 => 'flatscreen1', 3 => 'flatscreen2', 4 => 'flatscreen3', 5 => 'flatscreen4', |
|
| 371 | - 6 => 'flatscreen5', 7 => 'flatscreen6', 8 => 'flatscreen7', 9 => 'flatscreen8', 10 => 'flatscreen9' |
|
| 370 | + 0 => 'testuser4711', 1 => 'flatscreen', 2 => 'flatscreen1', 3 => 'flatscreen2', 4 => 'flatscreen3', 5 => 'flatscreen4', |
|
| 371 | + 6 => 'flatscreen5', 7 => 'flatscreen6', 8 => 'flatscreen7', 9 => 'flatscreen8', 10 => 'flatscreen9' |
|
| 372 | 372 | ), |
| 373 | 373 | 'name' => '(die) Rauscher – Unternehmensberatung & Consulting', |
| 374 | 374 | ) |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | } |
| 378 | 378 | $auth = $this->auth; |
| 379 | 379 | $userGrpAdmin = $auth->getUser(); |
| 380 | - $this->logger->info('User ' . $auth->getUser()->getInfo()->getDisplayName()); |
|
| 380 | + $this->logger->info('User '.$auth->getUser()->getInfo()->getDisplayName()); |
|
| 381 | 381 | $grp = $this->params()->fromQuery('group'); |
| 382 | 382 | |
| 383 | 383 | // if the request is made by an external host, add his identification-key to the name |
@@ -398,16 +398,16 @@ discard block |
||
| 398 | 398 | foreach ($params->group as $grp_member) { |
| 399 | 399 | try |
| 400 | 400 | { |
| 401 | - $user = $users->findByLogin($grp_member . $loginSuffix); |
|
| 401 | + $user = $users->findByLogin($grp_member.$loginSuffix); |
|
| 402 | 402 | if (!empty($user)) { |
| 403 | 403 | $groupUserId[] = $user->id; |
| 404 | 404 | } else { |
| 405 | - $notFoundUsers[] = $grp_member . $loginSuffix; |
|
| 405 | + $notFoundUsers[] = $grp_member.$loginSuffix; |
|
| 406 | 406 | } |
| 407 | 407 | } |
| 408 | 408 | catch (\Auth\Exception\UserDeactivatedException $e) |
| 409 | 409 | { |
| 410 | - $notFoundUsers[] = $grp_member . $loginSuffix; |
|
| 410 | + $notFoundUsers[] = $grp_member.$loginSuffix; |
|
| 411 | 411 | } |
| 412 | 412 | } |
| 413 | 413 | } |
@@ -417,9 +417,9 @@ discard block |
||
| 417 | 417 | $group->setUsers($groupUserId); |
| 418 | 418 | } |
| 419 | 419 | $this->logger->info( |
| 420 | - 'Update Group Name: ' . $name . PHP_EOL . str_repeat(' ', 36) . 'Group Owner: ' . $userGrpAdmin->getLogin() . PHP_EOL . |
|
| 421 | - str_repeat(' ', 36) . 'Group Members Param: ' . implode(',', $params->group) . PHP_EOL . |
|
| 422 | - str_repeat(' ', 36) . 'Group Members: ' . count($groupUserId) . PHP_EOL . str_repeat(' ', 36) . 'Group Members not found: ' . implode(',', $notFoundUsers) |
|
| 420 | + 'Update Group Name: '.$name.PHP_EOL.str_repeat(' ', 36).'Group Owner: '.$userGrpAdmin->getLogin().PHP_EOL. |
|
| 421 | + str_repeat(' ', 36).'Group Members Param: '.implode(',', $params->group).PHP_EOL. |
|
| 422 | + str_repeat(' ', 36).'Group Members: '.count($groupUserId).PHP_EOL.str_repeat(' ', 36).'Group Members not found: '.implode(',', $notFoundUsers) |
|
| 423 | 423 | ); |
| 424 | 424 | |
| 425 | 425 | return new JsonModel( |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | public function logoutAction() |
| 437 | 437 | { |
| 438 | 438 | $auth = $this->auth; |
| 439 | - $this->logger->info('User ' . ($auth->getUser()->getLogin()==''?$auth->getUser()->getInfo()->getDisplayName():$auth->getUser()->getLogin()) . ' logged out'); |
|
| 439 | + $this->logger->info('User '.($auth->getUser()->getLogin() == '' ? $auth->getUser()->getInfo()->getDisplayName() : $auth->getUser()->getLogin()).' logged out'); |
|
| 440 | 440 | $auth->clearIdentity(); |
| 441 | 441 | unset($_SESSION['HA::STORE']); |
| 442 | 442 | |
@@ -69,6 +69,9 @@ |
||
| 69 | 69 | return $this; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $network |
|
| 74 | + */ |
|
| 72 | 75 | public function getAdapter($network) |
| 73 | 76 | { |
| 74 | 77 | if (isset($this->adapters[$network])) { |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | {} |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @param string $network |
|
| 33 | 32 | * @return \Auth\Entity\SocialProfiles\ProfileInterface|bool |
| 34 | 33 | */ |
| 35 | 34 | public function fetch($api) |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | */ |
| 35 | 35 | public function fetch($api) |
| 36 | 36 | { |
| 37 | - $result = $this->queryApi($api); |
|
| 37 | + $result = $this->queryApi($api); |
|
| 38 | 38 | if (!$result) { |
| 39 | 39 | return false; |
| 40 | 40 | } |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | $class = get_class($this); |
| 61 | 61 | $class = explode('\\', $class); |
| 62 | 62 | $class = array_pop($class); |
| 63 | - $class = '\\Auth\\Entity\\SocialProfiles\\' . $class; |
|
| 63 | + $class = '\\Auth\\Entity\\SocialProfiles\\'.$class; |
|
| 64 | 64 | |
| 65 | 65 | return $class; |
| 66 | 66 | } |
@@ -34,44 +34,44 @@ |
||
| 34 | 34 | { |
| 35 | 35 | |
| 36 | 36 | $this->add( |
| 37 | - [ |
|
| 38 | - 'name' => 'l', |
|
| 39 | - 'type' => 'LocationSelect', |
|
| 40 | - 'options' => [ |
|
| 41 | - 'label' => /*@translate*/ 'Location', |
|
| 42 | - 'span' => 3, |
|
| 43 | - 'location_entity' => Location::class, |
|
| 44 | - ], |
|
| 45 | - 'attributes' => [ |
|
| 46 | - 'data-width' => '100%', |
|
| 47 | - ], |
|
| 48 | - ] |
|
| 37 | + [ |
|
| 38 | + 'name' => 'l', |
|
| 39 | + 'type' => 'LocationSelect', |
|
| 40 | + 'options' => [ |
|
| 41 | + 'label' => /*@translate*/ 'Location', |
|
| 42 | + 'span' => 3, |
|
| 43 | + 'location_entity' => Location::class, |
|
| 44 | + ], |
|
| 45 | + 'attributes' => [ |
|
| 46 | + 'data-width' => '100%', |
|
| 47 | + ], |
|
| 48 | + ] |
|
| 49 | 49 | ); |
| 50 | 50 | |
| 51 | 51 | $this->add( |
| 52 | - [ |
|
| 53 | - 'name' => 'd', |
|
| 54 | - 'type' => 'Zend\Form\Element\Select', |
|
| 55 | - 'options' => [ |
|
| 56 | - 'label' => /*@translate*/ 'Distance', |
|
| 57 | - 'value_options' => [ |
|
| 58 | - '5' => '5 km', |
|
| 59 | - '10' => '10 km', |
|
| 60 | - '20' => '20 km', |
|
| 61 | - '50' => '50 km', |
|
| 62 | - '100' => '100 km' |
|
| 63 | - ], |
|
| 64 | - 'span' => 4, |
|
| 52 | + [ |
|
| 53 | + 'name' => 'd', |
|
| 54 | + 'type' => 'Zend\Form\Element\Select', |
|
| 55 | + 'options' => [ |
|
| 56 | + 'label' => /*@translate*/ 'Distance', |
|
| 57 | + 'value_options' => [ |
|
| 58 | + '5' => '5 km', |
|
| 59 | + '10' => '10 km', |
|
| 60 | + '20' => '20 km', |
|
| 61 | + '50' => '50 km', |
|
| 62 | + '100' => '100 km' |
|
| 63 | + ], |
|
| 64 | + 'span' => 4, |
|
| 65 | 65 | |
| 66 | - ], |
|
| 67 | - 'attributes' => [ |
|
| 68 | - 'value' => '10', // default distance |
|
| 69 | - 'data-searchbox' => -1, // hide the search box |
|
| 70 | - 'data-allowclear' => 'false', // allow to clear a selected value |
|
| 71 | - 'data-placeholder' => /*@translate*/ 'Distance', |
|
| 72 | - 'data-width' => '100%', |
|
| 73 | - ] |
|
| 74 | - ] |
|
| 66 | + ], |
|
| 67 | + 'attributes' => [ |
|
| 68 | + 'value' => '10', // default distance |
|
| 69 | + 'data-searchbox' => -1, // hide the search box |
|
| 70 | + 'data-allowclear' => 'false', // allow to clear a selected value |
|
| 71 | + 'data-placeholder' => /*@translate*/ 'Distance', |
|
| 72 | + 'data-width' => '100%', |
|
| 73 | + ] |
|
| 74 | + ] |
|
| 75 | 75 | ); |
| 76 | 76 | } |
| 77 | 77 | } |
| 78 | 78 | \ No newline at end of file |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | ], |
| 67 | 67 | 'attributes' => [ |
| 68 | 68 | 'value' => '10', // default distance |
| 69 | - 'data-searchbox' => -1, // hide the search box |
|
| 69 | + 'data-searchbox' => -1, // hide the search box |
|
| 70 | 70 | 'data-allowclear' => 'false', // allow to clear a selected value |
| 71 | 71 | 'data-placeholder' => /*@translate*/ 'Distance', |
| 72 | 72 | 'data-width' => '100%', |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | * for multiple paths. |
| 16 | 16 | * example https://github.com/doctrine/DoctrineORMModule |
| 17 | 17 | */ |
| 18 | - 'paths' => [ __DIR__ . '/../src/Cv/Entity'], |
|
| 18 | + 'paths' => [__DIR__.'/../src/Cv/Entity'], |
|
| 19 | 19 | ], |
| 20 | 20 | ], |
| 21 | 21 | 'eventmanager' => [ |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | 'translation_file_patterns' => [ |
| 37 | 37 | [ |
| 38 | 38 | 'type' => 'gettext', |
| 39 | - 'base_dir' => __DIR__ . '/../language', |
|
| 39 | + 'base_dir' => __DIR__.'/../language', |
|
| 40 | 40 | 'pattern' => '%s.mo', |
| 41 | 41 | ], |
| 42 | 42 | ], |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | 'resume-recruiter' => [ |
| 165 | 165 | 'label' => /*@translate*/ 'Talent-Pool', |
| 166 | 166 | 'route' => 'lang/cvs', |
| 167 | - 'active_on' => [ 'lang/cvs/edit', 'lang/cvs/view' ], |
|
| 167 | + 'active_on' => ['lang/cvs/edit', 'lang/cvs/view'], |
|
| 168 | 168 | 'resource' => 'navigation/resume-recruiter', |
| 169 | 169 | 'order' => 10, |
| 170 | 170 | 'query' => [ |
@@ -195,15 +195,15 @@ discard block |
||
| 195 | 195 | |
| 196 | 196 | // Map template to files. Speeds up the lookup through the template stack. |
| 197 | 197 | 'template_map' => [ |
| 198 | - 'cv/form/employment.view' => __DIR__ . '/../view/cv/form/employment.view.phtml', |
|
| 199 | - 'cv/form/employment.form' => __DIR__ . '/../view/cv/form/employment.form.phtml', |
|
| 200 | - 'cv/form/education.view' => __DIR__ . '/../view/cv/form/education.view.phtml', |
|
| 201 | - 'cv/form/education.form' => __DIR__ . '/../view/cv/form/education.form.phtml' |
|
| 198 | + 'cv/form/employment.view' => __DIR__.'/../view/cv/form/employment.view.phtml', |
|
| 199 | + 'cv/form/employment.form' => __DIR__.'/../view/cv/form/employment.form.phtml', |
|
| 200 | + 'cv/form/education.view' => __DIR__.'/../view/cv/form/education.view.phtml', |
|
| 201 | + 'cv/form/education.form' => __DIR__.'/../view/cv/form/education.form.phtml' |
|
| 202 | 202 | ], |
| 203 | 203 | |
| 204 | 204 | // Where to look for view templates not mapped above |
| 205 | 205 | 'template_path_stack' => [ |
| 206 | - __DIR__ . '/../view', |
|
| 206 | + __DIR__.'/../view', |
|
| 207 | 207 | ], |
| 208 | 208 | ], |
| 209 | 209 | |
@@ -39,8 +39,8 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | public function __construct($options, $mailService, $coreOptions) |
| 41 | 41 | { |
| 42 | - $this->options=$options; |
|
| 43 | - $this->mailService=$mailService; |
|
| 42 | + $this->options = $options; |
|
| 43 | + $this->mailService = $mailService; |
|
| 44 | 44 | $this->coreOptions = $coreOptions; |
| 45 | 45 | } |
| 46 | 46 | |
@@ -51,15 +51,15 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | public function __invoke(AuthEvent $e) |
| 53 | 53 | { |
| 54 | - $siteName=$this->coreOptions->getSiteName(); |
|
| 54 | + $siteName = $this->coreOptions->getSiteName(); |
|
| 55 | 55 | /* @var \Auth\Entity\User $user */ |
| 56 | 56 | $user = $e->getUser(); |
| 57 | 57 | $userEmail = $user->getInfo()->getEmail(); |
| 58 | 58 | $userName = $user->getInfo()->getDisplayName(false); |
| 59 | 59 | $resetLink = $e->getResetLink(); |
| 60 | 60 | |
| 61 | - $fromEmail = $this->options->getFromEmail(); |
|
| 62 | - $fromName = $this->options->getFromName(); |
|
| 61 | + $fromEmail = $this->options->getFromEmail(); |
|
| 62 | + $fromName = $this->options->getFromName(); |
|
| 63 | 63 | |
| 64 | 64 | |
| 65 | 65 | $mail = $this->mailService->get('htmltemplate'); |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * for multiple paths. |
| 30 | 30 | * example https://github.com/doctrine/DoctrineORMModule |
| 31 | 31 | */ |
| 32 | - 'paths' => array( __DIR__ . '/../src/Auth/Entity'), |
|
| 32 | + 'paths' => array(__DIR__.'/../src/Auth/Entity'), |
|
| 33 | 33 | ), |
| 34 | 34 | ), |
| 35 | 35 | ), |
@@ -108,13 +108,13 @@ discard block |
||
| 108 | 108 | 'hybridauth' => array( |
| 109 | 109 | "Facebook" => array( |
| 110 | 110 | "enabled" => true, |
| 111 | - "keys" => array( "id" => "", "secret" => "" ), |
|
| 111 | + "keys" => array("id" => "", "secret" => ""), |
|
| 112 | 112 | "scope" => 'email, user_about_me, user_birthday, user_hometown, user_website', |
| 113 | 113 | "display" => 'popup', |
| 114 | 114 | ), |
| 115 | 115 | "LinkedIn" => array( |
| 116 | 116 | "enabled" => true, |
| 117 | - "keys" => array( "key" => "", "secret" => "" ), |
|
| 117 | + "keys" => array("key" => "", "secret" => ""), |
|
| 118 | 118 | ), |
| 119 | 119 | "XING" => array( |
| 120 | 120 | "enabled" => true, |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | 'class' => 'Hybrid_Providers_XING', |
| 125 | 125 | 'path' => __FILE__, |
| 126 | 126 | ), |
| 127 | - "keys" => array( "key" => "", "secret" => "" ), |
|
| 127 | + "keys" => array("key" => "", "secret" => ""), |
|
| 128 | 128 | ), |
| 129 | 129 | "Github" => array( |
| 130 | 130 | "enabled" => true, |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | 'class' => 'Hybrid_Providers_Github', |
| 135 | 135 | 'path' => __FILE__, |
| 136 | 136 | ), |
| 137 | - "keys" => array( "key" => "", "secret" => "" ), |
|
| 137 | + "keys" => array("key" => "", "secret" => ""), |
|
| 138 | 138 | ), |
| 139 | 139 | |
| 140 | 140 | ), |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | 'translation_file_patterns' => array( |
| 238 | 238 | array( |
| 239 | 239 | 'type' => 'gettext', |
| 240 | - 'base_dir' => __DIR__ . '/../language', |
|
| 240 | + 'base_dir' => __DIR__.'/../language', |
|
| 241 | 241 | 'pattern' => '%s.mo', |
| 242 | 242 | ), |
| 243 | 243 | ), |
@@ -246,26 +246,26 @@ discard block |
||
| 246 | 246 | // Configure the view service manager |
| 247 | 247 | 'view_manager' => array( |
| 248 | 248 | 'template_map' => array( |
| 249 | - 'form/auth/contact.form' => __DIR__ . '/../view/form/contact.form.phtml', |
|
| 250 | - 'form/auth/contact.view' => __DIR__ . '/../view/form/contact.view.phtml', |
|
| 251 | - 'form/auth/status.form' => __DIR__ . '/../view/form/status.form.phtml', |
|
| 252 | - 'form/auth/status.view' => __DIR__ . '/../view/form/status.view.phtml', |
|
| 253 | - 'auth/error/social-profiles-unconfigured' => __DIR__ . '/../view/error/social-profiles-unconfigured.phtml', |
|
| 254 | - 'auth/form/user-info-container' => __DIR__ . '/../view/form/user-info-container.phtml', |
|
| 255 | - 'auth/form/user-status-container' => __DIR__ . '/../view/form/user-status-container.phtml', |
|
| 256 | - 'auth/form/userselect' => __DIR__ . '/../view/form/userselect.phtml', |
|
| 257 | - 'auth/form/social-profiles-fieldset' => __DIR__ . '/../view/form/social-profiles-fieldset.phtml', |
|
| 258 | - 'auth/form/social-profiles-button' => __DIR__ . '/../view/form/social-profiles-button.phtml', |
|
| 259 | - 'auth/sidebar/groups-menu' => __DIR__ . '/../view/sidebar/groups-menu.phtml', |
|
| 260 | - 'mail/first-external-login' => __DIR__ . '/../view/mail/first-external-login.phtml', |
|
| 261 | - 'mail/first-socialmedia-login' => __DIR__ . '/../view/mail/first-socialmedia-login.phtml', |
|
| 262 | - 'mail/forgotPassword' => __DIR__ . '/../view/mail/forgot-password.phtml', |
|
| 263 | - 'mail/forgotPassword.en' => __DIR__ . '/../view/mail/forgot-password.en.phtml', |
|
| 264 | - 'mail/register' => __DIR__ . '/../view/mail/register.phtml', |
|
| 249 | + 'form/auth/contact.form' => __DIR__.'/../view/form/contact.form.phtml', |
|
| 250 | + 'form/auth/contact.view' => __DIR__.'/../view/form/contact.view.phtml', |
|
| 251 | + 'form/auth/status.form' => __DIR__.'/../view/form/status.form.phtml', |
|
| 252 | + 'form/auth/status.view' => __DIR__.'/../view/form/status.view.phtml', |
|
| 253 | + 'auth/error/social-profiles-unconfigured' => __DIR__.'/../view/error/social-profiles-unconfigured.phtml', |
|
| 254 | + 'auth/form/user-info-container' => __DIR__.'/../view/form/user-info-container.phtml', |
|
| 255 | + 'auth/form/user-status-container' => __DIR__.'/../view/form/user-status-container.phtml', |
|
| 256 | + 'auth/form/userselect' => __DIR__.'/../view/form/userselect.phtml', |
|
| 257 | + 'auth/form/social-profiles-fieldset' => __DIR__.'/../view/form/social-profiles-fieldset.phtml', |
|
| 258 | + 'auth/form/social-profiles-button' => __DIR__.'/../view/form/social-profiles-button.phtml', |
|
| 259 | + 'auth/sidebar/groups-menu' => __DIR__.'/../view/sidebar/groups-menu.phtml', |
|
| 260 | + 'mail/first-external-login' => __DIR__.'/../view/mail/first-external-login.phtml', |
|
| 261 | + 'mail/first-socialmedia-login' => __DIR__.'/../view/mail/first-socialmedia-login.phtml', |
|
| 262 | + 'mail/forgotPassword' => __DIR__.'/../view/mail/forgot-password.phtml', |
|
| 263 | + 'mail/forgotPassword.en' => __DIR__.'/../view/mail/forgot-password.en.phtml', |
|
| 264 | + 'mail/register' => __DIR__.'/../view/mail/register.phtml', |
|
| 265 | 265 | ), |
| 266 | 266 | |
| 267 | 267 | 'template_path_stack' => array( |
| 268 | - 'Auth' => __DIR__ . '/../view', |
|
| 268 | + 'Auth' => __DIR__.'/../view', |
|
| 269 | 269 | ), |
| 270 | 270 | ), |
| 271 | 271 | |