]> git.mxchange.org Git - friendica.git/blob - mod/apps.php
DE update to the strings
[friendica.git] / mod / apps.php
1 <?php
2
3 function apps_content(&$a) {
4     $privateaddons = get_config('config','private_addons');
5       if ($privateaddons === "1") {
6         if((! (local_user())))  {
7         info( t("You must be logged in to use addons. "));
8       return;};
9 }
10
11       $title = t('Applications');
12
13         if(count($a->apps)==0)
14                 notice( t('No installed applications.') . EOL);
15
16
17         $tpl = get_markup_template("apps.tpl");
18         return replace_macros($tpl, array(
19                 '$title' => $title,
20                 '$apps' => $a->apps,
21         ));
22
23         
24
25 }