global menu
Posted: March 5th, 2012, 9:13 pm
I use one global menu for all wikis at the very top of the page.
I achieve that through this function that is placed in gumax.php.
Now I need more menus in more language variatons. I have tried following, but it hasnt work.
How can I exactly do that?
Pls advise
I achieve that through this function
Code: Select all
<?php include ('menu.html);
Now I need more menus in more language variatons. I have tried following, but it hasnt work.
Code: Select all
<?php
switch ($_SERVER["SERVER_NAME"])
{
# Hitman
case 'cs.hitman.pedie.eu':
$html_file_name = 'http://pedie.eu/pedie/main/menu/cs/menu.html';
break;
case 'pl.hitman.pedie.eu':
$html_file_name = 'http://pedie.eu/pedie/main/menu/pl/menu.html';
break;
}
?>
Pls advise