Passed
Push — master ( b0acf3...8ad63b )
by William
02:34
created
application/elements/page_types/view.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,13 +19,13 @@  discard block
 block discarded – undo
19 19
 <div class="alert alert-info" style="display: none" id="ccm-page-type-composer-form-save-status"></div>
20 20
 
21 21
     <style>.form-group.ccm-composer-url-slug {display:none}</style>
22
-<?php $u = new User(); if($u->inGroup(Group::getByName('Administrators'))){ ?>
22
+<?php $u = new User(); if ($u->inGroup(Group::getByName('Administrators'))) { ?>
23 23
     <style>.form-group.ccm-composer-url-slug {display:block !important}</style>
24 24
 <?php } ?>
25 25
 
26 26
     <input type="hidden" name="ptID" value="<?php echo $pagetype->getPageTypeID()?>" />
27 27
 
28
-<?php foreach($fieldsets as $cfl) { ?>
28
+<?php foreach ($fieldsets as $cfl) { ?>
29 29
 	<fieldset>
30 30
 		<?php if ($cfl->getPageTypeComposerFormLayoutSetDisplayName()) { ?>
31 31
 			<legend><?php echo $cfl->getPageTypeComposerFormLayoutSetDisplayName()?></legend>
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 		<?php } ?>
36 36
 		<?php $controls = PageTypeComposerFormLayoutSetControl::getList($cfl);
37 37
 
38
-		foreach($controls as $con) {
38
+		foreach ($controls as $con) {
39 39
 			if (is_object($page)) { // we are loading content in
40 40
 				$con->setPageObject($page);
41 41
 			}
Please login to merge, or discard this patch.
application/themes/ccintranet/default.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.