Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
This commit is contained in:
commit
d3a5911932
@ -284,9 +284,6 @@ class Apps {
|
|||||||
if(! $papp['photo'])
|
if(! $papp['photo'])
|
||||||
$papp['photo'] = z_root() . '/' . get_default_profile_photo(80);
|
$papp['photo'] = z_root() . '/' . get_default_profile_photo(80);
|
||||||
|
|
||||||
if(\App::$nav_sel['active'] == $papp['name'])
|
|
||||||
$papp['active'] = true;
|
|
||||||
|
|
||||||
self::translate_system_apps($papp);
|
self::translate_system_apps($papp);
|
||||||
|
|
||||||
if(trim($papp['plugin']) && (! plugin_is_installed(trim($papp['plugin']))))
|
if(trim($papp['plugin']) && (! plugin_is_installed(trim($papp['plugin']))))
|
||||||
|
@ -242,6 +242,9 @@ EOT;
|
|||||||
$syslist = Zlib\Apps::app_order(local_channel(),$syslist);
|
$syslist = Zlib\Apps::app_order(local_channel(),$syslist);
|
||||||
|
|
||||||
foreach($syslist as $app) {
|
foreach($syslist as $app) {
|
||||||
|
if(\App::$nav_sel['active'] == $app['name'])
|
||||||
|
$app['active'] = true;
|
||||||
|
|
||||||
if($is_owner)
|
if($is_owner)
|
||||||
$nav_apps[] = Zlib\Apps::app_render($app,'nav');
|
$nav_apps[] = Zlib\Apps::app_render($app,'nav');
|
||||||
elseif(! $is_owner && strpos($app['requires'], 'local_channel') === false)
|
elseif(! $is_owner && strpos($app['requires'], 'local_channel') === false)
|
||||||
|
Reference in New Issue
Block a user