DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Language Switch

06.07.2006
| 6804 views |
  • submit to reddit
        
# LANGMENU

temp.langMenu = HMENU
temp.langMenu.special = language
temp.langMenu.special.value = 0,1,2
temp.langMenu.special.normalWhenNoLanguage = 0
temp.langMenu.1 = GMENU
temp.langMenu.1.NO {
  9 = IMAGE
  9.file = fileadmin/template/img/uk_d.gif || fileadmin/template/img/de_d.gif || fileadmin/template/img/fr_d.gif
}

temp.langMenu.1.ACT < temp.langMenu.1.NO
temp.langMenu.1.ACT = 1
temp.langMenu.1.ACT.9.file = fileadmin/template/img/uk.gif || fileadmin/template/img/de.gif || fileadmin/template/img/fr.gif

page.10 < temp.langMenu