src/Webtrees/Controller/IndividualController.php
public function printHeaderExtensions(){
		$hook_extend_indi_header_left = new mw\Hook\Hook('hExtendIndiHeaderLeft');
		$hook_extend_indi_header_right = new mw\Hook\Hook('hExtendIndiHeaderRight');
		$hook_extend_indi_header_left = $hook_extend_indi_header_left->execute($this->ctrl_individual);
		$hook_extend_indi_header_right = $hook_extend_indi_header_right->execute($this->ctrl_individual);
		
		echo '<div id="indi_perso_header">',
			'<div id="indi_perso_header_left">';
		foreach ($hook_extend_indi_header_left as $div) {
			if(count($div)==2){
				echo '<div id="', $div[0], '" class="indi_perso_header_left_div">',
					$div[1], '</div>';
			}
		}
		echo '</div>',
			'<div id="indi_perso_header_right">';
		foreach ($hook_extend_indi_header_right as $div) {
			if(count($div)==2){
				echo '<div id="', $div[0], '" class="indi_perso_header_right_div">',
					$div[1], '</div>';
			}
		}
		echo '</div>',
		'</div>';
	}
public function printHeaderExtensions(){
		$hook_extend_indi_header_left = new mw\Hook\Hook('hExtendIndiHeaderLeft');
		$hook_extend_indi_header_right = new mw\Hook\Hook('hExtendIndiHeaderRight');
		$hook_extend_indi_header_left = $hook_extend_indi_header_left->execute($this->ctrl_individual);
		$hook_extend_indi_header_right = $hook_extend_indi_header_right->execute($this->ctrl_individual);
		
		echo '<div id="indi_perso_header">',
			'<div id="indi_perso_header_left">';
		foreach ($hook_extend_indi_header_left as $div) {
			if(count($div)==2){
				echo '<div id="', $div[0], '" class="indi_perso_header_left_div">',
					$div[1], '</div>';
			}
		}
		echo '</div>',
			'<div id="indi_perso_header_right">';
		foreach ($hook_extend_indi_header_right as $div) {
			if(count($div)==2){
				echo '<div id="', $div[0], '" class="indi_perso_header_right_div">',
					$div[1], '</div>';
			}
		}
		echo '</div>',
		'</div>';
	}
public function printHeaderExtensions ( ) { $ hook_extend_indi_header_left = new mw \ Hook \ Hook ( 'hExtendIndiHeaderLeft' ) ; $ hook_extend_indi_header_right = new mw \ Hook \ Hook ( 'hExtendIndiHeaderRight' ) ; $ hook_extend_indi_header_left = $ hook_extend_indi_header_left -> execute ( $ this -> ctrl_individual ) ; $ hook_extend_indi_header_right = $ hook_extend_indi_header_right -> execute ( $ this -> ctrl_individual ) ; echo '<div id="indi_perso_header">' , '<div id="indi_perso_header_left">' ; foreach ( $ hook_extend_indi_header_left as $ div ) { if ( count ( $ div ) == 2 ) { echo '<div id="' , $ div [ 0 ] , '" class="indi_perso_header_left_div">' , $ div [ 1 ] , '</div>' ; } } echo '</div>' , '<div id="indi_perso_header_right">' ; foreach ( $ hook_extend_indi_header_right as $ div ) { if ( count ( $ div ) == 2 ) { echo '<div id="' , $ div [ 0 ] , '" class="indi_perso_header_right_div">' , $ div [ 1 ] , '</div>' ; } } echo '</div>' , '</div>' ; }
Print individual header extensions.
Use hooks hExtendIndiHeaderLeft and hExtendIndiHeaderRight

@uses \MyArtJaub\Webtrees\Hook\Hook
Print individual header extensions . Use hooks hExtendIndiHeaderLeft and hExtendIndiHeaderRight