aboutsummaryrefslogtreecommitdiffstats
path: root/mod/apps.php
blob: f25722df785ac6942353c74579ba5fc14a967cce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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;

}