Completed
Branch master (eabbbe)
by Gordon
03:50
created
code/SiteMap.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
  
3 3
 class SiteMap extends Page {
4
-	static $db = array(
5
-	);
6
-	static $has_one = array(
7
-	);
4
+ static $db = array(
5
+ );
6
+ static $has_one = array(
7
+ );
8 8
 
9 9
   // hide from menus and search
10 10
   static $defaults = array( 
@@ -15,13 +15,13 @@  discard block
 block discarded – undo
15 15
  
16 16
 class SiteMap_Controller extends Page_Controller {
17 17
    
18
-	/**
19
-	 * This function will return a unordered list of all pages on the site.
20
-	 * Watch for the switch between $page and $child in the second line of the foreach().
21
-	 * 
22
-	 * Note that this will only skip ErrorPage's at the top/root level of the site. 
23
-	 * If you have an ErrorPage class somewhere else in the hierarchy, it will be displayed.
24
-	 */
18
+ /**
19
+  * This function will return a unordered list of all pages on the site.
20
+  * Watch for the switch between $page and $child in the second line of the foreach().
21
+  * 
22
+  * Note that this will only skip ErrorPage's at the top/root level of the site. 
23
+  * If you have an ErrorPage class somewhere else in the hierarchy, it will be displayed.
24
+  */
25 25
  function SiteMap() {
26 26
   $rootLevel = DataObject::get("Page", "ParentID = 0"); // Pages at the root level only
27 27
   $output = "";
Please login to merge, or discard this patch.