@@ -19,13 +19,13 @@ discard block |
||
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 |
||
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 | } |
@@ -6,7 +6,7 @@ |
||
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 --> |