the app menu takes form

This commit is contained in:
friendica
2014-05-15 19:54:37 -07:00
parent 99d97170de
commit 077b97eac4
3 changed files with 59 additions and 15 deletions

View File

@@ -8,14 +8,14 @@ function apps_content(&$a) {
$apps = get_system_apps();
$o .= print_r($apps,true);
// $o .= print_r($apps,true);
return $o;
// return $o;
// $tpl = get_markup_template("apps.tpl");
// return replace_macros($tpl, array(
// '$title' => t('Applications'),
// '$apps' => $apps,
// ));
return replace_macros(get_markup_template('apps.tpl'), array(
'$title' => t('Applications'),
'$apps' => $apps,
));
}