@@ -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 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | use OC\App\CodeChecker\DeprecationCheck; |
43 | 43 | use OC\App\CodeChecker\PrivateCheck; |
44 | 44 | |
45 | -class CheckCode extends Command implements CompletionAwareInterface { |
|
45 | +class CheckCode extends Command implements CompletionAwareInterface { |
|
46 | 46 | |
47 | 47 | protected $checkers = [ |
48 | 48 | 'private' => PrivateCheck::class, |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | 'c', |
65 | 65 | InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, |
66 | 66 | 'enable the specified checker(s)', |
67 | - [ 'private', 'deprecation', 'strong-comparison' ] |
|
67 | + ['private', 'deprecation', 'strong-comparison'] |
|
68 | 68 | ) |
69 | 69 | ->addOption( |
70 | 70 | '--skip-checkers', |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | $codeChecker = new CodeChecker($checkList, !$input->getOption('skip-validate-info')); |
96 | 96 | |
97 | 97 | $codeChecker->listen('CodeChecker', 'analyseFileBegin', function($params) use ($output) { |
98 | - if(OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { |
|
98 | + if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { |
|
99 | 99 | $output->writeln("<info>Analysing {$params}</info>"); |
100 | 100 | } |
101 | 101 | }); |
@@ -103,29 +103,29 @@ discard block |
||
103 | 103 | $count = count($errors); |
104 | 104 | |
105 | 105 | // show filename if the verbosity is low, but there are errors in a file |
106 | - if($count > 0 && OutputInterface::VERBOSITY_VERBOSE > $output->getVerbosity()) { |
|
106 | + if ($count > 0 && OutputInterface::VERBOSITY_VERBOSE > $output->getVerbosity()) { |
|
107 | 107 | $output->writeln("<info>Analysing {$filename}</info>"); |
108 | 108 | } |
109 | 109 | |
110 | 110 | // show error count if there are errors present or the verbosity is high |
111 | - if($count > 0 || OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { |
|
111 | + if ($count > 0 || OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { |
|
112 | 112 | $output->writeln(" {$count} errors"); |
113 | 113 | } |
114 | 114 | usort($errors, function($a, $b) { |
115 | - return $a['line'] >$b['line']; |
|
115 | + return $a['line'] > $b['line']; |
|
116 | 116 | }); |
117 | 117 | |
118 | - foreach($errors as $p) { |
|
118 | + foreach ($errors as $p) { |
|
119 | 119 | $line = sprintf("%' 4d", $p['line']); |
120 | 120 | $output->writeln(" <error>line $line: {$p['disallowedToken']} - {$p['reason']}</error>"); |
121 | 121 | } |
122 | 122 | }); |
123 | 123 | $errors = []; |
124 | - if(!$input->getOption('skip-checkers')) { |
|
124 | + if (!$input->getOption('skip-checkers')) { |
|
125 | 125 | $errors = $codeChecker->analyse($appId); |
126 | 126 | } |
127 | 127 | |
128 | - if(!$input->getOption('skip-validate-info')) { |
|
128 | + if (!$input->getOption('skip-validate-info')) { |
|
129 | 129 | $infoChecker = new InfoChecker(); |
130 | 130 | $infoChecker->listen('InfoChecker', 'parseError', function($error) use ($output) { |
131 | 131 | $output->writeln("<error>Invalid appinfo.xml file found: $error</error>"); |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | throw new \RuntimeException("No app with given id <$appId> known."); |
179 | 179 | } |
180 | 180 | |
181 | - $updatePhp = $appPath . '/appinfo/update.php'; |
|
181 | + $updatePhp = $appPath.'/appinfo/update.php'; |
|
182 | 182 | if (file_exists($updatePhp)) { |
183 | 183 | $output->writeln("<info>Deprecated file found: $updatePhp - please use repair steps</info>"); |
184 | 184 | } |
@@ -113,11 +113,11 @@ discard block |
||
113 | 113 | $values = $this->appConfig->getValues(false, 'enabled'); |
114 | 114 | |
115 | 115 | $alwaysEnabledApps = $this->getAlwaysEnabledApps(); |
116 | - foreach($alwaysEnabledApps as $appId) { |
|
116 | + foreach ($alwaysEnabledApps as $appId) { |
|
117 | 117 | $values[$appId] = 'yes'; |
118 | 118 | } |
119 | 119 | |
120 | - $this->installedAppsCache = array_filter($values, function ($value) { |
|
120 | + $this->installedAppsCache = array_filter($values, function($value) { |
|
121 | 121 | return $value !== 'no'; |
122 | 122 | }); |
123 | 123 | ksort($this->installedAppsCache); |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | */ |
143 | 143 | public function getEnabledAppsForUser(IUser $user) { |
144 | 144 | $apps = $this->getInstalledAppsValues(); |
145 | - $appsForUser = array_filter($apps, function ($enabled) use ($user) { |
|
145 | + $appsForUser = array_filter($apps, function($enabled) use ($user) { |
|
146 | 146 | return $this->checkAppForUser($enabled, $user); |
147 | 147 | }); |
148 | 148 | return array_keys($appsForUser); |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | } elseif ($user === null) { |
182 | 182 | return false; |
183 | 183 | } else { |
184 | - if(empty($enabled)){ |
|
184 | + if (empty($enabled)) { |
|
185 | 185 | return false; |
186 | 186 | } |
187 | 187 | |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | |
190 | 190 | if (!is_array($groupIds)) { |
191 | 191 | $jsonError = json_last_error(); |
192 | - \OC::$server->getLogger()->warning('AppManger::checkAppForUser - can\'t decode group IDs: ' . print_r($enabled, true) . ' - json error code: ' . $jsonError, ['app' => 'lib']); |
|
192 | + \OC::$server->getLogger()->warning('AppManger::checkAppForUser - can\'t decode group IDs: '.print_r($enabled, true).' - json error code: '.$jsonError, ['app' => 'lib']); |
|
193 | 193 | return false; |
194 | 194 | } |
195 | 195 | |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | } |
264 | 264 | } |
265 | 265 | |
266 | - $groupIds = array_map(function ($group) { |
|
266 | + $groupIds = array_map(function($group) { |
|
267 | 267 | /** @var \OCP\IGroup $group */ |
268 | 268 | return $group->getGID(); |
269 | 269 | }, $groups); |
@@ -302,8 +302,8 @@ discard block |
||
302 | 302 | */ |
303 | 303 | public function getAppPath($appId) { |
304 | 304 | $appPath = \OC_App::getAppPath($appId); |
305 | - if($appPath === false) { |
|
306 | - throw new AppPathNotFoundException('Could not find path for ' . $appId); |
|
305 | + if ($appPath === false) { |
|
306 | + throw new AppPathNotFoundException('Could not find path for '.$appId); |
|
307 | 307 | } |
308 | 308 | return $appPath; |
309 | 309 | } |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | } catch (AppPathNotFoundException $e) { |
364 | 364 | return null; |
365 | 365 | } |
366 | - $file = $appPath . '/appinfo/info.xml'; |
|
366 | + $file = $appPath.'/appinfo/info.xml'; |
|
367 | 367 | } |
368 | 368 | |
369 | 369 | $parser = new InfoParser($this->memCacheFactory->createLocal('core.appinfo')); |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | } |
382 | 382 | |
383 | 383 | public function getAppVersion(string $appId, bool $useCache = true): string { |
384 | - if(!$useCache || !isset($this->appVersions[$appId])) { |
|
384 | + if (!$useCache || !isset($this->appVersions[$appId])) { |
|
385 | 385 | $appInfo = \OC::$server->getAppManager()->getAppInfo($appId); |
386 | 386 | $this->appVersions[$appId] = ($appInfo !== null && isset($appInfo['version'])) ? $appInfo['version'] : '0'; |
387 | 387 | } |
@@ -429,7 +429,7 @@ discard block |
||
429 | 429 | */ |
430 | 430 | private function loadShippedJson() { |
431 | 431 | if ($this->shippedApps === null) { |
432 | - $shippedJson = \OC::$SERVERROOT . '/core/shipped.json'; |
|
432 | + $shippedJson = \OC::$SERVERROOT.'/core/shipped.json'; |
|
433 | 433 | if (!file_exists($shippedJson)) { |
434 | 434 | throw new \Exception("File not found: $shippedJson"); |
435 | 435 | } |
@@ -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> |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <fieldset id="ldapWizard4"> |
2 | 2 | <div> |
3 | 3 | <p> |
4 | - <?php p($l->t('Groups meeting these criteria are available in %s:', [$theme->getName()]));?> |
|
4 | + <?php p($l->t('Groups meeting these criteria are available in %s:', [$theme->getName()])); ?> |
|
5 | 5 | </p> |
6 | 6 | <p> |
7 | 7 | <label for="ldap_groupfilter_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_groupfilter_objectclass" multiple="multiple" |
@@ -14,10 +14,10 @@ discard block |
||
14 | 14 | </p> |
15 | 15 | <p> |
16 | 16 | <label for="ldap_groupfilter_groups"> |
17 | - <?php p($l->t('Only from these groups:'));?> |
|
17 | + <?php p($l->t('Only from these groups:')); ?> |
|
18 | 18 | </label> |
19 | 19 | |
20 | - <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups'));?>" /> |
|
20 | + <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups')); ?>" /> |
|
21 | 21 | |
22 | 22 | <select id="ldap_groupfilter_groups" multiple="multiple" |
23 | 23 | name="ldap_groupfilter_groups" class="multiSelectPlugin"> |
@@ -27,25 +27,25 @@ discard block |
||
27 | 27 | <p class="ldapManyGroupsSupport hidden"> |
28 | 28 | <label></label> |
29 | 29 | <select class="ldapGroupList ldapGroupListAvailable" multiple="multiple" |
30 | - title="<?php p($l->t('Available groups'));?>"></select> |
|
30 | + title="<?php p($l->t('Available groups')); ?>"></select> |
|
31 | 31 | <span class="buttonSpan"> |
32 | 32 | <button class="ldapGroupListSelect" type="button">></button><br/> |
33 | 33 | <button class="ldapGroupListDeselect" type="button"><</button> |
34 | 34 | </span> |
35 | 35 | <select class="ldapGroupList ldapGroupListSelected" multiple="multiple" |
36 | - title="<?php p($l->t('Selected groups'));?>"></select> |
|
36 | + title="<?php p($l->t('Selected groups')); ?>"></select> |
|
37 | 37 | </p> |
38 | 38 | <p> |
39 | - <label><a id='toggleRawGroupFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label> |
|
39 | + <label><a id='toggleRawGroupFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query')); ?></a></label> |
|
40 | 40 | </p> |
41 | 41 | <p id="ldapReadOnlyGroupFilterContainer" class="hidden ldapReadOnlyFilterContainer"> |
42 | - <label><?php p($l->t('LDAP Filter:'));?></label> |
|
42 | + <label><?php p($l->t('LDAP Filter:')); ?></label> |
|
43 | 43 | <span class="ldapFilterReadOnlyElement ldapInputColElement"></span> |
44 | 44 | </p> |
45 | 45 | <p id="rawGroupFilterContainer" class="invisible"> |
46 | 46 | <textarea type="text" id="ldap_group_filter" name="ldap_group_filter" |
47 | - placeholder="<?php p($l->t('Edit LDAP Query'));?>" |
|
48 | - title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()]));?>"> |
|
47 | + placeholder="<?php p($l->t('Edit LDAP Query')); ?>" |
|
48 | + title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()])); ?>"> |
|
49 | 49 | </textarea> |
50 | 50 | </p> |
51 | 51 | <p> |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | </p> |
54 | 54 | <p class="ldap_count"> |
55 | 55 | <button class="ldapGetEntryCount ldapGetGroupCount" name="ldapGetEntryCount" type="button"> |
56 | - <?php p($l->t('Verify settings and count the groups'));?> |
|
56 | + <?php p($l->t('Verify settings and count the groups')); ?> |
|
57 | 57 | </button> |
58 | 58 | <span id="ldap_group_count"></span> |
59 | 59 | </p> |