Completed
Push — stable9 ( 11047b...318578 )
by Lukas
20:03 queued 09:36
created
apps/admin_audit/lib/actions/sharing.php 2 patches
Indentation   +154 added lines, -154 removed lines patch added patch discarded remove patch
@@ -29,163 +29,163 @@
 block discarded – undo
29 29
  * @package OCA\Admin_Audit\Actions
30 30
  */
31 31
 class Sharing extends Action {
32
-	/**
33
-	 * Logs sharing of data
34
-	 *
35
-	 * @param array $params
36
-	 */
37
-	public function shared(array $params) {
38
-		if($params['shareType'] === Share::SHARE_TYPE_LINK) {
39
-			$this->log(
40
-				'The %s "%s" with ID "%s" has been shared via link with permissions "%s" (Share ID: %s)',
41
-				$params,
42
-				[
43
-					'itemType',
44
-					'itemTarget',
45
-					'itemSource',
46
-					'permissions',
47
-					'id',
48
-				]
49
-			);
50
-		} elseif($params['shareType'] === Share::SHARE_TYPE_USER) {
51
-			$this->log(
52
-				'The %s "%s" with ID "%s" has been shared to the user "%s" with permissions "%s"  (Share ID: %s)',
53
-				$params,
54
-				[
55
-					'itemType',
56
-					'itemTarget',
57
-					'itemSource',
58
-					'shareWith',
59
-					'permissions',
60
-					'id',
61
-				]
62
-			);
63
-		} elseif($params['shareType'] === Share::SHARE_TYPE_GROUP) {
64
-			$this->log(
65
-				'The %s "%s" with ID "%s" has been shared to the group "%s" with permissions "%s"  (Share ID: %s)',
66
-				$params,
67
-				[
68
-					'itemType',
69
-					'itemTarget',
70
-					'itemSource',
71
-					'shareWith',
72
-					'permissions',
73
-					'id',
74
-				]
75
-			);
76
-		}
77
-	}
32
+    /**
33
+     * Logs sharing of data
34
+     *
35
+     * @param array $params
36
+     */
37
+    public function shared(array $params) {
38
+        if($params['shareType'] === Share::SHARE_TYPE_LINK) {
39
+            $this->log(
40
+                'The %s "%s" with ID "%s" has been shared via link with permissions "%s" (Share ID: %s)',
41
+                $params,
42
+                [
43
+                    'itemType',
44
+                    'itemTarget',
45
+                    'itemSource',
46
+                    'permissions',
47
+                    'id',
48
+                ]
49
+            );
50
+        } elseif($params['shareType'] === Share::SHARE_TYPE_USER) {
51
+            $this->log(
52
+                'The %s "%s" with ID "%s" has been shared to the user "%s" with permissions "%s"  (Share ID: %s)',
53
+                $params,
54
+                [
55
+                    'itemType',
56
+                    'itemTarget',
57
+                    'itemSource',
58
+                    'shareWith',
59
+                    'permissions',
60
+                    'id',
61
+                ]
62
+            );
63
+        } elseif($params['shareType'] === Share::SHARE_TYPE_GROUP) {
64
+            $this->log(
65
+                'The %s "%s" with ID "%s" has been shared to the group "%s" with permissions "%s"  (Share ID: %s)',
66
+                $params,
67
+                [
68
+                    'itemType',
69
+                    'itemTarget',
70
+                    'itemSource',
71
+                    'shareWith',
72
+                    'permissions',
73
+                    'id',
74
+                ]
75
+            );
76
+        }
77
+    }
78 78
 
79
-	/**
80
-	 * Logs unsharing of data
81
-	 *
82
-	 * @param array $params
83
-	 */
84
-	public function unshare(array $params) {
85
-		if($params['shareType'] === Share::SHARE_TYPE_LINK) {
86
-			$this->log(
87
-				'The %s "%s" with ID "%s" has been unshared (Share ID: %s)',
88
-				$params,
89
-				[
90
-					'itemType',
91
-					'fileTarget',
92
-					'itemSource',
93
-					'id',
94
-				]
95
-			);
96
-		} elseif($params['shareType'] === Share::SHARE_TYPE_USER) {
97
-			$this->log(
98
-				'The %s "%s" with ID "%s" has been unshared from the user "%s" (Share ID: %s)',
99
-				$params,
100
-				[
101
-					'itemType',
102
-					'fileTarget',
103
-					'itemSource',
104
-					'shareWith',
105
-					'id',
106
-				]
107
-			);
108
-		} elseif($params['shareType'] === Share::SHARE_TYPE_GROUP) {
109
-			$this->log(
110
-				'The %s "%s" with ID "%s" has been unshared from the group "%s" (Share ID: %s)',
111
-				$params,
112
-				[
113
-					'itemType',
114
-					'fileTarget',
115
-					'itemSource',
116
-					'shareWith',
117
-					'id',
118
-				]
119
-			);
120
-		}
121
-	}
79
+    /**
80
+     * Logs unsharing of data
81
+     *
82
+     * @param array $params
83
+     */
84
+    public function unshare(array $params) {
85
+        if($params['shareType'] === Share::SHARE_TYPE_LINK) {
86
+            $this->log(
87
+                'The %s "%s" with ID "%s" has been unshared (Share ID: %s)',
88
+                $params,
89
+                [
90
+                    'itemType',
91
+                    'fileTarget',
92
+                    'itemSource',
93
+                    'id',
94
+                ]
95
+            );
96
+        } elseif($params['shareType'] === Share::SHARE_TYPE_USER) {
97
+            $this->log(
98
+                'The %s "%s" with ID "%s" has been unshared from the user "%s" (Share ID: %s)',
99
+                $params,
100
+                [
101
+                    'itemType',
102
+                    'fileTarget',
103
+                    'itemSource',
104
+                    'shareWith',
105
+                    'id',
106
+                ]
107
+            );
108
+        } elseif($params['shareType'] === Share::SHARE_TYPE_GROUP) {
109
+            $this->log(
110
+                'The %s "%s" with ID "%s" has been unshared from the group "%s" (Share ID: %s)',
111
+                $params,
112
+                [
113
+                    'itemType',
114
+                    'fileTarget',
115
+                    'itemSource',
116
+                    'shareWith',
117
+                    'id',
118
+                ]
119
+            );
120
+        }
121
+    }
122 122
 
123
-	/**
124
-	 * Logs the updating of permission changes for shares
125
-	 *
126
-	 * @param array $params
127
-	 */
128
-	public function updatePermissions(array $params) {
129
-		$this->log(
130
-			'The permissions of the shared %s "%s" with ID "%s" have been changed to "%s"',
131
-			$params,
132
-			[
133
-				'itemType',
134
-				'path',
135
-				'itemSource',
136
-				'permissions',
137
-			]
138
-		);
139
-	}
123
+    /**
124
+     * Logs the updating of permission changes for shares
125
+     *
126
+     * @param array $params
127
+     */
128
+    public function updatePermissions(array $params) {
129
+        $this->log(
130
+            'The permissions of the shared %s "%s" with ID "%s" have been changed to "%s"',
131
+            $params,
132
+            [
133
+                'itemType',
134
+                'path',
135
+                'itemSource',
136
+                'permissions',
137
+            ]
138
+        );
139
+    }
140 140
 
141
-	/**
142
-	 * Logs the password changes for a share
143
-	 *
144
-	 * @param array $params
145
-	 */
146
-	public function updatePassword(array $params) {
147
-		$this->log(
148
-			'The password of the publicly shared %s "%s" with ID "%s" has been changed',
149
-			$params,
150
-			[
151
-				'itemType',
152
-				'token',
153
-				'itemSource',
154
-			]
155
-		);
156
-	}
141
+    /**
142
+     * Logs the password changes for a share
143
+     *
144
+     * @param array $params
145
+     */
146
+    public function updatePassword(array $params) {
147
+        $this->log(
148
+            'The password of the publicly shared %s "%s" with ID "%s" has been changed',
149
+            $params,
150
+            [
151
+                'itemType',
152
+                'token',
153
+                'itemSource',
154
+            ]
155
+        );
156
+    }
157 157
 
158
-	/**
159
-	 * Logs the expiration date changes for a share
160
-	 *
161
-	 * @param array $params
162
-	 */
163
-	public function updateExpirationDate(array $params) {
164
-		$this->log(
165
-			'The expiration date of the publicly shared %s with ID "%s" has been changed to "%s"',
166
-			$params,
167
-			[
168
-				'itemType',
169
-				'itemSource',
170
-				'date',
171
-			]
172
-		);
173
-	}
158
+    /**
159
+     * Logs the expiration date changes for a share
160
+     *
161
+     * @param array $params
162
+     */
163
+    public function updateExpirationDate(array $params) {
164
+        $this->log(
165
+            'The expiration date of the publicly shared %s with ID "%s" has been changed to "%s"',
166
+            $params,
167
+            [
168
+                'itemType',
169
+                'itemSource',
170
+                'date',
171
+            ]
172
+        );
173
+    }
174 174
 
175
-	/**
176
-	 * Logs access of shared files
177
-	 *
178
-	 * @param array $params
179
-	 */
180
-	public function shareAccessed(array $params) {
181
-		$this->log(
182
-			'The shared %s with the token "%s" by "%s" has been accessed.',
183
-			$params,
184
-			[
185
-				'itemType',
186
-				'token',
187
-				'uidOwner',
188
-			]
189
-		);
190
-	}
175
+    /**
176
+     * Logs access of shared files
177
+     *
178
+     * @param array $params
179
+     */
180
+    public function shareAccessed(array $params) {
181
+        $this->log(
182
+            'The shared %s with the token "%s" by "%s" has been accessed.',
183
+            $params,
184
+            [
185
+                'itemType',
186
+                'token',
187
+                'uidOwner',
188
+            ]
189
+        );
190
+    }
191 191
 }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 	 * @param array $params
36 36
 	 */
37 37
 	public function shared(array $params) {
38
-		if($params['shareType'] === Share::SHARE_TYPE_LINK) {
38
+		if ($params['shareType'] === Share::SHARE_TYPE_LINK) {
39 39
 			$this->log(
40 40
 				'The %s "%s" with ID "%s" has been shared via link with permissions "%s" (Share ID: %s)',
41 41
 				$params,
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 					'id',
48 48
 				]
49 49
 			);
50
-		} elseif($params['shareType'] === Share::SHARE_TYPE_USER) {
50
+		} elseif ($params['shareType'] === Share::SHARE_TYPE_USER) {
51 51
 			$this->log(
52 52
 				'The %s "%s" with ID "%s" has been shared to the user "%s" with permissions "%s"  (Share ID: %s)',
53 53
 				$params,
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 					'id',
61 61
 				]
62 62
 			);
63
-		} elseif($params['shareType'] === Share::SHARE_TYPE_GROUP) {
63
+		} elseif ($params['shareType'] === Share::SHARE_TYPE_GROUP) {
64 64
 			$this->log(
65 65
 				'The %s "%s" with ID "%s" has been shared to the group "%s" with permissions "%s"  (Share ID: %s)',
66 66
 				$params,
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	 * @param array $params
83 83
 	 */
84 84
 	public function unshare(array $params) {
85
-		if($params['shareType'] === Share::SHARE_TYPE_LINK) {
85
+		if ($params['shareType'] === Share::SHARE_TYPE_LINK) {
86 86
 			$this->log(
87 87
 				'The %s "%s" with ID "%s" has been unshared (Share ID: %s)',
88 88
 				$params,
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 					'id',
94 94
 				]
95 95
 			);
96
-		} elseif($params['shareType'] === Share::SHARE_TYPE_USER) {
96
+		} elseif ($params['shareType'] === Share::SHARE_TYPE_USER) {
97 97
 			$this->log(
98 98
 				'The %s "%s" with ID "%s" has been unshared from the user "%s" (Share ID: %s)',
99 99
 				$params,
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 					'id',
106 106
 				]
107 107
 			);
108
-		} elseif($params['shareType'] === Share::SHARE_TYPE_GROUP) {
108
+		} elseif ($params['shareType'] === Share::SHARE_TYPE_GROUP) {
109 109
 			$this->log(
110 110
 				'The %s "%s" with ID "%s" has been unshared from the group "%s" (Share ID: %s)',
111 111
 				$params,
Please login to merge, or discard this patch.
apps/admin_audit/appinfo/app.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
-
4 3
  *
5 4
  * @author Bjoern Schiessle <[email protected]>
6 5
  * @author Lukas Reschke <[email protected]>
Please login to merge, or discard this patch.
apps/files_versions/ajax/getVersions.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -35,22 +35,22 @@
 block discarded – undo
35 35
 $versions = OCA\Files_Versions\Storage::getVersions($uid, $filename, $source);
36 36
 if( $versions ) {
37 37
 
38
-	$endReached = false;
39
-	if (count($versions) <= $start+$count) {
40
-		$endReached = true;
41
-	}
38
+    $endReached = false;
39
+    if (count($versions) <= $start+$count) {
40
+        $endReached = true;
41
+    }
42 42
 
43
-	$versions = array_slice($versions, $start, $count);
43
+    $versions = array_slice($versions, $start, $count);
44 44
 
45
-	// remove owner path from request to not disclose it to the recipient
46
-	foreach ($versions as $version) {
47
-		unset($version['path']);
48
-	}
45
+    // remove owner path from request to not disclose it to the recipient
46
+    foreach ($versions as $version) {
47
+        unset($version['path']);
48
+    }
49 49
 
50
-	\OCP\JSON::success(array('data' => array('versions' => $versions, 'endReached' => $endReached)));
50
+    \OCP\JSON::success(array('data' => array('versions' => $versions, 'endReached' => $endReached)));
51 51
 
52 52
 } else {
53 53
 
54
-	\OCP\JSON::success(array('data' => array('versions' => [], 'endReached' => true)));
54
+    \OCP\JSON::success(array('data' => array('versions' => [], 'endReached' => true)));
55 55
 
56 56
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,15 +28,15 @@
 block discarded – undo
28 28
 OCP\JSON::callCheck();
29 29
 OCP\JSON::checkAppEnabled('files_versions');
30 30
 
31
-$source = (string)$_GET['source'];
32
-$start = (int)$_GET['start'];
31
+$source = (string) $_GET['source'];
32
+$start = (int) $_GET['start'];
33 33
 list ($uid, $filename) = OCA\Files_Versions\Storage::getUidAndFilename($source);
34 34
 $count = 5; //show the newest revisions
35 35
 $versions = OCA\Files_Versions\Storage::getVersions($uid, $filename, $source);
36
-if( $versions ) {
36
+if ($versions) {
37 37
 
38 38
 	$endReached = false;
39
-	if (count($versions) <= $start+$count) {
39
+	if (count($versions) <= $start + $count) {
40 40
 		$endReached = true;
41 41
 	}
42 42
 
Please login to merge, or discard this patch.
apps/files_versions/ajax/rollbackVersion.php 3 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
 $revision=(int)$_GET['revision'];
35 35
 
36 36
 if(OCA\Files_Versions\Storage::rollback( $file, $revision )) {
37
-	OCP\JSON::success(array("data" => array( "revision" => $revision, "file" => $file )));
37
+    OCP\JSON::success(array("data" => array( "revision" => $revision, "file" => $file )));
38 38
 }else{
39
-	$l = \OC::$server->getL10N('files_versions');
40
-	OCP\JSON::error(array("data" => array( "message" => $l->t("Could not revert: %s", array($file) ))));
39
+    $l = \OC::$server->getL10N('files_versions');
40
+    OCP\JSON::error(array("data" => array( "message" => $l->t("Could not revert: %s", array($file) ))));
41 41
 }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
 OCP\JSON::checkAppEnabled('files_versions');
31 31
 OCP\JSON::callCheck();
32 32
 
33
-$file = (string)$_GET['file'];
34
-$revision=(int)$_GET['revision'];
33
+$file = (string) $_GET['file'];
34
+$revision = (int) $_GET['revision'];
35 35
 
36
-if(OCA\Files_Versions\Storage::rollback( $file, $revision )) {
37
-	OCP\JSON::success(array("data" => array( "revision" => $revision, "file" => $file )));
38
-}else{
36
+if (OCA\Files_Versions\Storage::rollback($file, $revision)) {
37
+	OCP\JSON::success(array("data" => array("revision" => $revision, "file" => $file)));
38
+} else {
39 39
 	$l = \OC::$server->getL10N('files_versions');
40
-	OCP\JSON::error(array("data" => array( "message" => $l->t("Could not revert: %s", array($file) ))));
40
+	OCP\JSON::error(array("data" => array("message" => $l->t("Could not revert: %s", array($file)))));
41 41
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
 if(OCA\Files_Versions\Storage::rollback( $file, $revision )) {
37 37
 	OCP\JSON::success(array("data" => array( "revision" => $revision, "file" => $file )));
38
-}else{
38
+} else{
39 39
 	$l = \OC::$server->getL10N('files_versions');
40 40
 	OCP\JSON::error(array("data" => array( "message" => $l->t("Could not revert: %s", array($file) ))));
41 41
 }
Please login to merge, or discard this patch.
ocs/providers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,17 +23,17 @@
 block discarded – undo
23 23
  *
24 24
  */
25 25
 
26
-require_once __DIR__ . '/../lib/base.php';
26
+require_once __DIR__.'/../lib/base.php';
27 27
 
28 28
 header('Content-type: application/xml');
29 29
 
30 30
 $request = \OC::$server->getRequest();
31 31
 
32
-$url = $request->getServerProtocol() . '://' . substr($request->getServerHost() . $request->getRequestUri(), 0, -17).'ocs/v1.php/';
32
+$url = $request->getServerProtocol().'://'.substr($request->getServerHost().$request->getRequestUri(), 0, -17).'ocs/v1.php/';
33 33
 
34 34
 $writer = new XMLWriter();
35 35
 $writer->openURI('php://output');
36
-$writer->startDocument('1.0','UTF-8');
36
+$writer->startDocument('1.0', 'UTF-8');
37 37
 $writer->setIndent(4);
38 38
 $writer->startElement('providers');
39 39
 $writer->startElement('provider');
Please login to merge, or discard this patch.
ocs/v2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,4 +20,4 @@
 block discarded – undo
20 20
  *
21 21
  */
22 22
 
23
-require_once __DIR__ . '/v1.php';
23
+require_once __DIR__.'/v1.php';
Please login to merge, or discard this patch.
core/templates/layout.noscript.warning.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 	<div id="nojavascript">
3 3
 		<div>
4 4
 			<?php print_unescaped(str_replace(
5
-					['{linkstart}', '{linkend}'],
6
-					['<a href="http://enable-javascript.com/" target="_blank" rel="noreferrer">', '</a>'],
7
-					$l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
8
-				)); ?>
5
+                    ['{linkstart}', '{linkend}'],
6
+                    ['<a href="http://enable-javascript.com/" target="_blank" rel="noreferrer">', '</a>'],
7
+                    $l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
8
+                )); ?>
9 9
 		</div>
10 10
 	</div>
11 11
 </noscript>
Please login to merge, or discard this patch.
core/templates/altmail.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 print_unescaped($l->t("Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\n", array($_['user_displayname'], $_['filename'], $_['link'])));
3 3
 if ( isset($_['expiration']) ) {
4
-	print_unescaped($l->t("The share will expire on %s.", array($_['expiration'])));
5
-	print_unescaped("\n\n");
4
+    print_unescaped($l->t("The share will expire on %s.", array($_['expiration'])));
5
+    print_unescaped("\n\n");
6 6
 }
7 7
 // TRANSLATORS term at the end of a mail
8 8
 p($l->t("Cheers!"));
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 print_unescaped($l->t("Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\n", array($_['user_displayname'], $_['filename'], $_['link'])));
3
-if ( isset($_['expiration']) ) {
3
+if (isset($_['expiration'])) {
4 4
 	print_unescaped($l->t("The share will expire on %s.", array($_['expiration'])));
5 5
 	print_unescaped("\n\n");
6 6
 }
@@ -9,5 +9,5 @@  discard block
 block discarded – undo
9 9
 ?>
10 10
 
11 11
 --
12
-<?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?>
12
+<?php p($theme->getName().' - '.$theme->getSlogan()); ?>
13 13
 <?php print_unescaped("\n".$theme->getBaseUrl());
Please login to merge, or discard this patch.
core/templates/login.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@  discard block
 block discarded – undo
2 2
 <?php
3 3
 vendor_script('jsTimezoneDetect/jstz');
4 4
 script('core', [
5
-	'visitortimezone',
6
-	'lostpassword',
7
-	'login'
5
+    'visitortimezone',
6
+    'lostpassword',
7
+    'login'
8 8
 ]);
9 9
 ?>
10 10
 
@@ -12,8 +12,8 @@  discard block
 block discarded – undo
12 12
 <form method="post" name="login">
13 13
 	<fieldset>
14 14
 	<?php if (!empty($_['redirect_url'])) {
15
-		print_unescaped('<input type="hidden" name="redirect_url" value="' . \OCP\Util::sanitizeHTML($_['redirect_url']) . '">');
16
-	} ?>
15
+        print_unescaped('<input type="hidden" name="redirect_url" value="' . \OCP\Util::sanitizeHTML($_['redirect_url']) . '">');
16
+    } ?>
17 17
 		<?php if (isset($_['apacheauthfailed']) && ($_['apacheauthfailed'])): ?>
18 18
 			<div class="warning">
19 19
 				<?php p($l->t('Server side authentication failed!')); ?><br>
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 <form method="post" name="login">
13 13
 	<fieldset>
14 14
 	<?php if (!empty($_['redirect_url'])) {
15
-		print_unescaped('<input type="hidden" name="redirect_url" value="' . \OCP\Util::sanitizeHTML($_['redirect_url']) . '">');
15
+		print_unescaped('<input type="hidden" name="redirect_url" value="'.\OCP\Util::sanitizeHTML($_['redirect_url']).'">');
16 16
 	} ?>
17 17
 		<?php if (isset($_['apacheauthfailed']) && ($_['apacheauthfailed'])): ?>
18 18
 			<div class="warning">
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 				<small><?php p($l->t('Please contact your administrator.')); ?></small>
21 21
 			</div>
22 22
 		<?php endif; ?>
23
-		<?php foreach($_['messages'] as $message): ?>
23
+		<?php foreach ($_['messages'] as $message): ?>
24 24
 			<div class="warning">
25 25
 				<?php p($message); ?><br>
26 26
 			</div>
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 		<?php endif; ?>
34 34
 		<div id="message" class="hidden">
35 35
 			<img class="float-spinner" alt=""
36
-				src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>">
36
+				src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif')); ?>">
37 37
 			<span id="messageText"></span>
38 38
 			<!-- the following div ensures that the spinner is always inside the #message div -->
39 39
 			<div style="clear: both;"></div>
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	<fieldset>
86 86
 		<legend><?php p($l->t('Alternative Logins')) ?></legend>
87 87
 		<ul>
88
-			<?php foreach($_['alt_login'] as $login): ?>
88
+			<?php foreach ($_['alt_login'] as $login): ?>
89 89
 				<li><a class="button" href="<?php print_unescaped($login['href']); ?>" ><?php p($login['name']); ?></a></li>
90 90
 			<?php endforeach; ?>
91 91
 		</ul>
Please login to merge, or discard this patch.