@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | public function VisibleTo() { |
42 | 42 | if (strlen(trim($this->MemberVisibility)) > 0) { |
43 | 43 | $lists = 'Group: ' . str_replace(',','<br />Group: ', $this->MemberVisibility); |
44 | - }else{ |
|
44 | + } else{ |
|
45 | 45 | $lists = '<em><All></em>'; |
46 | 46 | } |
47 | 47 | |
@@ -56,13 +56,13 @@ discard block |
||
56 | 56 | if ($this->showBlockbyClass) { |
57 | 57 | if (strlen(trim($this->shownInClass)) > 0) { |
58 | 58 | $lists = 'Type: ' . str_replace(',','<br />Type: ', $this->shownInClass); |
59 | - }else{ |
|
59 | + } else{ |
|
60 | 60 | $lists = '<em><not assigned></em>'; |
61 | 61 | } |
62 | - }else{ |
|
62 | + } else{ |
|
63 | 63 | if ($this->Pages()->count() > 0) { |
64 | 64 | $lists = 'Page: ' . implode('<br />Page: ', $this->Pages()->column('Title')); |
65 | - }else{ |
|
65 | + } else{ |
|
66 | 66 | $lists = '<em><not assigned></em>'; |
67 | 67 | } |
68 | 68 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $subBlocks = ClassInfo::subclassesFor('Block'); |
39 | 39 | if (is_null($subBlocks)) { |
40 | 40 | $subBlocks = array('Block'); |
41 | - }else{ |
|
41 | + } else{ |
|
42 | 42 | $disabledTypes = Config::inst()->get('Block','DisabledBlocks'); |
43 | 43 | Debugger::inspect($disabledTypes); |
44 | 44 | if (!empty($disabledTypes)) { |