@@ -4,15 +4,15 @@ discard block |
||
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 |
||
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 |
||
41 | 41 | |
42 | 42 | |
43 | 43 | return $fields; |
44 | - } |
|
44 | + } |
|
45 | 45 | |
46 | 46 | |
47 | 47 | } |
@@ -16,14 +16,14 @@ discard block |
||
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 |
||
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 |