Completed
Pull Request — stable9 (#4226)
by Lukas
11:11
created
core/templates/altmail.php 1 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/exception.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 	<ul>
16 16
 		<li><?php p($l->t('Remote Address: %s', $_['remoteAddr'])) ?></li>
17 17
 		<li><?php p($l->t('Request ID: %s', $_['requestID'])) ?></li>
18
-		<?php if($_['debugMode']): ?>
18
+		<?php if ($_['debugMode']): ?>
19 19
 			<li><?php p($l->t('Type: %s', $_['errorClass'])) ?></li>
20 20
 			<li><?php p($l->t('Code: %s', $_['errorCode'])) ?></li>
21 21
 			<li><?php p($l->t('Message: %s', $_['errorMsg'])) ?></li>
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 		<?php endif; ?>
25 25
 	</ul>
26 26
 
27
-	<?php if($_['debugMode']): ?>
27
+	<?php if ($_['debugMode']): ?>
28 28
 		<br />
29 29
 		<h2><strong><?php p($l->t('Trace')) ?></strong></h2>
30 30
 		<pre><?php p($_['trace']) ?></pre>
Please login to merge, or discard this patch.
core/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,6 +101,6 @@
 block discarded – undo
101 101
 });
102 102
 
103 103
 // used for heartbeat
104
-$this->create('heartbeat', '/heartbeat')->action(function(){
104
+$this->create('heartbeat', '/heartbeat')->action(function() {
105 105
 	// do nothing
106 106
 });
Please login to merge, or discard this patch.
core/search/ajax/search.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,16 +44,16 @@
 block discarded – undo
44 44
 	$inApps = array();
45 45
 }
46 46
 if (isset($_GET['page'])) {
47
-	$page = (int)$_GET['page'];
47
+	$page = (int) $_GET['page'];
48 48
 } else {
49 49
 	$page = 1;
50 50
 }
51 51
 if (isset($_GET['size'])) {
52
-	$size = (int)$_GET['size'];
52
+	$size = (int) $_GET['size'];
53 53
 } else {
54 54
 	$size = 30;
55 55
 }
56
-if($query) {
56
+if ($query) {
57 57
 	$result = \OC::$server->getSearch()->searchPaged($query, $inApps, $page, $size);
58 58
 	OC_JSON::encodedPrint($result);
59 59
 }
Please login to merge, or discard this patch.
settings/templates/settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
  * See the COPYING-README file.
5 5
  */?>
6 6
 
7
-<?php foreach($_['forms'] as $form) {
7
+<?php foreach ($_['forms'] as $form) {
8 8
 	print_unescaped($form);
9 9
 };
Please login to merge, or discard this patch.
settings/templates/users/main.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
 style('settings', 'settings');
19 19
 
20 20
 $userlistParams = array();
21
-$allGroups=array();
22
-foreach($_["adminGroup"] as $group) {
21
+$allGroups = array();
22
+foreach ($_["adminGroup"] as $group) {
23 23
 	$allGroups[] = $group['name'];
24 24
 }
25
-foreach($_["groups"] as $group) {
25
+foreach ($_["groups"] as $group) {
26 26
 	$allGroups[] = $group['name'];
27 27
 }
28 28
 $userlistParams['subadmingroups'] = $allGroups;
Please login to merge, or discard this patch.
settings/templates/users/part.createuser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 		<div class="groups"><div class="groupsListContainer multiselect button" data-placeholder="<?php p($l->t('Groups'))?>"><span class="title groupsList"></span><span class="icon-triangle-s"></span></div></div>
14 14
 		<input type="submit" class="button" value="<?php p($l->t('Create'))?>" />
15 15
 	</form>
16
-	<?php if((bool)$_['recoveryAdminEnabled']): ?>
16
+	<?php if ((bool) $_['recoveryAdminEnabled']): ?>
17 17
 	<div class="recoveryPassword">
18 18
 	<input id="recoveryPassword"
19 19
 		   type="password"
Please login to merge, or discard this patch.
settings/templates/email.new_user_plain_text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 ?>
7 7
 
8 8
 	--
9
-<?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?>
9
+<?php p($theme->getName().' - '.$theme->getSlogan()); ?>
10 10
 <?php print_unescaped("\n".$theme->getBaseUrl());
Please login to merge, or discard this patch.
settings/templates/help.php 1 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
 <div id="app-navigation">
2 2
 	<ul>
3
-	<?php if($_['admin']) { ?>
3
+	<?php if ($_['admin']) { ?>
4 4
 		<li>
5 5
 			<a class="<?php p($_['style1']); ?>"
6 6
 				href="<?php print_unescaped($_['url1']); ?>">
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 			</a>
27 27
 		</li>
28 28
 
29
-	<?php if($_['admin']) { ?>
29
+	<?php if ($_['admin']) { ?>
30 30
 		<li>
31 31
 			<a href="https://nextcloud.com/support/" target="_blank" rel="noreferrer">
32 32
 				<?php p($l->t('Getting help')); ?> ↗
Please login to merge, or discard this patch.