lotsa little fixes

This commit is contained in:
friendica
2012-10-21 22:11:02 -07:00
parent 87c171030c
commit 8f9ddcb536
10 changed files with 56 additions and 85 deletions

View File

@@ -1,18 +1,17 @@
<?php
function apps_content(&$a) {
$title = t('Applications');
if(count($a->apps)==0)
$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' => $title,
'$apps' => $a->apps,
'$title' => t('Applications'),
'$apps' => $apps,
));
}