Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1. lib.hauptmenu = HMENU
  2. lib.hauptmenu {
  3. wrap = <ul class="nav navbar-nav">|</ul>
  4. 1 = TMENU
  5. 1.expAll = 1
  6. 1.NO = 1
  7. 1.NO.linkWrap = <li>|
  8. 1.IFSUB = 1
  9. 1.IFSUB.linkWrap = <li class="dropdown">|
  10. 1.IFSUB.stdWrap.dataWrap = |<span class="caret"></span>
  11. 1.IFSUB.ATagParams = class="dropdown-toggle" data-toggle="dropdown"
  12. 2 = TMENU
  13. 2 <.1
  14. 2.wrap = <ul class="dropdown-menu">|</ul>
  15. }
  16. lib.rechtsmenu = HMENU
  17. lib.rechtsmenu {
  18. wrap = <ul class="nav navbar-nav navbar-right">|</ul>
  19. special = directory
  20. special.value = 25
  21. 1 = TMENU
  22. 1.expAll = 1
  23. 1.NO = 1
  24. 1.NO.linkWrap = <li>|
  25. 1.IFSUB = 1
  26. 1.IFSUB.linkWrap = <li class="dropdown">|
  27. 1.IFSUB.stdWrap.dataWrap = |<span class="caret"></span>
  28. 1.IFSUB.ATagParams = class="dropdown-toggle" data-toggle="dropdown"
  29. 2 = TMENU
  30. 2 <.1
  31. 2.wrap = <ul class="dropdown-menu">|</ul>
  32. }
  33.  
  34. [globalVar = GP:L != 1]
  35. lib.sprachauswahl = COA
  36. lib.sprachauswahl {
  37. wrap = <ul class="flagmenu noflags">|</ul>
  38. 10 = TEXT
  39. 10.field = uid
  40. 10.wrap = <li><a href="index.php?id=|&L=1">EN</a>
  41. 20 = TEXT
  42. 20.value = <li>DE
  43. }
  44. [end]
  45.  
  46. [globalVar = GP:L = 1]
  47. lib.sprachauswahl = COA
  48. lib.sprachauswahl {
  49. wrap = <ul class="flagmenu noflags">|</ul>
  50. 10 = TEXT
  51. 10.value = <li>EN
  52. 20 = TEXT
  53. 20.field = uid
  54. 20.wrap = <li><a href="index.php?id=|">DE</a>
  55. }
  56. [end]
  57.  
  58. page = PAGE
  59.  
  60. config{
  61. language = de
  62. htmlTag_langKey = de-DE
  63. locale_all = de_DE
  64. sys_language_uid = 0
  65. linkVars = L
  66. }
  67.  
  68. [globalVar = GP:L = 1]
  69. config{
  70. language = en
  71. htmlTag_langKey = en
  72. locale_all = en
  73. sys_language_uid = 1
  74. }
  75. [end]
  76.  
  77.  
  78. page.includeCSS {
  79. file1 = fileadmin/dominic/template/css/bootstrap.css
  80. file2 = fileadmin/dominic/template/css/news.css
  81. file4 = fileadmin/dominic/template/css/style.css
  82. file2 = fileadmin/dominic/template/css/musterprojekt_style.css
  83. }
  84. page.includeJS{
  85. file1 = http://code.jquery.com/jquery-2.1.1.min.js
  86. file2 = fileadmin/dominic/template/js/helper.js
  87. }
  88.  
  89. page.10 = TEMPLATE
  90. page.10 {
  91. template = FILE
  92. template.file = fileadmin/dominic/template/index.html
  93. }
  94.  
  95. [page|backend_layout = 30]
  96. page.10.template.file = fileadmin/dominic/template/2-spaltig.html
  97. [end]
  98.  
  99. [page|backend_layout = 31]
  100. page.10.template.file = fileadmin/dominic/template/2-spaltig-rechts.html
  101. [end]
  102.  
  103. [page|backend_layout = 32]
  104. page.10.template.file = fileadmin/dominic/template/3-spaltig.html
  105. [end]
  106.  
  107.  
  108. page.10 {
  109. workOnSubpart = DOCUMENT_BODY
  110. subparts {
  111. HAUPTMENU < lib.hauptmenu
  112. MENURECHTS < lib.rechtsmenu
  113. LANGUAGE < lib.sprachauswahl
  114. INHALT < styles.content.get
  115. RECHTS = CONTENT
  116. RECHTS.table = tt_content
  117. RECHTS.select.orderBy = sorting
  118. RECHTS.select.where = colpos = 1
  119. LINKS = CONTENT
  120. LINKS.table = tt_content
  121. LINKS.select.orderBy = sorting
  122. LINKS.select.where = colpos = 2
  123. }
  124. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement