Passed
Push — master ( fb547d...d3b3ea )
by William
02:49
created
application/themes/ccintranet/staff_portal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
             <div class="col-lg-12">
7 7
                 <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1>
8 8
                 <br>
9
-                <?php $a= new Area('Page Content'); $a->display($c); ?>
9
+                <?php $a = new Area('Page Content'); $a->display($c); ?>
10 10
             </div> <!-- END col-lg-12 -->
11 11
         </div> <!-- END row -->
12 12
     </div> <!-- END container-fluid -->
Please login to merge, or discard this patch.
application/themes/ccintranet/hr.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 <?php Loader::element('header'); ?>
4 4
     <div class="container-fluid">
5 5
         <div class="row">
6
-            <div class="toolbar"><?php $a= new GlobalArea('HR Toolbar'); $a->display($c); ?></div>
6
+            <div class="toolbar"><?php $a = new GlobalArea('HR Toolbar'); $a->display($c); ?></div>
7 7
             <div class="col-lg-12">
8 8
                 <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1>
9 9
                 <br>
10
-                <?php $a= new Area('Page Content'); $a->display($c); ?>
10
+                <?php $a = new Area('Page Content'); $a->display($c); ?>
11 11
             </div> <!-- END col-lg-12 -->
12 12
         </div> <!-- END row -->
13 13
     </div> <!-- END container-fluid -->
Please login to merge, or discard this patch.
application/themes/ccintranet/campus-operations.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 <?php Loader::element('header'); ?>
4 4
     <div class="container-fluid">
5 5
         <div class="row">
6
-            <div class="toolbar"><?php $a= new GlobalArea('Campus Operations Toolbar'); $a->display($c); ?></div>
6
+            <div class="toolbar"><?php $a = new GlobalArea('Campus Operations Toolbar'); $a->display($c); ?></div>
7 7
             <div class="col-lg-12">
8 8
                 <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1>
9 9
                 <br>
10
-                <?php $a= new Area('Page Content'); $a->display($c); ?>
10
+                <?php $a = new Area('Page Content'); $a->display($c); ?>
11 11
             </div> <!-- END col-lg-12 -->
12 12
         </div> <!-- END row -->
13 13
     </div> <!-- END container-fluid -->
Please login to merge, or discard this patch.
application/themes/ccintranet/bulletin.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -7,48 +7,48 @@
 block discarded – undo
7 7
                 <div class="col-lg-8 staff-bulletin">
8 8
                     <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1>
9 9
                     <br>
10
-                    <?php $a= new Area('Page Content'); $a->display($c); ?>
10
+                    <?php $a = new Area('Page Content'); $a->display($c); ?>
11 11
                 </div> <!-- END col-lg-8 -->
12 12
                 <div class="col-lg-4 content-box">
13 13
                     <div class="content-box">
14 14
                         <div id="content-box" class="well content-box-button-1">
15 15
                             <div id="content-box-title-block" class="content-box-title-block-1">
16
-                                <?php $a= new Area('Department 1 Title'); $a->display($c); ?>
16
+                                <?php $a = new Area('Department 1 Title'); $a->display($c); ?>
17 17
                             </div> <!-- END content-box-title-block-1 -->
18 18
                             <div class="content-box-content">
19
-                                <?php $a= new Area('Department 1 Content'); $a->display($c); ?>
19
+                                <?php $a = new Area('Department 1 Content'); $a->display($c); ?>
20 20
                             </div> <!-- END content-box-content -->
21 21
                         </div> <!-- END content-box-button-1 -->
22 22
                         <div id="content-box" class="well content-box-button-2">
23 23
                             <div id="content-box-title-block" class="content-box-title-block-2">
24
-                                <?php $a= new Area('Department 2 Title'); $a->display($c); ?>
24
+                                <?php $a = new Area('Department 2 Title'); $a->display($c); ?>
25 25
                             </div> <!-- END content-box-title-block-2 -->
26 26
                             <div class="content-box-content">
27
-                                <?php $a= new Area('Department 2 Content'); $a->display($c); ?>
27
+                                <?php $a = new Area('Department 2 Content'); $a->display($c); ?>
28 28
                             </div> <!-- END content-box-content -->
29 29
                         </div> <!-- END content-box-button-2 -->
30 30
                         <div id="content-box" class="well content-box-button-4">
31 31
                             <div id="content-box-title-block" class="content-box-title-block-4">
32
-                                <?php $a= new Area('Department 3 Title'); $a->display($c); ?>
32
+                                <?php $a = new Area('Department 3 Title'); $a->display($c); ?>
33 33
                             </div> <!-- END content-box-title-block-4 -->
34 34
                             <div class="content-box-content">
35
-                                <?php $a= new Area('Department 3 Content'); $a->display($c); ?>
35
+                                <?php $a = new Area('Department 3 Content'); $a->display($c); ?>
36 36
                             </div> <!-- END content-box-content -->
37 37
                         </div> <!-- END content-box-button-4 -->
38 38
                         <div id="content-box" class="well content-box-button-4">
39 39
                             <div id="content-box-title-block" class="content-box-title-block-4">
40
-                                <?php $a= new Area('Department 4 Title'); $a->display($c); ?>
40
+                                <?php $a = new Area('Department 4 Title'); $a->display($c); ?>
41 41
                             </div> <!-- END content-box-title-block-4 -->
42 42
                             <div class="content-box-content">
43
-                                <?php $a= new Area('Department 4 Content'); $a->display($c); ?>
43
+                                <?php $a = new Area('Department 4 Content'); $a->display($c); ?>
44 44
                             </div> <!-- END content-box-content -->
45 45
                         </div> <!-- END content-box-button-4 -->
46 46
                         <div id="content-box" class="well content-box-button-5">
47 47
                             <div id="content-box-title-block" class="content-box-title-block-5">
48
-                                <?php $a= new Area('Department 5 Title'); $a->display($c); ?>
48
+                                <?php $a = new Area('Department 5 Title'); $a->display($c); ?>
49 49
                             </div> <!-- END content-box-title-block-1 -->
50 50
                             <div class="content-box-content">
51
-                                <?php $a= new Area('Department 5 Content'); $a->display($c); ?>
51
+                                <?php $a = new Area('Department 5 Content'); $a->display($c); ?>
52 52
                             </div> <!-- END content-box-content -->
53 53
                         </div> <!-- END content-box-button-1 -->
54 54
                     </div> <!-- END content-box -->
Please login to merge, or discard this patch.
application/themes/ccintranet/finance.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 <?php Loader::element('header'); ?>
4 4
     <div class="container-fluid">
5 5
         <div class="row">
6
-            <div class="toolbar"><?php $a= new GlobalArea('Finance Toolbar'); $a->display($c); ?></div>
6
+            <div class="toolbar"><?php $a = new GlobalArea('Finance Toolbar'); $a->display($c); ?></div>
7 7
             <div class="col-lg-12">
8 8
                 <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1>
9 9
                 <br>
10
-                <?php $a= new Area('Page Content'); $a->display($c); ?>
10
+                <?php $a = new Area('Page Content'); $a->display($c); ?>
11 11
             </div> <!-- END col-lg-12 -->
12 12
         </div> <!-- END row -->
13 13
     </div> <!-- END container-fluid -->
Please login to merge, or discard this patch.
application/single_pages/account/avatar.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 $save_url = \Concrete\Core\Url\Url::createFromUrl($view->action('save_thumb'));
4 4
 $save_url = $save_url->setQuery(array(
5
-	'ccm_token' => \Core::make('token')->generate('avatar/save_thumb')
5
+    'ccm_token' => \Core::make('token')->generate('avatar/save_thumb')
6 6
 ));
7 7
 ?>
8 8
 
Please login to merge, or discard this patch.
application/single_pages/account/edit_profile.php 2 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
 
14 14
 	<form method="post" action="<?php echo $view->action('save')?>" enctype="multipart/form-data">
15 15
 	<?php  $attribs = UserAttributeKey::getEditableInProfileList();
16
-	$valt->output('profile_edit');
17
-	?>
16
+    $valt->output('profile_edit');
17
+    ?>
18 18
 	<fieldset>
19 19
 	<legend><?php echo t('Basic Information')?></legend>
20 20
 	<div class="form-group">
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
 		<div class="form-group">
26 26
 			<?php echo  $form->label('uTimezone', t('Time Zone'))?>
27 27
 			<?php echo  $form->select('uTimezone',
28
-				Core::make('helper/date')->getTimezones(),
29
-				($profile->getUserTimezone()?$profile->getUserTimezone():date_default_timezone_get())
30
-		); ?>
28
+                Core::make('helper/date')->getTimezones(),
29
+                ($profile->getUserTimezone()?$profile->getUserTimezone():date_default_timezone_get())
30
+        ); ?>
31 31
 		</div>
32 32
 	<?php  } ?>
33 33
 	<?php  if (is_array($locales) && count($locales)) { ?>
@@ -37,38 +37,38 @@  discard block
 block discarded – undo
37 37
 		</div>
38 38
 	<?php  } ?>
39 39
 	<?php
40
-	if(is_array($attribs) && count($attribs)) {
41
-		$af = Loader::helper('form/attribute');
42
-		$af->setAttributeObject($profile);
43
-		foreach($attribs as $ak) {
44
-			print '<div class="ccm-profile-attribute">';
45
-			print $af->display($ak, $ak->isAttributeKeyRequiredOnProfile());
46
-			print '</div>';
47
-		}
48
-	}
49
-	?>
40
+    if(is_array($attribs) && count($attribs)) {
41
+        $af = Loader::helper('form/attribute');
42
+        $af->setAttributeObject($profile);
43
+        foreach($attribs as $ak) {
44
+            print '<div class="ccm-profile-attribute">';
45
+            print $af->display($ak, $ak->isAttributeKeyRequiredOnProfile());
46
+            print '</div>';
47
+        }
48
+    }
49
+    ?>
50 50
 	</fieldset>
51 51
 	<?php
52
-	$ats = AuthenticationType::getList(true, true);
52
+    $ats = AuthenticationType::getList(true, true);
53 53
 
54 54
     $ats = array_filter($ats, function(AuthenticationType $type) {
55 55
         return $type->hasHook();
56 56
     });
57 57
 
58
-	$count = count($ats);
59
-	if ($count) {
60
-		?>
58
+    $count = count($ats);
59
+    if ($count) {
60
+        ?>
61 61
 		<fieldset>
62 62
 			<legend><?php echo t('Authentication Types')?></legend>
63 63
 			<?php
64
-			foreach ($ats as $at) {
65
-				$at->renderHook();
66
-			}
67
-			?>
64
+            foreach ($ats as $at) {
65
+                $at->renderHook();
66
+            }
67
+            ?>
68 68
 		</fieldset>
69 69
 		<?php
70
-	}
71
-	?>
70
+    }
71
+    ?>
72 72
         <br/>
73 73
 	<fieldset>
74 74
     	<legend><?php echo t('Change Password')?></legend>
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -19,14 +19,14 @@  discard block
 block discarded – undo
19 19
 	<legend><?php echo t('Basic Information')?></legend>
20 20
 	<div class="form-group">
21 21
 		<?php echo $form->label('uEmail', t('Email'))?>
22
-		<?php echo $form->text('uEmail',$profile->getUserEmail())?>
22
+		<?php echo $form->text('uEmail', $profile->getUserEmail())?>
23 23
 	</div>
24 24
 	<?php  if (Config::get('concrete.misc.user_timezones')) { ?>
25 25
 		<div class="form-group">
26 26
 			<?php echo  $form->label('uTimezone', t('Time Zone'))?>
27 27
 			<?php echo  $form->select('uTimezone',
28 28
 				Core::make('helper/date')->getTimezones(),
29
-				($profile->getUserTimezone()?$profile->getUserTimezone():date_default_timezone_get())
29
+				($profile->getUserTimezone() ? $profile->getUserTimezone() : date_default_timezone_get())
30 30
 		); ?>
31 31
 		</div>
32 32
 	<?php  } ?>
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
 		</div>
38 38
 	<?php  } ?>
39 39
 	<?php
40
-	if(is_array($attribs) && count($attribs)) {
40
+	if (is_array($attribs) && count($attribs)) {
41 41
 		$af = Loader::helper('form/attribute');
42 42
 		$af->setAttributeObject($profile);
43
-		foreach($attribs as $ak) {
43
+		foreach ($attribs as $ak) {
44 44
 			print '<div class="ccm-profile-attribute">';
45 45
 			print $af->display($ak, $ak->isAttributeKeyRequiredOnProfile());
46 46
 			print '</div>';
@@ -74,14 +74,14 @@  discard block
 block discarded – undo
74 74
     	<legend><?php echo t('Change Password')?></legend>
75 75
         <div class="form-group">
76 76
             <?php echo $form->label('uPasswordNew', t('New Password'))?>
77
-            <?php echo $form->password('uPasswordNew',array('autocomplete' => 'off'))?>
77
+            <?php echo $form->password('uPasswordNew', array('autocomplete' => 'off'))?>
78 78
             <a href="javascript:void(0)" title="<?php echo t("Leave blank to keep current password.")?>"><i class="icon-question-sign"></i></a>
79 79
 		</div>
80 80
 
81 81
         <div class="form-group">
82 82
             <?php echo $form->label('uPasswordNewConfirm', t('Confirm New Password'))?>
83 83
             <div class="controls">
84
-                <?php echo $form->password('uPasswordNewConfirm',array('autocomplete' => 'off'))?>
84
+                <?php echo $form->password('uPasswordNewConfirm', array('autocomplete' => 'off'))?>
85 85
             </div>
86 86
         </div>
87 87
 
Please login to merge, or discard this patch.
application/single_pages/account/view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
         <p><?php echo t('You are currently logged in as <strong>%s</strong>', $profile->getUserDisplayName())?>.</p>
13 13
 
14 14
 
15
-        <?php foreach($pages as $p) { ?>
15
+        <?php foreach ($pages as $p) { ?>
16 16
             <hr/>
17 17
             <div>
18 18
                 <a href="<?php echo $p->getCollectionLink()?>"><?php echo h(t($p->getCollectionName()))?></a>
Please login to merge, or discard this patch.
application/single_pages/dashboard/system/basics/icons.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
             ?>
12 12
             <div class="form-group">
13 13
                 <div class="col-md-6">
14
-                    <?php echo $concrete_asset_library->file('ccm-favicon-file', 'faviconFID', t('Choose File'), $f);?>
14
+                    <?php echo $concrete_asset_library->file('ccm-favicon-file', 'faviconFID', t('Choose File'), $f); ?>
15 15
                 </div>
16 16
                 <div class="col-md-6">
17 17
                     <button class="pull-right btn btn-default" type="submit" ><?php echo t('Save')?></button>
@@ -28,12 +28,12 @@  discard block
 block discarded – undo
28 28
         <legend><?php echo t('iPhone Thumbnail')?></legend>
29 29
         <div class="help-block"><?php echo t('iPhone home screen icons should be 57x57 and be in the .png format.')?></div>
30 30
         <?php
31
-        $iosHomeFID=intval(Config::get('concrete.misc.iphone_home_screen_thumbnail_fid'));
31
+        $iosHomeFID = intval(Config::get('concrete.misc.iphone_home_screen_thumbnail_fid'));
32 32
         $f = File::getByID($iosHomeFID);
33 33
         ?>
34 34
         <div class="form-group">
35 35
             <div class="col-md-6">
36
-                <?php echo $concrete_asset_library->file('ccm-iphone-file', 'iosHomeFID', t('Choose File'), $f);?>
36
+                <?php echo $concrete_asset_library->file('ccm-iphone-file', 'iosHomeFID', t('Choose File'), $f); ?>
37 37
             </div>
38 38
             <div class="col-md-6">
39 39
                 <button class="pull-right btn btn-default" type="submit" ><?php echo t('Save')?></button>
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         <div class="help-block"><?php echo t('Windows 8 start screen tiles should be 144x144 and be in the .png format.'); ?></div>
96 96
         <div class="form-group">
97 97
             <div class="col-md-6">
98
-                <?php echo $concrete_asset_library->file('ccm-modern-file', 'modernThumbFID', t('Choose File'), $f);?>
98
+                <?php echo $concrete_asset_library->file('ccm-modern-file', 'modernThumbFID', t('Choose File'), $f); ?>
99 99
             </div>
100 100
             <div class="col-md-2">
101 101
                 <button class="pull-right btn btn-default" type="submit" ><?php echo t('Save')?></button>
Please login to merge, or discard this patch.