mirror of https://github.com/movim/movim
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
23 lines
814 B
<?php
|
|
|
|
class NodeconfigController extends BaseController {
|
|
function load() {
|
|
$this->session_only = true;
|
|
}
|
|
|
|
function dispatch() {
|
|
if(isset($_GET['s']) && $_GET['s'] != "" ) {
|
|
$this->page->setTitle(APP_TITLE.' - Node'.' - '.t('Configuration'));
|
|
|
|
$this->page->menuAddLink(t('Home'), 'main');
|
|
$this->page->menuAddLink(t('News'), 'news');
|
|
$this->page->menuAddLink(t('Explore'), 'explore');
|
|
$this->page->menuAddLink(t('Profile'), 'profile');
|
|
$this->page->menuAddLink(t('Media'), 'media');
|
|
$this->page->menuAddLink(t('Configuration'), 'conf', false, true);
|
|
$this->page->menuAddLink(t('Help'), 'help', false, true);
|
|
} else {
|
|
$this->name = 'main';
|
|
}
|
|
}
|
|
}
|