Completed
Push — master ( f93e28...a26fec )
by Jonathan
07:20 queued 04:02
created
src/Webtrees/Module/MiscExtensionsModule.php 1 patch
Indentation   +72 added lines, -72 removed lines patch added patch discarded remove patch
@@ -30,49 +30,49 @@  discard block
 block discarded – undo
30 30
 class MiscExtensionsModule extends AbstractModule 
31 31
 implements HookSubscriberInterface, IndividualHeaderExtenderInterface, PageHeaderExtenderInterface, PageFooterExtenderInterface, ModuleConfigInterface
32 32
 {    
33
-    /** @var string For custom modules - link for support, upgrades, etc. */
34
-    const CUSTOM_WEBSITE = 'https://github.com/jon48/webtrees-lib';
33
+	/** @var string For custom modules - link for support, upgrades, etc. */
34
+	const CUSTOM_WEBSITE = 'https://github.com/jon48/webtrees-lib';
35 35
     
36
-    /**
37
-     * {@inheritDoc}
38
-     * @see \Fisharebest\Webtrees\Module\AbstractModule::getTitle()
39
-     */
40
-    public function getTitle() {
41
-        return I18N::translate('Miscellaneous extensions');
42
-    }
36
+	/**
37
+	 * {@inheritDoc}
38
+	 * @see \Fisharebest\Webtrees\Module\AbstractModule::getTitle()
39
+	 */
40
+	public function getTitle() {
41
+		return I18N::translate('Miscellaneous extensions');
42
+	}
43 43
     
44 44
    /**
45 45
     * {@inheritDoc}
46 46
     * @see \Fisharebest\Webtrees\Module\AbstractModule::getDescription()
47 47
     */
48
-    public function getDescription() {
49
-        return I18N::translate('Miscellaneous extensions for <strong>webtrees</strong>.');
50
-    }
48
+	public function getDescription() {
49
+		return I18N::translate('Miscellaneous extensions for <strong>webtrees</strong>.');
50
+	}
51 51
     
52
-    /**
53
-     * {@inhericDoc}
54
-     */
55
-    public function modAction($mod_action) {
56
-        \MyArtJaub\Webtrees\Mvc\Dispatcher::getInstance()->handle($this, $mod_action);
57
-    }
52
+	/**
53
+	 * {@inhericDoc}
54
+	 */
55
+	public function modAction($mod_action) {
56
+		\MyArtJaub\Webtrees\Mvc\Dispatcher::getInstance()->handle($this, $mod_action);
57
+	}
58 58
     
59
-    /**
60
-     * {@inhericDoc}
61
-     * @see \Fisharebest\Webtrees\Module\ModuleConfigInterface::getConfigLink()
62
-     */
63
-    public function getConfigLink() {
64
-        return 'module.php?mod=' . $this->getName() . '&amp;mod_action=AdminConfig';
65
-    }
59
+	/**
60
+	 * {@inhericDoc}
61
+	 * @see \Fisharebest\Webtrees\Module\ModuleConfigInterface::getConfigLink()
62
+	 */
63
+	public function getConfigLink() {
64
+		return 'module.php?mod=' . $this->getName() . '&amp;mod_action=AdminConfig';
65
+	}
66 66
     
67
-    /**
68
-     * {@inheritDoc}
69
-     * @see \MyArtJaub\Webtrees\Hook\HookSubscriberInterface::getSubscribedHooks()
70
-     */
67
+	/**
68
+	 * {@inheritDoc}
69
+	 * @see \MyArtJaub\Webtrees\Hook\HookSubscriberInterface::getSubscribedHooks()
70
+	 */
71 71
 	public function getSubscribedHooks() {
72 72
 		return array(
73
-		    'hExtendIndiHeaderLeft' => 20,
74
-		    'hPrintHeader' => 20,
75
-		    'hPrintFooter' => 20
73
+			'hExtendIndiHeaderLeft' => 20,
74
+			'hPrintHeader' => 20,
75
+			'hPrintFooter' => 20
76 76
 		);
77 77
 	}
78 78
 	
@@ -87,22 +87,22 @@  discard block
 block discarded – undo
87 87
 	 * @see \MyArtJaub\Webtrees\Hook\HookInterfaces\IndividualHeaderExtenderInterface::hExtendIndiHeaderLeft()
88 88
 	 */
89 89
 	public function hExtendIndiHeaderLeft(IndividualController $ctrlIndi) { 
90
-	    $res = '';
91
-	    $dindi = new Individual($ctrlIndi->getSignificantIndividual());
92
-	    $titles = $dindi->getTitles();
93
-	    if(count($titles)>0){
94
-	        $res = '
90
+		$res = '';
91
+		$dindi = new Individual($ctrlIndi->getSignificantIndividual());
92
+		$titles = $dindi->getTitles();
93
+		if(count($titles)>0){
94
+			$res = '
95 95
 	            <dl>
96 96
 	               <dt class="label">'.I18N::translate('Titles').'</dt>';
97
-            foreach($titles as $title=>$props){
98
-                $res .= 
99
-                    '<dd class="field">' . $title. ' ' .
100
-                    FunctionsPrint::getListFromArray($props) .
101
-                    '</dd>';
102
-            }
103
-            $res .=  '</dl>';
104
-        }
105
-	    return array( 'indi-header-titles' , $res);	    
97
+			foreach($titles as $title=>$props){
98
+				$res .= 
99
+					'<dd class="field">' . $title. ' ' .
100
+					FunctionsPrint::getListFromArray($props) .
101
+					'</dd>';
102
+			}
103
+			$res .=  '</dl>';
104
+		}
105
+		return array( 'indi-header-titles' , $res);	    
106 106
 	}
107 107
 	
108 108
 	/**
@@ -116,15 +116,15 @@  discard block
 block discarded – undo
116 116
 	 * @see \MyArtJaub\Webtrees\Hook\HookInterfaces\PageHeaderExtenderInterface::hPrintHeader()
117 117
 	 */
118 118
 	public function hPrintHeader() {	 
119
-	    global $WT_TREE;
119
+		global $WT_TREE;
120 120
 	    
121
-	    $html = '';
122
-	    if($this->getSetting('MAJ_ADD_HTML_HEADER', 0) == 1){
123
-	        if(Auth::accessLevel($WT_TREE) >= $this->getSetting('MAJ_SHOW_HTML_HEADER', Auth::PRIV_HIDE)  && !Filter::getBool('noheader')){
124
-	            $html .= $this->getSetting('MAJ_HTML_HEADER', '');
125
-	        }
126
-	    }	
127
-	    return $html;
121
+		$html = '';
122
+		if($this->getSetting('MAJ_ADD_HTML_HEADER', 0) == 1){
123
+			if(Auth::accessLevel($WT_TREE) >= $this->getSetting('MAJ_SHOW_HTML_HEADER', Auth::PRIV_HIDE)  && !Filter::getBool('noheader')){
124
+				$html .= $this->getSetting('MAJ_HTML_HEADER', '');
125
+			}
126
+		}	
127
+		return $html;
128 128
 	}
129 129
 	
130 130
 	/**
@@ -132,26 +132,26 @@  discard block
 block discarded – undo
132 132
 	 * @see \MyArtJaub\Webtrees\Hook\HookInterfaces\PageFooterExtenderInterface::hPrintFooter()
133 133
 	 */
134 134
 	public function hPrintFooter() {
135
-	    global $WT_TREE;
135
+		global $WT_TREE;
136 136
 	     
137
-	    $html = '';
138
-	    if($this->getSetting('MAJ_DISPLAY_CNIL', 0) == 1){
139
-	        $html .= '<br/>';
140
-	        $html .= '<div class="center">';
141
-	        $cnil_ref = $this->getSetting('MAJ_CNIL_REFERENCE', '');
142
-	        if($cnil_ref != ''){
143
-	            $html .= I18N::translate('This site has been notified to the French National Commission for Data protection (CNIL) and registered under number %s. ', $cnil_ref);
144
-	        }
145
-	        $html .= I18N::translate('In accordance with the French Data protection Act (<em>Loi Informatique et Libertés</em>) of January 6th, 1978, you have the right to access, modify, rectify and delete personal information that pertains to you. To exercice this right, please contact %s, and provide your name, address and a proof of your identity.', Theme::theme()->contactLink(User::find($WT_TREE->getPreference('WEBMASTER_USER_ID'))));
146
-	        $html .= '</div>';
147
-	    }
137
+		$html = '';
138
+		if($this->getSetting('MAJ_DISPLAY_CNIL', 0) == 1){
139
+			$html .= '<br/>';
140
+			$html .= '<div class="center">';
141
+			$cnil_ref = $this->getSetting('MAJ_CNIL_REFERENCE', '');
142
+			if($cnil_ref != ''){
143
+				$html .= I18N::translate('This site has been notified to the French National Commission for Data protection (CNIL) and registered under number %s. ', $cnil_ref);
144
+			}
145
+			$html .= I18N::translate('In accordance with the French Data protection Act (<em>Loi Informatique et Libertés</em>) of January 6th, 1978, you have the right to access, modify, rectify and delete personal information that pertains to you. To exercice this right, please contact %s, and provide your name, address and a proof of your identity.', Theme::theme()->contactLink(User::find($WT_TREE->getPreference('WEBMASTER_USER_ID'))));
146
+			$html .= '</div>';
147
+		}
148 148
 	    
149
-	    if($this->getSetting('MAJ_ADD_HTML_FOOTER', 0) == 1){
150
-	        if(Auth::accessLevel($WT_TREE) >= $this->getSetting('MAJ_SHOW_HTML_FOOTER', Auth::PRIV_HIDE)  && !Filter::getBool('nofooter')){
151
-	            $html .= $this->getSetting('MAJ_HTML_FOOTER', '');
152
-	        }
153
-	    }
154
-	    return $html;
149
+		if($this->getSetting('MAJ_ADD_HTML_FOOTER', 0) == 1){
150
+			if(Auth::accessLevel($WT_TREE) >= $this->getSetting('MAJ_SHOW_HTML_FOOTER', Auth::PRIV_HIDE)  && !Filter::getBool('nofooter')){
151
+				$html .= $this->getSetting('MAJ_HTML_FOOTER', '');
152
+			}
153
+		}
154
+		return $html;
155 155
 	}
156 156
 	
157 157
 }
Please login to merge, or discard this patch.
src/Webtrees/Module/WelcomeBlockModule.php 1 patch
Indentation   +58 added lines, -58 removed lines patch added patch discarded remove patch
@@ -19,76 +19,76 @@
 block discarded – undo
19 19
  * Welcome Block Module.
20 20
  */
21 21
 class WelcomeBlockModule extends AbstractModule
22
-    implements ModuleBlockInterface
22
+	implements ModuleBlockInterface
23 23
 {
24
-    /** @var string For custom modules - link for support, upgrades, etc. */
25
-    const CUSTOM_WEBSITE = 'https://github.com/jon48/webtrees-lib';
24
+	/** @var string For custom modules - link for support, upgrades, etc. */
25
+	const CUSTOM_WEBSITE = 'https://github.com/jon48/webtrees-lib';
26 26
         
27
-    /**
28
-     * {@inhericDoc}
29
-     */
30
-    public function getTitle() {
31
-        return /* I18N: Name of the “WelcomeBlock” module */ I18N::translate('MyArtJaub Welcome Block');
32
-    }
27
+	/**
28
+	 * {@inhericDoc}
29
+	 */
30
+	public function getTitle() {
31
+		return /* I18N: Name of the “WelcomeBlock” module */ I18N::translate('MyArtJaub Welcome Block');
32
+	}
33 33
     
34
-    /**
35
-     * {@inhericDoc}
36
-     */
37
-    public function getDescription() {
38
-        return /* I18N: Description of the “WelcomeBlock” module */ I18N::translate('The MyArtJaub Welcome block welcomes the visitor to the site, allows a quick login to the site, and displays statistics on visits.');
39
-    }
34
+	/**
35
+	 * {@inhericDoc}
36
+	 */
37
+	public function getDescription() {
38
+		return /* I18N: Description of the “WelcomeBlock” module */ I18N::translate('The MyArtJaub Welcome block welcomes the visitor to the site, allows a quick login to the site, and displays statistics on visits.');
39
+	}
40 40
     
41
-    /**
42
-     * {@inhericDoc}
43
-     */
44
-    public function modAction($mod_action) {
45
-        \MyArtJaub\Webtrees\Mvc\Dispatcher::getInstance()->handle($this, $mod_action);
46
-    }
41
+	/**
42
+	 * {@inhericDoc}
43
+	 */
44
+	public function modAction($mod_action) {
45
+		\MyArtJaub\Webtrees\Mvc\Dispatcher::getInstance()->handle($this, $mod_action);
46
+	}
47 47
     
48
-    /**
49
-     * {@inhericDoc}
50
-     * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::getBlock()
51
-     */
48
+	/**
49
+	 * {@inhericDoc}
50
+	 * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::getBlock()
51
+	 */
52 52
 	public function getBlock($block_id, $template = true, $cfg = array()) {
53
-        global $controller, $WT_TREE;
53
+		global $controller, $WT_TREE;
54 54
         
55
-        $wb_controller = new WelcomeBlockController($this);           
56
-        return $wb_controller->index($controller, $WT_TREE, $block_id, $template);
57
-    }
55
+		$wb_controller = new WelcomeBlockController($this);           
56
+		return $wb_controller->index($controller, $WT_TREE, $block_id, $template);
57
+	}
58 58
     
59
-    /**
60
-     * {@inhericDoc}
61
-     * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::loadAjax()
62
-     */
63
-    public function loadAjax() {
64
-        return false;
65
-    }
59
+	/**
60
+	 * {@inhericDoc}
61
+	 * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::loadAjax()
62
+	 */
63
+	public function loadAjax() {
64
+		return false;
65
+	}
66 66
     
67
-    /**
68
-     * {@inhericDoc}
69
-     * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::isUserBlock()
70
-     */
71
-    public function isUserBlock() {
72
-        return false;
73
-    }
67
+	/**
68
+	 * {@inhericDoc}
69
+	 * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::isUserBlock()
70
+	 */
71
+	public function isUserBlock() {
72
+		return false;
73
+	}
74 74
     
75
-    /**
76
-     * {@inhericDoc}
77
-     * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::isGedcomBlock()
78
-     */
79
-    public function isGedcomBlock() {
80
-        return true;
81
-    }
75
+	/**
76
+	 * {@inhericDoc}
77
+	 * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::isGedcomBlock()
78
+	 */
79
+	public function isGedcomBlock() {
80
+		return true;
81
+	}
82 82
     
83
-    /**
84
-     * {@inhericDoc}
85
-     * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::configureBlock()
86
-     */
87
-    public function configureBlock($block_id) {
83
+	/**
84
+	 * {@inhericDoc}
85
+	 * @see \Fisharebest\Webtrees\Module\ModuleBlockInterface::configureBlock()
86
+	 */
87
+	public function configureBlock($block_id) {
88 88
 
89
-        $wb_controller = new WelcomeBlockController($this);
90
-        return $wb_controller->config($block_id);        
91
-    }
89
+		$wb_controller = new WelcomeBlockController($this);
90
+		return $wb_controller->config($block_id);        
91
+	}
92 92
 
93 93
 }
94 94
  
95 95
\ No newline at end of file
Please login to merge, or discard this patch.
src/Webtrees/Hook/HookInterfaces/CustomSimpleTagManagerInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
  /**
3
- * webtrees-lib: MyArtJaub library for webtrees
4
- *
5
- * @package MyArtJaub\Webtrees
6
- * @subpackage Hook
7
- * @author Jonathan Jaubart <[email protected]>
8
- * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
- */
3
+  * webtrees-lib: MyArtJaub library for webtrees
4
+  *
5
+  * @package MyArtJaub\Webtrees
6
+  * @subpackage Hook
7
+  * @author Jonathan Jaubart <[email protected]>
8
+  * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
+  */
11 11
 namespace MyArtJaub\Webtrees\Hook\HookInterfaces;
12 12
 
13 13
 /**
@@ -18,12 +18,12 @@  discard block
 block discarded – undo
18 18
 interface CustomSimpleTagManager {
19 19
 
20 20
 
21
-    /**
22
-     * Returns the list of expected tags, classified by type of records.
23
-     *
24
-     * @return array List of expected tags
25
-     */
26
-    public function hGetExpectedTags();
21
+	/**
22
+	 * Returns the list of expected tags, classified by type of records.
23
+	 *
24
+	 * @return array List of expected tags
25
+	 */
26
+	public function hGetExpectedTags();
27 27
     
28 28
 	/**
29 29
 	 * Return the HTML code to be display for this tag.
Please login to merge, or discard this patch.
src/Webtrees/Hook/HookInterfaces/RecordNameTextExtenderInterface.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
- * webtrees-lib: MyArtJaub library for webtrees
4
- *
5
- * @package MyArtJaub\Webtrees
6
- * @subpackage Hook
7
- * @author Jonathan Jaubart <[email protected]>
8
- * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
- */
3
+  * webtrees-lib: MyArtJaub library for webtrees
4
+  *
5
+  * @package MyArtJaub\Webtrees
6
+  * @subpackage Hook
7
+  * @author Jonathan Jaubart <[email protected]>
8
+  * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
+  */
11 11
 namespace MyArtJaub\Webtrees\Hook;
12 12
 
13 13
 use \Fisharebest\Webtrees as fw;
Please login to merge, or discard this patch.
src/Webtrees/Hook/HookInterfaces/PageFooterExtenderInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
  /**
3
- * webtrees-lib: MyArtJaub library for webtrees
4
- *
5
- * @package MyArtJaub\Webtrees
6
- * @subpackage Hook
7
- * @author Jonathan Jaubart <[email protected]>
8
- * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
- */
3
+  * webtrees-lib: MyArtJaub library for webtrees
4
+  *
5
+  * @package MyArtJaub\Webtrees
6
+  * @subpackage Hook
7
+  * @author Jonathan Jaubart <[email protected]>
8
+  * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
+  */
11 11
 namespace MyArtJaub\Webtrees\Hook\HookInterfaces;
12 12
 
13 13
 /**
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
  */
16 16
 interface PageFooterExtender {
17 17
 		
18
-    /**
19
-     * Get HTML code for extending the footer of a page.
20
-     * 
21
-     * @return string HTML code extension
22
-     */
23
-    public function hPrintFooter();
18
+	/**
19
+	 * Get HTML code for extending the footer of a page.
20
+	 * 
21
+	 * @return string HTML code extension
22
+	 */
23
+	public function hPrintFooter();
24 24
 	
25 25
 }
26 26
 
Please login to merge, or discard this patch.
src/Webtrees/Hook/HookInterfaces/FactSourceTextExtenderInterface.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
- * webtrees-lib: MyArtJaub library for webtrees
4
- *
5
- * @package MyArtJaub\Webtrees
6
- * @subpackage Hook
7
- * @author Jonathan Jaubart <[email protected]>
8
- * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
- */
3
+  * webtrees-lib: MyArtJaub library for webtrees
4
+  *
5
+  * @package MyArtJaub\Webtrees
6
+  * @subpackage Hook
7
+  * @author Jonathan Jaubart <[email protected]>
8
+  * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
+  */
11 11
 namespace MyArtJaub\Webtrees\Hook;
12 12
 
13 13
 use \Fisharebest\Webtrees as fw;
Please login to merge, or discard this patch.
src/Webtrees/Hook/HookInterfaces/PageHeaderExtenderInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
  /**
3
- * webtrees-lib: MyArtJaub library for webtrees
4
- *
5
- * @package MyArtJaub\Webtrees
6
- * @subpackage Hook
7
- * @author Jonathan Jaubart <[email protected]>
8
- * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
- */
3
+  * webtrees-lib: MyArtJaub library for webtrees
4
+  *
5
+  * @package MyArtJaub\Webtrees
6
+  * @subpackage Hook
7
+  * @author Jonathan Jaubart <[email protected]>
8
+  * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
+  */
11 11
 namespace MyArtJaub\Webtrees\Hook\HookInterfaces;
12 12
 
13 13
 /**
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
  */
16 16
 interface PageHeaderExtender {
17 17
 		
18
-    /**
19
-     * Get HTML code for extending the header of a page.
20
-     * 
21
-     * @return string HTML code extension
22
-     */
23
-    public function hPrintHeader();
18
+	/**
19
+	 * Get HTML code for extending the header of a page.
20
+	 * 
21
+	 * @return string HTML code extension
22
+	 */
23
+	public function hPrintHeader();
24 24
 	
25 25
 }
26 26
 
Please login to merge, or discard this patch.
src/Webtrees/Hook/HookInterfaces/IndividualHeaderExtenderInterface.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
- * webtrees-lib: MyArtJaub library for webtrees
4
- *
5
- * @package MyArtJaub\Webtrees
6
- * @subpackage Hook
7
- * @author Jonathan Jaubart <[email protected]>
8
- * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
- */
3
+  * webtrees-lib: MyArtJaub library for webtrees
4
+  *
5
+  * @package MyArtJaub\Webtrees
6
+  * @subpackage Hook
7
+  * @author Jonathan Jaubart <[email protected]>
8
+  * @copyright Copyright (c) 2011-2016, Jonathan Jaubart
9
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
10
+  */
11 11
 namespace MyArtJaub\Webtrees\Hook;
12 12
 
13 13
 use \Fisharebest\Webtrees as fw;
Please login to merge, or discard this patch.
src/Webtrees/Functions/FunctionsPrint.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	 * @return string HTML code of the inserted flag
80 80
 	 */
81 81
 	public static function htmlPlaceIcon(\Fisharebest\Webtrees\Place $place, $icon_path , $size = 50) {
82
-	    return '<img class="flag_gm_h'. $size . '" src="' . $icon_path . '" title="' . $place->getGedcomName() . '" alt="' . $place->getGedcomName() . '" />';
82
+		return '<img class="flag_gm_h'. $size . '" src="' . $icon_path . '" title="' . $place->getGedcomName() . '" alt="' . $place->getGedcomName() . '" />';
83 83
 	}
84 84
 	
85 85
 	/**
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
 	 * @return boolean
356 356
 	 */
357 357
 	public static function isDateWithinChartsRange(Date $date) {
358
-	    return $date->gregorianYear() >= 1550 && $date->gregorianYear() < 2030;
358
+		return $date->gregorianYear() >= 1550 && $date->gregorianYear() < 2030;
359 359
 	}
360 360
 
361 361
 }
Please login to merge, or discard this patch.