Revize 148
Přidáno uživatelem Michal Kliment před více než 15 roky(ů)
freenetis/trunk/kohana/application/controllers/redirect.php | ||
---|---|---|
$view = new View('template');
|
||
$view->header = new View('base/header');
|
||
$view->header->title = url_lang::lang('texts.Information');
|
||
$view->header->menu = '';
|
||
$view->header->menu = Controller::Render_menu();
|
||
$view->content = new View('redirect/ip_info');
|
||
$view->content->ip_address = $ip_address;
|
||
$view->content->subnet_name = $subnet->name;
|
freenetis/trunk/kohana/application/libraries/MY_Controller.php | ||
---|---|---|
}*/
|
||
|
||
public function render_menu ($active = null)
|
||
{
|
||
{
|
||
|
||
|
||
if (!$this->session->get('user_id', 0)) return '';
|
||
|
||
//verze 2
|
||
/*$this->myMenu = '';
|
Také k dispozici: Unified diff
Pridano vykreslovani menu prihlaseným uzivatelum