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

                               
                                                               
 
 
                                               
                                              
           
 
<?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,
	));

}