1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- if (!defined('STATUSNET')) {
-
-
- exit(1);
- }
- class SecondaryNav extends Menu
- {
- function show()
- {
- $this->out->elementStart('ul', array('class' => 'nav',
- 'id' => 'site_nav_global_secondary'));
- if (Event::handle('StartSecondaryNav', array($this->action))) {
- $this->out->menuItem(common_local_url('doc', array('title' => 'help')),
-
- _m('MENU','Help'));
- $this->out->menuItem(common_local_url('doc', array('title' => 'about')),
-
- _m('MENU','About'));
- $this->out->menuItem(common_local_url('doc', array('title' => 'faq')),
-
- _m('MENU','FAQ'));
- $bb = common_config('site', 'broughtby');
- if (!empty($bb)) {
- $this->out->menuItem(common_local_url('doc', array('title' => 'tos')),
-
- _m('MENU','TOS'));
- }
- $this->out->menuItem(common_local_url('doc', array('title' => 'privacy')),
-
- _m('MENU','Privacy'));
- $this->out->menuItem(common_local_url('doc', array('title' => 'source')),
-
- _m('MENU','Source'));
- $this->out->menuItem(common_local_url('version'),
-
- _m('MENU','Version'));
- $this->out->menuItem(common_local_url('doc', array('title' => 'contact')),
-
-
- _m('MENU','Contact'));
- Event::handle('EndSecondaryNav', array($this->action));
- }
- $this->out->elementEnd('ul');
- }
- }
|