#  Submenu (level 3!), text based

temp.submenu = HMENU
temp.submenu.entryLevel = 2
temp.submenu.1 = TMENU
temp.submenu.1.wrap = {$submenu.wrap}
temp.submenu.stdWrap.offsetWrap = {$submenu.menuOffset}
temp.submenu.1.NO {
  allWrap =  {$submenu.allWrap}
  linkWrap = {$submenu.linkWrap}
  ATagBeforeWrap = 1
}


# Page object

page = PAGE
page.typeNum = 0
page.bodyTag < styles.content.bodyTag
page.bodyTagMargins = 0
page.bgImg = {$page.file.background}
page.noLinkUnderline = 1

page.10 = TEMPLATE
page.10 {
  template = FILE
  template.file = {$page.file.template}
  workOnSubpart = DOCUMENT_BODY
  marks {
    TOP_LOGO = IMAGE
    TOP_LOGO.file = {$page.file.toplogo}

    TOP_IMAGE = IMAGE
    TOP_IMAGE.file = {$page.file.topimage}

    PAGE_TITLE = TEXT
    PAGE_TITLE.field = title
    PAGE_TITLE.wrap = {$page.titleWrap}
    PAGE_TITLE.offsetWrap = {$page.offset}

    MAIN_MENU < styles.gmenu_layer.green

    SUB_MENU = COA
    SUB_MENU.10 < temp.submenu
    SUB_MENU.20 = CLEARGIF
    SUB_MENU.20.width = {$submenu.cellWidth}

    CONTENT = COA
    CONTENT.stdWrap.offsetWrap = {$page.contentOffset}
    CONTENT.5 < styles.content.editPanelPage
    CONTENT.10 < styles.content.get
    CONTENT.20 = CLEARGIF
    CONTENT.20.width = {$contentWidth}
    CONTENT.20.wrap = <br />|
    CONTENT.30 < styles.content.lastUpdate
    CONTENT.40 < styles.content.typo3_powered

    CELL_BACK = IMG_RESOURCE
    CELL_BACK.file = {$page.file.cellBack}
    CELL_BACK.stdWrap.required = 1
    CELL_BACK.stdWrap.wrap = background="|"
  }
}



page.config.admPanel = 1
config.intTarget = {$PAGE_TARGET}
page.headerData.999 < plugin.meta

