Passed
Pull Request — master (#220)
by Viruthagiri
11:11
created
tests/test-Check_Notifications.php 2 patches
Indentation   +80 added lines, -80 removed lines patch added patch discarded remove patch
@@ -1,92 +1,92 @@
 block discarded – undo
1 1
 <?php
2 2
 class CheckNotifications extends WP_UnitTestCase
3 3
 {
4
-    public function setUp()
5
-    {
6
-        parent::setUp();
7
-    }
4
+	public function setUp()
5
+	{
6
+		parent::setUp();
7
+	}
8 8
 
9
-    public function testSendFriendEmail()
10
-    {
11
-        add_filter('wp_mail', 'print_mail');
12
-        ob_start();
13
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'send_friend');
14
-        $output = ob_get_clean();
15
-        remove_filter('wp_mail', 'print_mail');
16
-        $this->assertContains( 'thought you might be interested in', $output );
17
-        $this->assertContains( 'Your friend has sent you a message from', $output );
18
-        $this->assertContains( '[email protected]', $output );
19
-        $this->assertContains( 'ADMIN BCC COPY', $output );
20
-    }
9
+	public function testSendFriendEmail()
10
+	{
11
+		add_filter('wp_mail', 'print_mail');
12
+		ob_start();
13
+		geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'send_friend');
14
+		$output = ob_get_clean();
15
+		remove_filter('wp_mail', 'print_mail');
16
+		$this->assertContains( 'thought you might be interested in', $output );
17
+		$this->assertContains( 'Your friend has sent you a message from', $output );
18
+		$this->assertContains( '[email protected]', $output );
19
+		$this->assertContains( 'ADMIN BCC COPY', $output );
20
+	}
21 21
 
22
-    public function testSendEnquiryEmail()
23
-    {
24
-        add_filter('wp_mail', 'print_mail');
25
-        ob_start();
26
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'send_enquiry');
27
-        $output = ob_get_clean();
28
-        remove_filter('wp_mail', 'print_mail');
29
-        $this->assertContains( 'Website Enquiry', $output );
30
-        $this->assertContains( 'An enquiry has been sent from', $output );
31
-        $this->assertContains( '[email protected]', $output );
32
-        $this->assertContains( 'ADMIN BCC COPY', $output );
33
-    }
22
+	public function testSendEnquiryEmail()
23
+	{
24
+		add_filter('wp_mail', 'print_mail');
25
+		ob_start();
26
+		geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'send_enquiry');
27
+		$output = ob_get_clean();
28
+		remove_filter('wp_mail', 'print_mail');
29
+		$this->assertContains( 'Website Enquiry', $output );
30
+		$this->assertContains( 'An enquiry has been sent from', $output );
31
+		$this->assertContains( '[email protected]', $output );
32
+		$this->assertContains( 'ADMIN BCC COPY', $output );
33
+	}
34 34
 
35
-    public function testForgotPassEmail()
36
-    {
37
-        add_filter('wp_mail', 'print_mail');
38
-        ob_start();
39
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'forgot_password');
40
-        $output = ob_get_clean();
41
-        remove_filter('wp_mail', 'print_mail');
42
-        $this->assertContains( 'Your new password', $output );
43
-        $this->assertContains( 'You requested a new password for', $output );
44
-        $this->assertContains( '[email protected]', $output );
45
-    }
35
+	public function testForgotPassEmail()
36
+	{
37
+		add_filter('wp_mail', 'print_mail');
38
+		ob_start();
39
+		geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'forgot_password');
40
+		$output = ob_get_clean();
41
+		remove_filter('wp_mail', 'print_mail');
42
+		$this->assertContains( 'Your new password', $output );
43
+		$this->assertContains( 'You requested a new password for', $output );
44
+		$this->assertContains( '[email protected]', $output );
45
+	}
46 46
 
47
-    public function testRegistrationEmail()
48
-    {
49
-        add_filter('wp_mail', 'print_mail');
50
-        ob_start();
51
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'registration');
52
-        $output = ob_get_clean();
53
-        remove_filter('wp_mail', 'print_mail');
54
-        $this->assertContains( 'Your Log In Details', $output );
55
-        $this->assertContains( 'You can log in  with the following information', $output );
56
-        $this->assertContains( '[email protected]', $output );
57
-        $this->assertContains( 'ADMIN BCC COPY', $output );
58
-    }
47
+	public function testRegistrationEmail()
48
+	{
49
+		add_filter('wp_mail', 'print_mail');
50
+		ob_start();
51
+		geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'registration');
52
+		$output = ob_get_clean();
53
+		remove_filter('wp_mail', 'print_mail');
54
+		$this->assertContains( 'Your Log In Details', $output );
55
+		$this->assertContains( 'You can log in  with the following information', $output );
56
+		$this->assertContains( '[email protected]', $output );
57
+		$this->assertContains( 'ADMIN BCC COPY', $output );
58
+	}
59 59
 
60
-    public function testPostSubmitEmail()
61
-    {
62
-        add_filter('wp_mail', 'print_mail');
63
-        ob_start();
64
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'post_submit');
65
-        $output = ob_get_clean();
66
-        remove_filter('wp_mail', 'print_mail');
67
-        $this->assertContains( 'Post Submitted Successfully', $output );
68
-        $this->assertContains( 'You submitted the below listing information', $output );
69
-        $this->assertContains( '[email protected]', $output );
70
-        $this->assertContains( 'ADMIN BCC COPY', $output );
71
-        $this->assertContains( 'A new  listing has been published', $output );
72
-    }
60
+	public function testPostSubmitEmail()
61
+	{
62
+		add_filter('wp_mail', 'print_mail');
63
+		ob_start();
64
+		geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'post_submit');
65
+		$output = ob_get_clean();
66
+		remove_filter('wp_mail', 'print_mail');
67
+		$this->assertContains( 'Post Submitted Successfully', $output );
68
+		$this->assertContains( 'You submitted the below listing information', $output );
69
+		$this->assertContains( '[email protected]', $output );
70
+		$this->assertContains( 'ADMIN BCC COPY', $output );
71
+		$this->assertContains( 'A new  listing has been published', $output );
72
+	}
73 73
 
74
-    public function testListingPublishedEmail()
75
-    {
76
-        add_filter('wp_mail', 'print_mail');
77
-        ob_start();
78
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'listing_published');
79
-        $output = ob_get_clean();
80
-        remove_filter('wp_mail', 'print_mail');
81
-        $this->assertContains( 'Listing Published Successfully', $output );
82
-        $this->assertContains( 'Your listing  has been published', $output );
83
-        $this->assertContains( '[email protected]', $output );
84
-        $this->assertContains( 'ADMIN BCC COPY', $output );
85
-    }
74
+	public function testListingPublishedEmail()
75
+	{
76
+		add_filter('wp_mail', 'print_mail');
77
+		ob_start();
78
+		geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'listing_published');
79
+		$output = ob_get_clean();
80
+		remove_filter('wp_mail', 'print_mail');
81
+		$this->assertContains( 'Listing Published Successfully', $output );
82
+		$this->assertContains( 'Your listing  has been published', $output );
83
+		$this->assertContains( '[email protected]', $output );
84
+		$this->assertContains( 'ADMIN BCC COPY', $output );
85
+	}
86 86
 
87
-    public function tearDown()
88
-    {
89
-        parent::tearDown();
90
-    }
87
+	public function tearDown()
88
+	{
89
+		parent::tearDown();
90
+	}
91 91
 }
92 92
 ?>
93 93
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -10,78 +10,78 @@
 block discarded – undo
10 10
     {
11 11
         add_filter('wp_mail', 'print_mail');
12 12
         ob_start();
13
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'send_friend');
13
+        geodir_sendEmail('', '', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'send_friend');
14 14
         $output = ob_get_clean();
15 15
         remove_filter('wp_mail', 'print_mail');
16
-        $this->assertContains( 'thought you might be interested in', $output );
17
-        $this->assertContains( 'Your friend has sent you a message from', $output );
18
-        $this->assertContains( '[email protected]', $output );
19
-        $this->assertContains( 'ADMIN BCC COPY', $output );
16
+        $this->assertContains('thought you might be interested in', $output);
17
+        $this->assertContains('Your friend has sent you a message from', $output);
18
+        $this->assertContains('[email protected]', $output);
19
+        $this->assertContains('ADMIN BCC COPY', $output);
20 20
     }
21 21
 
22 22
     public function testSendEnquiryEmail()
23 23
     {
24 24
         add_filter('wp_mail', 'print_mail');
25 25
         ob_start();
26
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'send_enquiry');
26
+        geodir_sendEmail('', '', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'send_enquiry');
27 27
         $output = ob_get_clean();
28 28
         remove_filter('wp_mail', 'print_mail');
29
-        $this->assertContains( 'Website Enquiry', $output );
30
-        $this->assertContains( 'An enquiry has been sent from', $output );
31
-        $this->assertContains( '[email protected]', $output );
32
-        $this->assertContains( 'ADMIN BCC COPY', $output );
29
+        $this->assertContains('Website Enquiry', $output);
30
+        $this->assertContains('An enquiry has been sent from', $output);
31
+        $this->assertContains('[email protected]', $output);
32
+        $this->assertContains('ADMIN BCC COPY', $output);
33 33
     }
34 34
 
35 35
     public function testForgotPassEmail()
36 36
     {
37 37
         add_filter('wp_mail', 'print_mail');
38 38
         ob_start();
39
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'forgot_password');
39
+        geodir_sendEmail('', '', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'forgot_password');
40 40
         $output = ob_get_clean();
41 41
         remove_filter('wp_mail', 'print_mail');
42
-        $this->assertContains( 'Your new password', $output );
43
-        $this->assertContains( 'You requested a new password for', $output );
44
-        $this->assertContains( '[email protected]', $output );
42
+        $this->assertContains('Your new password', $output);
43
+        $this->assertContains('You requested a new password for', $output);
44
+        $this->assertContains('[email protected]', $output);
45 45
     }
46 46
 
47 47
     public function testRegistrationEmail()
48 48
     {
49 49
         add_filter('wp_mail', 'print_mail');
50 50
         ob_start();
51
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'registration');
51
+        geodir_sendEmail('', '', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'registration');
52 52
         $output = ob_get_clean();
53 53
         remove_filter('wp_mail', 'print_mail');
54
-        $this->assertContains( 'Your Log In Details', $output );
55
-        $this->assertContains( 'You can log in  with the following information', $output );
56
-        $this->assertContains( '[email protected]', $output );
57
-        $this->assertContains( 'ADMIN BCC COPY', $output );
54
+        $this->assertContains('Your Log In Details', $output);
55
+        $this->assertContains('You can log in  with the following information', $output);
56
+        $this->assertContains('[email protected]', $output);
57
+        $this->assertContains('ADMIN BCC COPY', $output);
58 58
     }
59 59
 
60 60
     public function testPostSubmitEmail()
61 61
     {
62 62
         add_filter('wp_mail', 'print_mail');
63 63
         ob_start();
64
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'post_submit');
64
+        geodir_sendEmail('', '', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'post_submit');
65 65
         $output = ob_get_clean();
66 66
         remove_filter('wp_mail', 'print_mail');
67
-        $this->assertContains( 'Post Submitted Successfully', $output );
68
-        $this->assertContains( 'You submitted the below listing information', $output );
69
-        $this->assertContains( '[email protected]', $output );
70
-        $this->assertContains( 'ADMIN BCC COPY', $output );
71
-        $this->assertContains( 'A new  listing has been published', $output );
67
+        $this->assertContains('Post Submitted Successfully', $output);
68
+        $this->assertContains('You submitted the below listing information', $output);
69
+        $this->assertContains('[email protected]', $output);
70
+        $this->assertContains('ADMIN BCC COPY', $output);
71
+        $this->assertContains('A new  listing has been published', $output);
72 72
     }
73 73
 
74 74
     public function testListingPublishedEmail()
75 75
     {
76 76
         add_filter('wp_mail', 'print_mail');
77 77
         ob_start();
78
-        geodir_sendEmail('','', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'listing_published');
78
+        geodir_sendEmail('', '', '[email protected]', 'Test User', 'Test subject', 'Test message', '', 'listing_published');
79 79
         $output = ob_get_clean();
80 80
         remove_filter('wp_mail', 'print_mail');
81
-        $this->assertContains( 'Listing Published Successfully', $output );
82
-        $this->assertContains( 'Your listing  has been published', $output );
83
-        $this->assertContains( '[email protected]', $output );
84
-        $this->assertContains( 'ADMIN BCC COPY', $output );
81
+        $this->assertContains('Listing Published Successfully', $output);
82
+        $this->assertContains('Your listing  has been published', $output);
83
+        $this->assertContains('[email protected]', $output);
84
+        $this->assertContains('ADMIN BCC COPY', $output);
85 85
     }
86 86
 
87 87
     public function tearDown()
Please login to merge, or discard this patch.
tests/test-Test_Dummy_Data.php 2 patches
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -1,50 +1,50 @@
 block discarded – undo
1 1
 <?php
2 2
 class TestDummyData extends WP_UnitTestCase
3 3
 {
4
-    public function setUp()
5
-    {
6
-        parent::setUp();
7
-        wp_set_current_user(1);
8
-        geodir_delete_dummy_posts();
9
-    }
4
+	public function setUp()
5
+	{
6
+		parent::setUp();
7
+		wp_set_current_user(1);
8
+		geodir_delete_dummy_posts();
9
+	}
10 10
 
11
-    public function testCreatePlaces()
12
-    {
13
-        global $dummy_post_index, $city_bound_lat1, $city_bound_lng1, $city_bound_lat2, $city_bound_lng2;
11
+	public function testCreatePlaces()
12
+	{
13
+		global $dummy_post_index, $city_bound_lat1, $city_bound_lng1, $city_bound_lat2, $city_bound_lng2;
14 14
 
15
-        global $geodir_post_custom_fields_cache;
16
-        $geodir_post_custom_fields_cache = array();
15
+		global $geodir_post_custom_fields_cache;
16
+		$geodir_post_custom_fields_cache = array();
17 17
 
18
-        $city_bound_lat1 = 40.4960439;
19
-        $city_bound_lng1 = -74.2557349;
20
-        $city_bound_lat2 = 40.91525559999999;
21
-        $city_bound_lng2 = -73.7002721;
18
+		$city_bound_lat1 = 40.4960439;
19
+		$city_bound_lng1 = -74.2557349;
20
+		$city_bound_lat2 = 40.91525559999999;
21
+		$city_bound_lng2 = -73.7002721;
22 22
 
23 23
 
24
-        $dummy_post_index = 10;
25
-        test_create_dummy_posts(10);
24
+		$dummy_post_index = 10;
25
+		test_create_dummy_posts(10);
26 26
 
27
-        $query_args = array(
28
-            'post_status' => 'publish',
29
-            'post_type' => 'gd_place'
30
-        );
27
+		$query_args = array(
28
+			'post_status' => 'publish',
29
+			'post_type' => 'gd_place'
30
+		);
31 31
 
32
-        $all_posts = new WP_Query( $query_args );
32
+		$all_posts = new WP_Query( $query_args );
33 33
 
34
-        $total_posts = $all_posts->found_posts;
34
+		$total_posts = $all_posts->found_posts;
35 35
 
36
-        $this->assertTrue((int) $total_posts > 0);
36
+		$this->assertTrue((int) $total_posts > 0);
37 37
 
38
-    }
38
+	}
39 39
 
40
-    public function testDeletePlaces()
41
-    {
42
-        geodir_delete_dummy_posts();
43
-    }
40
+	public function testDeletePlaces()
41
+	{
42
+		geodir_delete_dummy_posts();
43
+	}
44 44
 
45
-    public function tearDown()
46
-    {
47
-        parent::tearDown();
48
-    }
45
+	public function tearDown()
46
+	{
47
+		parent::tearDown();
48
+	}
49 49
 }
50 50
 ?>
51 51
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             'post_type' => 'gd_place'
30 30
         );
31 31
 
32
-        $all_posts = new WP_Query( $query_args );
32
+        $all_posts = new WP_Query($query_args);
33 33
 
34 34
         $total_posts = $all_posts->found_posts;
35 35
 
Please login to merge, or discard this patch.
tests/test-Import_Export.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 class ImportExport extends WP_UnitTestCase
3 3
 {
4
-    public function setUp()
5
-    {
6
-        parent::setUp();
7
-    }
4
+	public function setUp()
5
+	{
6
+		parent::setUp();
7
+	}
8 8
 
9
-    public function testImportExport()
10
-    {
9
+	public function testImportExport()
10
+	{
11 11
 
12
-    }
12
+	}
13 13
 
14
-    public function tearDown()
15
-    {
16
-        parent::tearDown();
17
-    }
14
+	public function tearDown()
15
+	{
16
+		parent::tearDown();
17
+	}
18 18
 }
19 19
 ?>
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
geodirectory-templates/geodir-author.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template for the author page
4
- *
5
- * You can make most changes via hooks or see the link below for info on how to replace the template in your theme.
6
- *
7
- * @link http://docs.wpgeodirectory.com/customizing-geodirectory-templates/
8
- * @since 1.0.0
9
- * @package GeoDirectory
10
- */
3
+			 * Template for the author page
4
+			 *
5
+			 * You can make most changes via hooks or see the link below for info on how to replace the template in your theme.
6
+			 *
7
+			 * @link http://docs.wpgeodirectory.com/customizing-geodirectory-templates/
8
+			 * @since 1.0.0
9
+			 * @package GeoDirectory
10
+			 */
11 11
 
12 12
 // get header
13 13
 get_header();
Please login to merge, or discard this patch.
geodirectory-templates/listing-detail.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template for the details (post) page
4
- *
5
- * You can make most changes via hooks or see the link below for info on how to replace the template in your theme.
6
- *
7
- * @link http://docs.wpgeodirectory.com/customizing-geodirectory-templates/
8
- * @since 1.0.0
9
- * @package GeoDirectory
10
- */
3
+				 * Template for the details (post) page
4
+				 *
5
+				 * You can make most changes via hooks or see the link below for info on how to replace the template in your theme.
6
+				 *
7
+				 * @link http://docs.wpgeodirectory.com/customizing-geodirectory-templates/
8
+				 * @since 1.0.0
9
+				 * @package GeoDirectory
10
+				 */
11 11
 
12 12
 header("X-XSS-Protection: 0"); // IE requirement
13 13
 // call header
@@ -33,12 +33,12 @@  discard block
 block discarded – undo
33 33
 
34 34
 ###### SIDEBAR ON LEFT ######
35 35
 if (get_option('geodir_detail_sidebar_left_section')) {
36
-    /**
37
-     * Adds the details page sidebar to the details template page.
38
-     *
39
-     * @since 1.1.0
40
-     */
41
-    do_action('geodir_detail_sidebar');
36
+	/**
37
+	 * Adds the details page sidebar to the details template page.
38
+	 *
39
+	 * @since 1.1.0
40
+	 */
41
+	do_action('geodir_detail_sidebar');
42 42
 }
43 43
 
44 44
 ###### MAIN CONTENT WRAPPERS OPEN ######
@@ -63,26 +63,26 @@  discard block
 block discarded – undo
63 63
 ###### MAIN CONTENT ######
64 64
 // this call the main page content
65 65
 if (have_posts() && !$preview) {
66
-    the_post();
67
-    global $post, $post_images;
68
-    /**
69
-     * Calls the details page main content on the details template page.
70
-     *
71
-     * @since 1.1.0
72
-     * @param object $post The current post object.
73
-     */
74
-    do_action('geodir_details_main_content', $post);
66
+	the_post();
67
+	global $post, $post_images;
68
+	/**
69
+	 * Calls the details page main content on the details template page.
70
+	 *
71
+	 * @since 1.1.0
72
+	 * @param object $post The current post object.
73
+	 */
74
+	do_action('geodir_details_main_content', $post);
75 75
 } elseif ($preview) {
76
-    /**
77
-     * Called on the details page if the page is being previewed.
78
-     *
79
-     * This sets the value of `$post` to the preview values before the main content is called.
80
-     *
81
-     * @since 1.1.0
82
-     */
83
-    do_action('geodir_action_geodir_set_preview_post'); // set the $post to the preview values
84
-    /** This action is documented in geodirectory-templates/listing-detail.php */
85
-    do_action('geodir_details_main_content', $post);
76
+	/**
77
+	 * Called on the details page if the page is being previewed.
78
+	 *
79
+	 * This sets the value of `$post` to the preview values before the main content is called.
80
+	 *
81
+	 * @since 1.1.0
82
+	 */
83
+	do_action('geodir_action_geodir_set_preview_post'); // set the $post to the preview values
84
+	/** This action is documented in geodirectory-templates/listing-detail.php */
85
+	do_action('geodir_details_main_content', $post);
86 86
 }
87 87
 
88 88
 
@@ -104,8 +104,8 @@  discard block
 block discarded – undo
104 104
 
105 105
 ###### SIDEBAR ON RIGHT ######
106 106
 if (!get_option('geodir_detail_sidebar_left_section')) {
107
-    /** This action is documented in geodirectory-templates/listing-detail.php */
108
-    do_action('geodir_detail_sidebar');
107
+	/** This action is documented in geodirectory-templates/listing-detail.php */
108
+	do_action('geodir_detail_sidebar');
109 109
 }
110 110
 
111 111
 
Please login to merge, or discard this patch.
geodirectory-templates/geodir-information.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,35 +1,35 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template used to output warning/info messages
4
- *
5
- * @link http://docs.wpgeodirectory.com/customizing-geodirectory-templates/
6
- * @since 1.0.0
7
- * @package GeoDirectory
8
- */
3
+	 * Template used to output warning/info messages
4
+	 *
5
+	 * @link http://docs.wpgeodirectory.com/customizing-geodirectory-templates/
6
+	 * @since 1.0.0
7
+	 * @package GeoDirectory
8
+	 */
9 9
 get_header();
10 10
 ?>
11 11
     <div id="geodir_wrapper">
12 12
         <div class="clearfix">
13 13
             <div id="geodir_content">
14 14
                 <?php
15
-                global $information;
16
-                echo '<h5 class="geodir_information">';
17
-                echo $information;
18
-                echo '</h5>';
15
+				global $information;
16
+				echo '<h5 class="geodir_information">';
17
+				echo $information;
18
+				echo '</h5>';
19 19
 
20
-                ?>
20
+				?>
21 21
             </div>
22 22
             <!-- geodir_content ends here-->
23 23
             <div id="gd-sidebar-wrapper">
24 24
                 <div class="geodir-sidebar-main">
25 25
                     <div class="geodir-gd-sidebar">
26 26
                         <?php
27
-                        /**
28
-                         * Calls the standard sidebar.
29
-                         *
30
-                         * @since 1.0.0
31
-                         */
32
-                        do_action('geodir_sidebar'); ?>
27
+						/**
28
+						 * Calls the standard sidebar.
29
+						 *
30
+						 * @since 1.0.0
31
+						 */
32
+						do_action('geodir_sidebar'); ?>
33 33
                     </div>
34 34
                 </div>
35 35
             </div>
Please login to merge, or discard this patch.