
# Page title
temp.pageTitle = TEXT
temp.pageTitle {
  if.isTrue = {$pagetitle.enable}
  field = title
  override.field = subtitle
  fontTag = {$pagetitle.wrap}
  space = {$pagetitle.spaceBefore} | {$pagetitle.spaceAfter}
}


## The header:
temp.header = IMAGE
temp.header.wrap = |<br />
temp.header.file = GIFBUILDER
temp.header.file {
  XY = [5.w], [5.h]
  5 = IMAGE

  5.file = {$file.left_bar}
  5.file.import = uploads/media/
  5.file.import.data = levelmedia : 1
  5.file.import.listNum=0

  10 = TEXT
  10.text.field = nav_title // title
  10.text.override.field = subtitle
  10.text.if.isTrue = {$leftBar.enable}
  10.fontFile = {$file.left_bar_fontFile}
  10.fontSize = {$leftBar.fontSize}
  10.fontColor = {$leftBar.fontColor}
  10.offset = {$leftBar.offset}
  10.align = {$leftBar.align}
  10.niceText = 1
}

## The textmenu
temp.tmenu = HMENU
temp.tmenu.if.isTrue = {$menu.enable}
temp.tmenu.entryLevel = 0
temp.tmenu.stdWrap.space = {$menu.spaceBefore} | {$menu.spaceAfter}
temp.tmenu.1 = TMENU
temp.tmenu.1.wrap = <table border="0" cellpadding="1" cellspacing="0" width="100%"><tr> | </tr></table>
temp.tmenu.1.NO {
  ATagBeforeWrap = 1
  allWrap = |*||*|     <td bgcolor="{$menu.bgcolor}" align="center" width="10%">  | </td><td width="1%"><img src="clear.gif" width="{$menu.gapwidth}" height="{$menu.itemHeight}" alt="" /></td>     ||     <td bgcolor="{$menu.bgcolor}" align="center" width="10%">  | </td>
  linkWrap = {$menu.wrap}
}
temp.tmenu.1.ACT < temp.tmenu.1.NO
temp.tmenu.1.ACT = 1
temp.tmenu.1.ACT.stdWrap.wrap = <u> |</u>

## titlefield
temp.titlefield = IMAGE
temp.titlefield.file = {$file.right_subbar}
temp.titlefield.wrap = | <br />
temp.titlefield.stdWrap.ifEmpty = {$page.titleValue}
temp.titlefield.stdWrap.ifEmpty.wrap = <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td bgcolor="{$menu.bgcolor}" align="center">{$page.titleWrap}</td><td bgcolor="{$menu.bgcolor}"><img src="clear.gif" width="1" height="{$menu.itemHeight}" alt="" /></td></tr></table>
temp.titlefield.stdWrap.space = {$menu.spaceBefore} | {$menu.spaceAfter}


## PAGE:
page = PAGE
page.typeNum = 0
page.bodyTag < styles.content.bodyTag
page.noLinkUnderline = 1
page.bodyTagMargins = 0
page.bgImg = {$file.background}
page.wrap = <table border="0" cellpadding="0" cellspacing="0" width="1"><tr> |</tr></table>
page.stdWrap {
  append < temp.header
  append.wrap = |<br />
  append.if.isTrue = {$page.leftImageExpand}
  append.stdWrap.wrapAlign = {$page.align}

  offsetWrap = {$page.offset}
  offsetWrap.stdWrap.wrapAlign = {$page.align}
}

page.10 = COA
page.10.wrap = <td valign="top" bgcolor="{$page.contentBgColor}"> | </td>
page.10 {
  5 < temp.header
  5.wrap = |<br />
  5.if.isFalse = {$page.leftImageExpand}
  10 < temp.tmenu
  12 < temp.pageTitle
  20 = COA
  20.stdWrap.offsetWrap = {$page.contentOffset}
  20.10 = TEXT
  20.10.value = <img src="clear.gif" width="{$page.width}" height="1" alt="" /><br />
  20.15 < styles.content.editPanelPage
  20.20 < styles.content.get
  20.30 < styles.content.lastUpdate
  20.40 < styles.content.typo3_powered
}

page.20 = TEXT
page.20.value = <td><img src="clear.gif" width="{$gap.width.left}" height="1" alt="" /></td>
page.20.if.isTrue = {$gap.width.left}
page.21 = TEXT
page.21.value = <td bgcolor="{$gap.linecolor}"><img src="clear.gif" width="{$gap.width.line}" height="1" alt="" /></td>
page.21.if.isTrue = {$gap.width.line}
page.22 = TEXT
page.22.value = <td><img src="clear.gif" width="{$gap.width.right}" height="1" alt="" /></td>
page.22.if.isTrue = {$gap.width.right}

page.30 = COA
page.30.if.isTrue = {$rightCol.enable}
page.30.wrap = <td valign="top" bgcolor="{$rightCol.bgColor}"><img src="clear.gif" width="{$rightCol.width}" height="1" alt="" /><br /> | </td>
page.30 {
  5 = IMAGE
  5.file = {$file.right_bar}
  5.wrap = | <br />
  5.if.isFalse = {$page.leftImageExpand}
  10 < temp.titlefield

  15 = LOAD_REGISTER
  15.maxImageWidth = {$rightCol.maxImageWidth}
  15.textStyle_face = {$rightCol.textStyle_face}
  15.textStyle_size = {$rightCol.textStyle_size}
  15.textStyle_color = {$rightCol.textStyle_color}
  15.defaultHeaderType = {$rightCol.defaultHeaderType}
  15.pageColor = {$rightCol.bgColor}

  20 < styles.content.getBorder
  25 = RESTORE_REGISTER
}



{$rightCol.leftComment} page.5 < page.30
{$rightCol.leftComment} page.6 < page.20
{$rightCol.leftComment} page.7 < page.21
{$rightCol.leftComment} page.8 < page.22
{$rightCol.leftComment} page.30 >
{$rightCol.leftComment} page.20 >
{$rightCol.leftComment} page.21 >
{$rightCol.leftComment} page.22 >


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

