move icon stuff back to app_render() and send navapps through app_render()

This commit is contained in:
Mario Vavti
2017-02-06 20:10:10 +01:00
parent dce5e8d0cc
commit 70edcabca1
8 changed files with 22 additions and 22 deletions

View File

@@ -38,7 +38,7 @@ class Apps extends \Zotlabs\Web\Controller {
foreach($syslist as $app) {
$apps[] = Zlib\Apps::app_render($app,$mode);
}
return replace_macros(get_markup_template('myapps.tpl'), array(
'$sitename' => get_config('system','sitename'),
'$cat' => ((array_key_exists('cat',$_GET) && $_GET['cat']) ? ' - ' . escape_tags($_GET['cat']) : ''),