friendica/mod/apps.php

19 lines
275 B
PHP
Raw Normal View History

2011-02-19 10:01:33 +01:00
<?php
function apps_content(&$a) {
$title = t('Applications');
2011-02-19 10:01:33 +01:00
if(count($a->apps)==0)
notice( t('No installed applications.') . EOL);
2011-02-19 10:01:33 +01:00
$tpl = get_markup_template("apps.tpl");
return replace_macros($tpl, array(
'$title' => $title,
'$apps' => $a->apps,
));
}