feed untranslated appnames to nav_set_selected() and query for the active app directly to get app details
This commit is contained in:
@@ -69,11 +69,6 @@ class Wiki extends \Zotlabs\Web\Controller {
|
||||
goaway('/' . argv(0));
|
||||
}
|
||||
|
||||
nav_set_selected([
|
||||
'name' => t('Wiki'),
|
||||
'url' =>'/wiki/' . $nick
|
||||
]);
|
||||
|
||||
$observer_hash = get_observer_hash();
|
||||
|
||||
// Determine if the observer is the channel owner so the ACL dialog can be populated
|
||||
@@ -81,6 +76,8 @@ class Wiki extends \Zotlabs\Web\Controller {
|
||||
|
||||
$wiki_owner = true;
|
||||
|
||||
nav_set_selected('Wiki');
|
||||
|
||||
// Obtain the default permission settings of the channel
|
||||
$owner_acl = array(
|
||||
'allow_cid' => $owner['channel_allow_cid'],
|
||||
|
Reference in New Issue
Block a user