/** * Show primary navigation. * * @return nothing */ function showPrimaryNav() { $this->elementStart('div', array('id' => 'site_nav_global_primary')); $user = common_current_user(); if (!empty($user) || !common_config('site', 'private')) { $form = new SearchForm($this); $form->show(); } $pn = new PrimaryNav($this); $pn->show(); $this->elementEnd('div'); }
/** * Show primary navigation. * * @return nothing */ function showPrimaryNav() { $this->elementStart('div', array('id' => 'site_nav_global_primary')); $pn = new PrimaryNav($this); $pn->show(); $this->elementEnd('div'); }