@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | |
67 | 67 | if (count($configNames) > 1) { |
68 | 68 | if ($input->hasParameterOption('--error-if-not-exists') && !in_array($configName, $this->systemConfig->getKeys())) { |
69 | - $output->writeln('<error>System config ' . implode(' => ', $configNames) . ' could not be deleted because it did not exist</error>'); |
|
69 | + $output->writeln('<error>System config '.implode(' => ', $configNames).' could not be deleted because it did not exist</error>'); |
|
70 | 70 | return 1; |
71 | 71 | } |
72 | 72 | |
@@ -76,21 +76,21 @@ discard block |
||
76 | 76 | $value = $this->removeSubValue(array_slice($configNames, 1), $value, $input->hasParameterOption('--error-if-not-exists')); |
77 | 77 | } |
78 | 78 | catch (\UnexpectedValueException $e) { |
79 | - $output->writeln('<error>System config ' . implode(' => ', $configNames) . ' could not be deleted because it did not exist</error>'); |
|
79 | + $output->writeln('<error>System config '.implode(' => ', $configNames).' could not be deleted because it did not exist</error>'); |
|
80 | 80 | return 1; |
81 | 81 | } |
82 | 82 | |
83 | 83 | $this->systemConfig->setValue($configName, $value); |
84 | - $output->writeln('<info>System config value ' . implode(' => ', $configNames) . ' deleted</info>'); |
|
84 | + $output->writeln('<info>System config value '.implode(' => ', $configNames).' deleted</info>'); |
|
85 | 85 | return 0; |
86 | 86 | } else { |
87 | 87 | if ($input->hasParameterOption('--error-if-not-exists') && !in_array($configName, $this->systemConfig->getKeys())) { |
88 | - $output->writeln('<error>System config ' . $configName . ' could not be deleted because it did not exist</error>'); |
|
88 | + $output->writeln('<error>System config '.$configName.' could not be deleted because it did not exist</error>'); |
|
89 | 89 | return 1; |
90 | 90 | } |
91 | 91 | |
92 | 92 | $this->systemConfig->deleteValue($configName); |
93 | - $output->writeln('<info>System config value ' . $configName . ' deleted</info>'); |
|
93 | + $output->writeln('<info>System config value '.$configName.' deleted</info>'); |
|
94 | 94 | return 0; |
95 | 95 | } |
96 | 96 | } |
@@ -63,10 +63,10 @@ discard block |
||
63 | 63 | } |
64 | 64 | $languages = $lang; |
65 | 65 | if (empty($lang)) { |
66 | - $languages= $this->getAllLanguages($path); |
|
66 | + $languages = $this->getAllLanguages($path); |
|
67 | 67 | } |
68 | 68 | |
69 | - foreach($languages as $lang) { |
|
69 | + foreach ($languages as $lang) { |
|
70 | 70 | $this->writeFiles($app, $path, $lang, $output); |
71 | 71 | } |
72 | 72 | } |
@@ -74,16 +74,16 @@ discard block |
||
74 | 74 | private function getAllLanguages($path) { |
75 | 75 | $result = array(); |
76 | 76 | foreach (new DirectoryIterator("$path/l10n") as $fileInfo) { |
77 | - if($fileInfo->isDot()) { |
|
77 | + if ($fileInfo->isDot()) { |
|
78 | 78 | continue; |
79 | 79 | } |
80 | - if($fileInfo->isDir()) { |
|
80 | + if ($fileInfo->isDir()) { |
|
81 | 81 | continue; |
82 | 82 | } |
83 | - if($fileInfo->getExtension() !== 'php') { |
|
83 | + if ($fileInfo->getExtension() !== 'php') { |
|
84 | 84 | continue; |
85 | 85 | } |
86 | - $result[]= substr($fileInfo->getBasename(), 0, -4); |
|
86 | + $result[] = substr($fileInfo->getBasename(), 0, -4); |
|
87 | 87 | } |
88 | 88 | |
89 | 89 | return $result; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $jsTrans = array(); |
106 | 106 | foreach ($translations as $id => $val) { |
107 | 107 | if (is_array($val)) { |
108 | - $val = '[ ' . implode(',', $val) . ']'; |
|
108 | + $val = '[ '.implode(',', $val).']'; |
|
109 | 109 | } |
110 | 110 | $jsTrans[] = "\"$id\" : \"$val\""; |
111 | 111 | } |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | ['app' => 'encryption']); |
119 | 119 | |
120 | 120 | if (openssl_error_string()) { |
121 | - $log->error('Encryption library openssl_pkey_new() fails: ' . openssl_error_string(), |
|
121 | + $log->error('Encryption library openssl_pkey_new() fails: '.openssl_error_string(), |
|
122 | 122 | ['app' => 'encryption']); |
123 | 123 | } |
124 | 124 | } elseif (openssl_pkey_export($res, |
@@ -133,10 +133,10 @@ discard block |
||
133 | 133 | 'privateKey' => $privateKey |
134 | 134 | ]; |
135 | 135 | } |
136 | - $log->error('Encryption library couldn\'t export users private key, please check your servers OpenSSL configuration.' . $this->user, |
|
136 | + $log->error('Encryption library couldn\'t export users private key, please check your servers OpenSSL configuration.'.$this->user, |
|
137 | 137 | ['app' => 'encryption']); |
138 | 138 | if (openssl_error_string()) { |
139 | - $log->error('Encryption Library:' . openssl_error_string(), |
|
139 | + $log->error('Encryption Library:'.openssl_error_string(), |
|
140 | 140 | ['app' => 'encryption']); |
141 | 141 | } |
142 | 142 | |
@@ -209,15 +209,15 @@ discard block |
||
209 | 209 | public function generateHeader($keyFormat = 'hash') { |
210 | 210 | |
211 | 211 | if (in_array($keyFormat, $this->supportedKeyFormats, true) === false) { |
212 | - throw new \InvalidArgumentException('key format "' . $keyFormat . '" is not supported'); |
|
212 | + throw new \InvalidArgumentException('key format "'.$keyFormat.'" is not supported'); |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | $cipher = $this->getCipher(); |
216 | 216 | |
217 | 217 | $header = self::HEADER_START |
218 | - . ':cipher:' . $cipher |
|
219 | - . ':keyFormat:' . $keyFormat |
|
220 | - . ':' . self::HEADER_END; |
|
218 | + . ':cipher:'.$cipher |
|
219 | + . ':keyFormat:'.$keyFormat |
|
220 | + . ':'.self::HEADER_END; |
|
221 | 221 | |
222 | 222 | return $header; |
223 | 223 | } |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | |
240 | 240 | if (!$encryptedContent) { |
241 | 241 | $error = 'Encryption (symmetric) of content failed'; |
242 | - $this->logger->error($error . openssl_error_string(), |
|
242 | + $this->logger->error($error.openssl_error_string(), |
|
243 | 243 | ['app' => 'encryption']); |
244 | 244 | throw new EncryptionFailedException($error); |
245 | 245 | } |
@@ -267,8 +267,8 @@ discard block |
||
267 | 267 | } |
268 | 268 | |
269 | 269 | // Workaround for OpenSSL 0.9.8. Fallback to an old cipher that should work. |
270 | - if(OPENSSL_VERSION_NUMBER < 0x1000101f) { |
|
271 | - if($cipher === 'AES-256-CTR' || $cipher === 'AES-128-CTR') { |
|
270 | + if (OPENSSL_VERSION_NUMBER < 0x1000101f) { |
|
271 | + if ($cipher === 'AES-256-CTR' || $cipher === 'AES-128-CTR') { |
|
272 | 272 | $cipher = self::LEGACY_CIPHER; |
273 | 273 | } |
274 | 274 | } |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | * @throws \InvalidArgumentException |
285 | 285 | */ |
286 | 286 | protected function getKeySize($cipher) { |
287 | - if(isset($this->supportedCiphersAndKeySize[$cipher])) { |
|
287 | + if (isset($this->supportedCiphersAndKeySize[$cipher])) { |
|
288 | 288 | return $this->supportedCiphersAndKeySize[$cipher]; |
289 | 289 | } |
290 | 290 | |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | * @return string |
312 | 312 | */ |
313 | 313 | private function concatIV($encryptedContent, $iv) { |
314 | - return $encryptedContent . '00iv00' . $iv; |
|
314 | + return $encryptedContent.'00iv00'.$iv; |
|
315 | 315 | } |
316 | 316 | |
317 | 317 | /** |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | * @return string |
321 | 321 | */ |
322 | 322 | private function concatSig($encryptedContent, $signature) { |
323 | - return $encryptedContent . '00sig00' . $signature; |
|
323 | + return $encryptedContent.'00sig00'.$signature; |
|
324 | 324 | } |
325 | 325 | |
326 | 326 | /** |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | * @return string |
333 | 333 | */ |
334 | 334 | private function addPadding($data) { |
335 | - return $data . 'xxx'; |
|
335 | + return $data.'xxx'; |
|
336 | 336 | } |
337 | 337 | |
338 | 338 | /** |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | protected function generatePasswordHash($password, $cipher, $uid = '') { |
347 | 347 | $instanceId = $this->config->getSystemValue('instanceid'); |
348 | 348 | $instanceSecret = $this->config->getSystemValue('secret'); |
349 | - $salt = hash('sha256', $uid . $instanceId . $instanceSecret, true); |
|
349 | + $salt = hash('sha256', $uid.$instanceId.$instanceSecret, true); |
|
350 | 350 | $keySize = $this->getKeySize($cipher); |
351 | 351 | |
352 | 352 | $hash = hash_pbkdf2( |
@@ -492,7 +492,7 @@ discard block |
||
492 | 492 | * @return string |
493 | 493 | */ |
494 | 494 | private function createSignature($data, $passPhrase) { |
495 | - $passPhrase = hash('sha512', $passPhrase . 'a', true); |
|
495 | + $passPhrase = hash('sha512', $passPhrase.'a', true); |
|
496 | 496 | return hash_hmac('sha256', $data, $passPhrase); |
497 | 497 | } |
498 | 498 | |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | if ($plainContent) { |
584 | 584 | return $plainContent; |
585 | 585 | } else { |
586 | - throw new DecryptionFailedException('Encryption library: Decryption (symmetric) of content failed: ' . openssl_error_string()); |
|
586 | + throw new DecryptionFailedException('Encryption library: Decryption (symmetric) of content failed: '.openssl_error_string()); |
|
587 | 587 | } |
588 | 588 | } |
589 | 589 | |
@@ -649,7 +649,7 @@ discard block |
||
649 | 649 | if (openssl_open($encKeyFile, $plainContent, $shareKey, $privateKey)) { |
650 | 650 | return $plainContent; |
651 | 651 | } else { |
652 | - throw new MultiKeyDecryptException('multikeydecrypt with share key failed:' . openssl_error_string()); |
|
652 | + throw new MultiKeyDecryptException('multikeydecrypt with share key failed:'.openssl_error_string()); |
|
653 | 653 | } |
654 | 654 | } |
655 | 655 | |
@@ -685,7 +685,7 @@ discard block |
||
685 | 685 | 'data' => $sealed |
686 | 686 | ]; |
687 | 687 | } else { |
688 | - throw new MultiKeyEncryptException('multikeyencryption failed ' . openssl_error_string()); |
|
688 | + throw new MultiKeyEncryptException('multikeyencryption failed '.openssl_error_string()); |
|
689 | 689 | } |
690 | 690 | } |
691 | 691 | } |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | // Get all mount point owners |
86 | 86 | $cache = $this->mountCollection->getMountCache(); |
87 | - $mounts = $cache->getMountsForFileId((int)$event->getComment()->getObjectId()); |
|
87 | + $mounts = $cache->getMountsForFileId((int) $event->getComment()->getObjectId()); |
|
88 | 88 | if (empty($mounts)) { |
89 | 89 | return; |
90 | 90 | } |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | foreach ($mounts as $mount) { |
94 | 94 | $owner = $mount->getUser()->getUID(); |
95 | 95 | $ownerFolder = $this->rootFolder->getUserFolder($owner); |
96 | - $nodes = $ownerFolder->getById((int)$event->getComment()->getObjectId()); |
|
96 | + $nodes = $ownerFolder->getById((int) $event->getComment()->getObjectId()); |
|
97 | 97 | if (!empty($nodes)) { |
98 | 98 | /** @var Node $node */ |
99 | 99 | $node = array_shift($nodes); |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | foreach ($users as $user => $path) { |
122 | 122 | // numerical user ids end up as integers from array keys, but string |
123 | 123 | // is required |
124 | - $activity->setAffectedUser((string)$user); |
|
124 | + $activity->setAffectedUser((string) $user); |
|
125 | 125 | |
126 | 126 | $activity->setSubject('add_comment_subject', [ |
127 | 127 | 'actor' => $actor, |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | $tables = $this->getAllNonUTF8BinTables($this->connection); |
79 | 79 | foreach ($tables as $table) { |
80 | 80 | $output->info("Change row format for $table ..."); |
81 | - $query = $this->connection->prepare('ALTER TABLE `' . $table . '` ROW_FORMAT = DYNAMIC;'); |
|
81 | + $query = $this->connection->prepare('ALTER TABLE `'.$table.'` ROW_FORMAT = DYNAMIC;'); |
|
82 | 82 | try { |
83 | 83 | $query->execute(); |
84 | 84 | } catch (DriverException $e) { |
@@ -92,10 +92,10 @@ discard block |
||
92 | 92 | $output->info("Change collation for $table ..."); |
93 | 93 | if ($characterSet === 'utf8mb4') { |
94 | 94 | // need to set row compression first |
95 | - $query = $this->connection->prepare('ALTER TABLE `' . $table . '` ROW_FORMAT=COMPRESSED;'); |
|
95 | + $query = $this->connection->prepare('ALTER TABLE `'.$table.'` ROW_FORMAT=COMPRESSED;'); |
|
96 | 96 | $query->execute(); |
97 | 97 | } |
98 | - $query = $this->connection->prepare('ALTER TABLE `' . $table . '` CONVERT TO CHARACTER SET ' . $characterSet . ' COLLATE ' . $characterSet . '_bin;'); |
|
98 | + $query = $this->connection->prepare('ALTER TABLE `'.$table.'` CONVERT TO CHARACTER SET '.$characterSet.' COLLATE '.$characterSet.'_bin;'); |
|
99 | 99 | try { |
100 | 100 | $query->execute(); |
101 | 101 | } catch (DriverException $e) { |
@@ -121,10 +121,10 @@ discard block |
||
121 | 121 | |
122 | 122 | // fetch tables by columns |
123 | 123 | $statement = $connection->executeQuery( |
124 | - "SELECT DISTINCT(TABLE_NAME) AS `table`" . |
|
125 | - " FROM INFORMATION_SCHEMA . COLUMNS" . |
|
126 | - " WHERE TABLE_SCHEMA = ?" . |
|
127 | - " AND (COLLATION_NAME <> '" . $characterSet . "_bin' OR CHARACTER_SET_NAME <> '" . $characterSet . "')" . |
|
124 | + "SELECT DISTINCT(TABLE_NAME) AS `table`". |
|
125 | + " FROM INFORMATION_SCHEMA . COLUMNS". |
|
126 | + " WHERE TABLE_SCHEMA = ?". |
|
127 | + " AND (COLLATION_NAME <> '".$characterSet."_bin' OR CHARACTER_SET_NAME <> '".$characterSet."')". |
|
128 | 128 | " AND TABLE_NAME LIKE '*PREFIX*%'", |
129 | 129 | array($dbName) |
130 | 130 | ); |
@@ -136,10 +136,10 @@ discard block |
||
136 | 136 | |
137 | 137 | // fetch tables by collation |
138 | 138 | $statement = $connection->executeQuery( |
139 | - "SELECT DISTINCT(TABLE_NAME) AS `table`" . |
|
140 | - " FROM INFORMATION_SCHEMA . TABLES" . |
|
141 | - " WHERE TABLE_SCHEMA = ?" . |
|
142 | - " AND TABLE_COLLATION <> '" . $characterSet . "_bin'" . |
|
139 | + "SELECT DISTINCT(TABLE_NAME) AS `table`". |
|
140 | + " FROM INFORMATION_SCHEMA . TABLES". |
|
141 | + " WHERE TABLE_SCHEMA = ?". |
|
142 | + " AND TABLE_COLLATION <> '".$characterSet."_bin'". |
|
143 | 143 | " AND TABLE_NAME LIKE '*PREFIX*%'", |
144 | 144 | [$dbName] |
145 | 145 | ); |
@@ -47,13 +47,13 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | $xml = new \DOMDocument(); |
50 | - $xml->load($appPath . '/appinfo/info.xml'); |
|
50 | + $xml->load($appPath.'/appinfo/info.xml'); |
|
51 | 51 | |
52 | - $schema = \OC::$SERVERROOT . '/resources/app-info.xsd'; |
|
52 | + $schema = \OC::$SERVERROOT.'/resources/app-info.xsd'; |
|
53 | 53 | try { |
54 | 54 | if ($this->isShipped($appId)) { |
55 | 55 | // Shipped apps are allowed to have the public and default_enabled tags |
56 | - $schema = \OC::$SERVERROOT . '/resources/app-info-shipped.xsd'; |
|
56 | + $schema = \OC::$SERVERROOT.'/resources/app-info-shipped.xsd'; |
|
57 | 57 | } |
58 | 58 | } catch (\Exception $e) { |
59 | 59 | // Assume it is not shipped |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | protected function loadShippedJson() { |
100 | 100 | if ($this->shippedApps === null) { |
101 | - $shippedJson = \OC::$SERVERROOT . '/core/shipped.json'; |
|
101 | + $shippedJson = \OC::$SERVERROOT.'/core/shipped.json'; |
|
102 | 102 | if (!file_exists($shippedJson)) { |
103 | 103 | throw new \Exception("File not found: $shippedJson"); |
104 | 104 | } |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $appId = $input->getArgument('app-id'); |
54 | 54 | |
55 | 55 | if (\OC_App::getAppPath($appId)) { |
56 | - $output->writeln($appId . ' already installed'); |
|
56 | + $output->writeln($appId.' already installed'); |
|
57 | 57 | return 1; |
58 | 58 | } |
59 | 59 | |
@@ -61,22 +61,22 @@ discard block |
||
61 | 61 | $installer = \OC::$server->query(Installer::class); |
62 | 62 | $installer->downloadApp($appId); |
63 | 63 | $result = $installer->installApp($appId); |
64 | - } catch(\Exception $e) { |
|
65 | - $output->writeln('Error: ' . $e->getMessage()); |
|
64 | + } catch (\Exception $e) { |
|
65 | + $output->writeln('Error: '.$e->getMessage()); |
|
66 | 66 | return 1; |
67 | 67 | } |
68 | 68 | |
69 | - if($result === false) { |
|
70 | - $output->writeln($appId . ' couldn\'t be installed'); |
|
69 | + if ($result === false) { |
|
70 | + $output->writeln($appId.' couldn\'t be installed'); |
|
71 | 71 | return 1; |
72 | 72 | } |
73 | 73 | |
74 | - $output->writeln($appId . ' installed'); |
|
74 | + $output->writeln($appId.' installed'); |
|
75 | 75 | |
76 | 76 | if (!$input->getOption('keep-disabled')) { |
77 | 77 | $appClass = new \OC_App(); |
78 | 78 | $appClass->enable($appId); |
79 | - $output->writeln($appId . ' enabled'); |
|
79 | + $output->writeln($appId.' enabled'); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | return 0; |
@@ -141,12 +141,12 @@ discard block |
||
141 | 141 | return $storage->getId(); |
142 | 142 | }, $storages)); |
143 | 143 | |
144 | - $availableStorages = array_map(function (Storage\IStorage $storage, StorageConfig $storageConfig) { |
|
144 | + $availableStorages = array_map(function(Storage\IStorage $storage, StorageConfig $storageConfig) { |
|
145 | 145 | try { |
146 | 146 | $availability = $storage->getAvailability(); |
147 | 147 | if (!$availability['available'] && !Availability::shouldRecheck($availability)) { |
148 | 148 | $storage = new FailedStorage([ |
149 | - 'exception' => new StorageNotAvailableException('Storage with mount id ' . $storageConfig->getId() . ' is not available') |
|
149 | + 'exception' => new StorageNotAvailableException('Storage with mount id '.$storageConfig->getId().' is not available') |
|
150 | 150 | ]); |
151 | 151 | } |
152 | 152 | } catch (\Exception $e) { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | $this->userStoragesService, |
163 | 163 | $storageConfig->getId(), |
164 | 164 | $storage, |
165 | - '/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(), |
|
165 | + '/'.$user->getUID().'/files'.$storageConfig->getMountPoint(), |
|
166 | 166 | null, |
167 | 167 | $loader, |
168 | 168 | $storageConfig->getMountOptions() |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | } else { |
171 | 171 | return new ExternalMountPoint( |
172 | 172 | $storage, |
173 | - '/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(), |
|
173 | + '/'.$user->getUID().'/files'.$storageConfig->getMountPoint(), |
|
174 | 174 | null, |
175 | 175 | $loader, |
176 | 176 | $storageConfig->getMountOptions(), |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <fieldset id="ldapWizard2"> |
2 | 2 | <div> |
3 | 3 | <p> |
4 | - <?php p($l->t('Listing and searching for users is constrained by these criteria:'));?> |
|
4 | + <?php p($l->t('Listing and searching for users is constrained by these criteria:')); ?> |
|
5 | 5 | </p> |
6 | 6 | <p> |
7 | 7 | <label for="ldap_userfilter_objectclass"> |
8 | - <?php p($l->t('Only these object classes:'));?> |
|
8 | + <?php p($l->t('Only these object classes:')); ?> |
|
9 | 9 | </label> |
10 | 10 | |
11 | 11 | <select id="ldap_userfilter_objectclass" multiple="multiple" |
@@ -14,14 +14,14 @@ discard block |
||
14 | 14 | </p> |
15 | 15 | <p> |
16 | 16 | <label></label> |
17 | - <span class="ldapInputColElement"><?php p($l->t('The most common object classes for users are organizationalPerson, person, user, and inetOrgPerson. If you are not sure which object class to select, please consult your directory admin.'));?></span> |
|
17 | + <span class="ldapInputColElement"><?php p($l->t('The most common object classes for users are organizationalPerson, person, user, and inetOrgPerson. If you are not sure which object class to select, please consult your directory admin.')); ?></span> |
|
18 | 18 | </p> |
19 | 19 | <p> |
20 | 20 | <label for="ldap_userfilter_groups"> |
21 | - <?php p($l->t('Only from these groups:'));?> |
|
21 | + <?php p($l->t('Only from these groups:')); ?> |
|
22 | 22 | </label> |
23 | 23 | |
24 | - <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups'));?>" /> |
|
24 | + <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups')); ?>" /> |
|
25 | 25 | |
26 | 26 | <select id="ldap_userfilter_groups" multiple="multiple" |
27 | 27 | name="ldap_userfilter_groups" class="multiSelectPlugin"> |
@@ -30,26 +30,26 @@ discard block |
||
30 | 30 | <p class="ldapManyGroupsSupport hidden"> |
31 | 31 | <label></label> |
32 | 32 | <select class="ldapGroupList ldapGroupListAvailable" multiple="multiple" |
33 | - title="<?php p($l->t('Available groups'));?>"></select> |
|
33 | + title="<?php p($l->t('Available groups')); ?>"></select> |
|
34 | 34 | <span class="buttonSpan"> |
35 | 35 | <button class="ldapGroupListSelect" type="button">></button><br/> |
36 | 36 | <button class="ldapGroupListDeselect" type="button"><</button> |
37 | 37 | </span> |
38 | 38 | <select class="ldapGroupList ldapGroupListSelected" multiple="multiple" |
39 | - title="<?php p($l->t('Selected groups'));?>"></select> |
|
39 | + title="<?php p($l->t('Selected groups')); ?>"></select> |
|
40 | 40 | </p> |
41 | 41 | <p> |
42 | - <label><a id='toggleRawUserFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label> |
|
42 | + <label><a id='toggleRawUserFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query')); ?></a></label> |
|
43 | 43 | </p> |
44 | 44 | <p id="ldapReadOnlyUserFilterContainer" class="hidden ldapReadOnlyFilterContainer"> |
45 | - <label><?php p($l->t('LDAP Filter:'));?></label> |
|
45 | + <label><?php p($l->t('LDAP Filter:')); ?></label> |
|
46 | 46 | <span class="ldapFilterReadOnlyElement ldapInputColElement"></span> |
47 | 47 | </p> |
48 | 48 | <p id="rawUserFilterContainer"> |
49 | 49 | <textarea type="text" id="ldap_userlist_filter" name="ldap_userlist_filter" |
50 | 50 | class="ldapFilterInputElement" |
51 | - placeholder="<?php p($l->t('Edit LDAP Query'));?>" |
|
52 | - title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()]));?>"> |
|
51 | + placeholder="<?php p($l->t('Edit LDAP Query')); ?>" |
|
52 | + title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()])); ?>"> |
|
53 | 53 | </textarea> |
54 | 54 | </p> |
55 | 55 | <p> |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | </p> |
58 | 58 | <p class="ldap_count"> |
59 | 59 | <button class="ldapGetEntryCount ldapGetUserCount" name="ldapGetEntryCount" type="button"> |
60 | - <?php p($l->t('Verify settings and count users'));?> |
|
60 | + <?php p($l->t('Verify settings and count users')); ?> |
|
61 | 61 | </button> |
62 | 62 | <span id="ldap_user_count"></span> |
63 | 63 | </p> |