You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
814 B

  1. <?php
  2. class NodeconfigController extends BaseController {
  3. function load() {
  4. $this->session_only = true;
  5. }
  6. function dispatch() {
  7. if(isset($_GET['s']) && $_GET['s'] != "" ) {
  8. $this->page->setTitle(APP_TITLE.' - Node'.' - '.t('Configuration'));
  9. $this->page->menuAddLink(t('Home'), 'main');
  10. $this->page->menuAddLink(t('News'), 'news');
  11. $this->page->menuAddLink(t('Explore'), 'explore');
  12. $this->page->menuAddLink(t('Profile'), 'profile');
  13. $this->page->menuAddLink(t('Media'), 'media');
  14. $this->page->menuAddLink(t('Configuration'), 'conf', false, true);
  15. $this->page->menuAddLink(t('Help'), 'help', false, true);
  16. } else {
  17. $this->name = 'main';
  18. }
  19. }
  20. }