aboutsummaryrefslogtreecommitdiffstats
path: root/mod/apps.php
blob: 43540a3decd666c65ab835c635173fb4827e1812 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

function apps_content(&$a) {

	$apps = $a->get_apps();

	if(count($apps) == 0)
		notice( t('No installed applications.') . EOL);


	$tpl = get_markup_template("apps.tpl");
	return replace_macros($tpl, array(
		'$title' => t('Applications'),
		'$apps' => $apps,
	));

}