Einfaches Menü

tmp.page_menu = HMENU
tmp.page_menu {
	1 = TMENU
	1 {
		expAll = 1
		wrap = <ul class="p-nav-l1">|</ul>

		NO = 1
		NO {
			wrapItemAndSub = <li>|</li>

			# Add "active" to shortcuts
			ATagParams = class = "p-nav-active"
			ATagParams.if {
				value = 4
				equals.field = doktype
				isTrue = 1
				isTrue.if {
					value.data = TSFE:page|uid
					equals.field = shortcut
				}
			}
		}

		ACT = 1
		ACT.ATagParams = class = "p-nav-active"
		ACT.wrapItemAndSub = <li class ="p-nav-active">|</li>
	}

	2 < .1
	2 {
		wrap = <ul class="p-nav-l2">|</ul>
	}

	3 < .1
	3 {
		wrap = <ul class="p-nav-l3">|</ul>
	}
}