community page
This commit is contained in:
parent
308ffe500a
commit
20d3aa2e77
8 changed files with 149 additions and 18 deletions
|
@ -71,8 +71,9 @@
|
|||
|
||||
function NavUpdate() {
|
||||
|
||||
if($('#live-network').length) { src = 'network'; liveUpdate(); }
|
||||
if($('#live-profile').length) { src = 'profile'; liveUpdate(); }
|
||||
if($('#live-network').length) { src = 'network'; liveUpdate(); }
|
||||
if($('#live-profile').length) { src = 'profile'; liveUpdate(); }
|
||||
if($('#live-community').length) { src = 'community'; liveUpdate(); }
|
||||
if($('#live-display').length) {
|
||||
if(liking) {
|
||||
liking = 0;
|
||||
|
|
|
@ -60,10 +60,9 @@ function nav(&$a) {
|
|||
|
||||
$help_url = $a->get_baseurl() . '/help';
|
||||
|
||||
if(! get_config('system','hide-help'))
|
||||
if(! get_config('system','hide_help'))
|
||||
$nav['help'] = array($help_url, t('Help'), "");
|
||||
|
||||
|
||||
if($a->apps)
|
||||
$nav['apps'] = array('apps', t('Apps'), "");
|
||||
|
||||
|
@ -76,6 +75,8 @@ function nav(&$a) {
|
|||
if(strlen($gdir))
|
||||
$gdirpath = $gdir;
|
||||
}
|
||||
elseif(! get_config('system','no_community_page'))
|
||||
$nav['community'] = array('community', t('Community'), "");
|
||||
|
||||
$nav['directory'] = array($gdirpath, t('Directory'), "");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue