Completed
Branch master (be32ee)
by Gordon
03:25
created
code/SlideFolder.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,15 +4,15 @@  discard block
 block discarded – undo
4 4
 */
5 5
 class SlideFolder extends Page {
6 6
 
7
-  static $default_child = 'SlidePage';
7
+    static $default_child = 'SlidePage';
8 8
 
9
-  static $allowed_children = array('SlidePage');
9
+    static $allowed_children = array('SlidePage');
10 10
 
11
-  // Hide terms from the LHS menu
12
-  static $defaults = array( 
11
+    // Hide terms from the LHS menu
12
+    static $defaults = array( 
13 13
     'ShowInMenus' => 0,
14 14
     //'ShowInSearch' => 0
15
-  );
15
+    );
16 16
 
17 17
 
18 18
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
   
22 22
 
23
-  function getCMSFields() {
23
+    function getCMSFields() {
24 24
     $fields = parent::getCMSFields();
25 25
 
26 26
     /*
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
 
43 43
     return $fields;
44
-  }
44
+    }
45 45
 
46 46
 
47 47
 }
Please login to merge, or discard this patch.
code/SlidePage.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,14 +16,14 @@  discard block
 block discarded – undo
16 16
     static $allowed_children = 'none';
17 17
 
18 18
     private static $defaults = array ( 
19
-       'ShowInMenus' => false, 
20
-       'ShowInSearch' => false 
19
+        'ShowInMenus' => false, 
20
+        'ShowInSearch' => false 
21 21
     );
22 22
 
23 23
 
24 24
     public function getThumbnail2() { 
25
-      return $this->InternalPage()->getPortletImage()->CMSThumbnail()->Tag;
26
-   }
25
+        return $this->InternalPage()->getPortletImage()->CMSThumbnail()->Tag;
26
+    }
27 27
 
28 28
 
29 29
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         }
53 53
 
54 54
 
55
-         $fields->addFieldToTab('Root.Main',
55
+            $fields->addFieldToTab('Root.Main',
56 56
             new TreeDropdownField( "InternalPageID", _t('SlidePage.CHOOSE_INTERNAL_LINK', 'Select a page on the website to link to'), "SiteTree" ));
57 57
 
58 58
 
Please login to merge, or discard this patch.