aboutsummaryrefslogblamecommitdiffstats
path: root/mod/apps.php
blob: f25722df785ac6942353c74579ba5fc14a967cce (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                   
                      
 






                                                                                                    
                               



                                                               
 


                  
<?php


function apps_content(&$a) {

	$o .= '<h3>' . t('Applications') . '</h3>';

	$apps = false;

	if(local_user()) {
		$apps = true;
		$o .= '<div class="app-title"><a href="notes">' . t('Private Notes') . '</a></div>';
	}

	if($a->apps) {
		$apps = true;
		$o .= $a->apps;
	}

	if(! $apps)
		notice( t('No installed applications.') . EOL);

	return $o;

}