@@ -3,7 +3,7 @@ |
||
| 3 | 3 | <script type="text/javascript"> |
| 4 | 4 | sysPassApp.sk.set("<?php echo $sk; ?>"); |
| 5 | 5 | |
| 6 | - <?php foreach($tabs as $index => $tab): ?> |
|
| 6 | + <?php foreach ($tabs as $index => $tab): ?> |
|
| 7 | 7 | sysPassApp.theme().html.tabs.add("#tabsHeader", <?php echo $index; ?>, "<?php echo $tab['title']; ?>", <?php echo $index === $activeTabId ? 1 : 0; ?>); |
| 8 | 8 | <?php endforeach; ?> |
| 9 | 9 | </script> |
| 10 | 10 | \ No newline at end of file |
@@ -278,7 +278,7 @@ |
||
| 278 | 278 | } |
| 279 | 279 | } |
| 280 | 280 | |
| 281 | - $this->checkLoggedInSession($this->session, $this->request, function ($redirect) { |
|
| 281 | + $this->checkLoggedInSession($this->session, $this->request, function($redirect) { |
|
| 282 | 282 | $this->router->response() |
| 283 | 283 | ->redirect($redirect) |
| 284 | 284 | ->send(true); |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | */ |
| 128 | 128 | protected function checks() |
| 129 | 129 | { |
| 130 | - $this->checkLoggedInSession($this->session, $this->request, function ($redirect) { |
|
| 130 | + $this->checkLoggedInSession($this->session, $this->request, function($redirect) { |
|
| 131 | 131 | $this->router->response() |
| 132 | 132 | ->redirect($redirect) |
| 133 | 133 | ->send(true); |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | $eventMessage->addDescription(__u('DokuWiki deshabilitada')); |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | - $this->saveConfig($configData, $this->config, function () use ($eventMessage) { |
|
| 107 | + $this->saveConfig($configData, $this->config, function() use ($eventMessage) { |
|
| 108 | 108 | $this->eventDispatcher->notifyEvent('save.config.wiki', new Event($this, $eventMessage)); |
| 109 | 109 | }); |
| 110 | 110 | } |
@@ -148,7 +148,7 @@ |
||
| 148 | 148 | $this->view->assign('disabled', 'disabled'); |
| 149 | 149 | $this->view->assign('readonly', 'readonly'); |
| 150 | 150 | |
| 151 | - $this->view->assign('usage', array_map(function ($value) { |
|
| 151 | + $this->view->assign('usage', array_map(function($value) { |
|
| 152 | 152 | switch ($value->ref) { |
| 153 | 153 | case 'Account': |
| 154 | 154 | $value->icon = 'description'; |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | |
| 105 | - $this->saveConfig($configData, $this->config, function () use ($eventMessage) { |
|
| 105 | + $this->saveConfig($configData, $this->config, function() use ($eventMessage) { |
|
| 106 | 106 | $this->eventDispatcher->notifyEvent('save.config.account', new Event($this, $eventMessage)); |
| 107 | 107 | }); |
| 108 | 108 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | $configData->setMailSecurity($mailSecurity); |
| 77 | 77 | $configData->setMailFrom($mailFrom); |
| 78 | 78 | $configData->setMailRecipients($mailRecipients); |
| 79 | - $configData->setMailEvents($this->request->analyzeArray('mail_events', function ($items) { |
|
| 79 | + $configData->setMailEvents($this->request->analyzeArray('mail_events', function($items) { |
|
| 80 | 80 | return ConfigUtil::eventsAdapter($items); |
| 81 | 81 | })); |
| 82 | 82 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('Sin cambios')); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - $this->saveConfig($configData, $this->config, function () use ($eventMessage) { |
|
| 105 | + $this->saveConfig($configData, $this->config, function() use ($eventMessage) { |
|
| 106 | 106 | $this->eventDispatcher->notifyEvent('save.config.mail', new Event($this, $eventMessage)); |
| 107 | 107 | }); |
| 108 | 108 | } |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | $syslogPort = $this->request->analyzeInt('remotesyslog_port', 0); |
| 79 | 79 | |
| 80 | 80 | $configData->setLogEnabled($logEnabled); |
| 81 | - $configData->setLogEvents($this->request->analyzeArray('log_events', function ($items) { |
|
| 81 | + $configData->setLogEvents($this->request->analyzeArray('log_events', function($items) { |
|
| 82 | 82 | return ConfigUtil::eventsAdapter($items); |
| 83 | 83 | }, [])); |
| 84 | 84 | |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | $eventMessage->addDescription(__u('Auth Basic deshabiltada')); |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | - $this->saveConfig($configData, $this->config, function () use ($eventMessage) { |
|
| 162 | + $this->saveConfig($configData, $this->config, function() use ($eventMessage) { |
|
| 163 | 163 | $this->eventDispatcher->notifyEvent('save.config.general', new Event($this, $eventMessage)); |
| 164 | 164 | }); |
| 165 | 165 | } |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('Sin cambios')); |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | - $this->saveConfig($configData, $this->config, function () use ($eventMessage) { |
|
| 96 | + $this->saveConfig($configData, $this->config, function() use ($eventMessage) { |
|
| 97 | 97 | $this->eventDispatcher->notifyEvent('save.config.ldap', new Event($this, $eventMessage)); |
| 98 | 98 | }); |
| 99 | 99 | } catch (ValidationException $e) { |