lotsa little fixes
This commit is contained in:
11
mod/apps.php
11
mod/apps.php
@@ -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,
|
||||
));
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user