nav_info hook and documentation in en and de
This commit is contained in:
		
					parent
					
						
							
								c12a647f13
							
						
					
				
			
			
				commit
				
					
						ec7f70e9aa
					
				
			
		
					 3 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -268,6 +268,10 @@ $b is an array, params to mail()
 | 
			
		|||
    'body'
 | 
			
		||||
    'headers'
 | 
			
		||||
 | 
			
		||||
###'nav_info'
 | 
			
		||||
is called after the navigational menu is build in include/nav.php.
 | 
			
		||||
$b is an array containing $nav from nav.php.
 | 
			
		||||
 | 
			
		||||
Complete list of hook callbacks
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -176,6 +176,9 @@ Du kannst ebenso plugin_name_init(&$a) nutzen, was oft frühzeitig aufgerufen wi
 | 
			
		|||
        'email' => Email-Adresse, um nach dem Avatar zu suchen
 | 
			
		||||
        'url' => generierte URL (String) des Avatars
 | 
			
		||||
 | 
			
		||||
**'nav_info'**
 | 
			
		||||
 - wird aufgerufen nachdem in include/nav,php der Inhalt des Navigations Menüs erzeugt wurde.
 | 
			
		||||
 - $b ist ein Array, das $nav wiederspiegelt.
 | 
			
		||||
 | 
			
		||||
Eine komplette Liste aller Hook-Callbacks mit den zugehörigen Dateien (am 14-Feb-2012 generiert): Bitte schau in die Quellcodes für Details zu Hooks, die oben nicht dokumentiert sind.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -200,6 +200,8 @@ function nav_info(&$a) {
 | 
			
		|||
	if($banner === false) 
 | 
			
		||||
		$banner .= '<a href="http://friendica.com"><img id="logo-img" src="images/friendica-32.png" alt="logo" /></a><span id="logo-text"><a href="http://friendica.com">Friendica</a></span>';
 | 
			
		||||
 | 
			
		||||
	call_hooks('nav_info', $nav);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	return array(
 | 
			
		||||
		'sitelocation' => $sitelocation,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue