Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Setup.TS
  2. ## LANGUAGE MENU w/ FLAGS ###
  3. temp.langMenu = HMENU
  4. temp.langMenu.special = language
  5. temp.langMenu.special.value = 0,1
  6. temp.langMenu.special.normalWhenNoLanguage = 0
  7. temp.langMenu.1 = GMENU
  8. temp.langMenu.1.NO {
  9.   9 = IMAGE
  10.   9.file = fileadmin/templates/images/languages/francais.png || fileadmin/templates/images/languages/german.png
  11. }
  12.  
  13. temp.langMenu.1.ACT < temp.langMenu.1.NO
  14. temp.langMenu.1.ACT = 1
  15. temp.langMenu.1.ACT.9.file = fileadmin/templates/images/languages/francais.png || fileadmin/templates/images/languages/german.png
  16.  
  17. ...
  18.  
  19. marks {
  20.     #######################################
  21.     #           Languages menu            #
  22.     #######################################
  23.     LANGNAV < temp.langMenu
  24.  
  25. }
  26.  
  27.  
  28.  
  29. ------------- Constant.ts ------------------
  30. config {
  31.   ########################################
  32.   #          LANGUAGES                   #
  33.   ########################################
  34.   language {
  35.     uids = 0,1
  36.     labels = FR||DE
  37.   }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement