config.insertDmailerBoundaries = 1


# Redefining header type 5

lib.stdheader.10.5.file.10.antialias = 0
lib.stdheader.10.5.file.10.fontColor = #666666
lib.stdheader.10.5.file.XY = 400 ,30
lib.stdheader.10.5.file.10.fontSize = 12
lib.stdheader.10.5.file.10.offset = 6,18
lib.stdheader.10.5.file.XY = 400 ,27
lib.stdheader.10.5.file {
  20 = BOX
  20.dimensions = 0,0,400,1
  20.color = {$right.frameCol}
  21 < .20
  21.align = , b
  22 < .20
  22.dimensions = 0,0,1,40
  23 < .22
  23.align = r
}
lib.stdheader.10.4 >
lib.stdheader.10.4 < lib.stdheader.10.5
lib.stdheader.10.4.file.XY = 185,27



# Setting up page

page = PAGE
page.typeNum = 0
page.stylesheet = {$page.file.css}
page.hoverStyle = COLOR: #cccccc; TEXT-DECORATION: underline
page.bodyTag = <body text="{$text}" vlink="{$vlink}" alink="{$alink}" link="{$link}" bgcolor="{$bgCol}" leftmargin="0" topmargin="5">

page.stdWrap.offsetWrap = 10,0
page.5 = IMAGE
page.5.wrap = |<br />
page.5.file = {$page.file.toplogo}

page.10 = TEMPLATE
page.10 {
  template = FILE
  template.file = {$page.file.template}
  marks.CONTENT_NORMAL = COA
  marks.CONTENT_NORMAL {
    5 < styles.content.editPanelPage
    10 < styles.content.get
    30 < styles.content.lastUpdate
    40 < styles.content.typo3_powered
  }
  marks.CONTENT_MARGIN = COA
  marks.CONTENT_MARGIN {
    10 = LOAD_REGISTER
    10.defaultHeaderType = 4
    20 < styles.content.getBorder
    30 = RESTORE_REGISTER
  }
  marks.LINECOLOR = TEXT
  marks.LINECOLOR.value = {$lineCol}
  marks.COPYRIGHT = TEXT
  marks.COPYRIGHT.value = {$copyright}
}


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

## HTML mail ping:
page.20 = TEXT
page.20.value = <img src="typo3/gfx/dmailerping.gif" width="1" height="1" dmailerping="1" alt="" />

## Plain text setup:
lib.alt_plaintext.renderObj.header.2 {
  preLineChar = 
  postLineChar >
  preLineChar >
  preLineLen >
  postLineLen >
  preBlanks = 0
}
alt_plaintext.10.marks.CONTENT >
alt_plaintext.10.marks.CONTENT = COA
alt_plaintext.10.marks.CONTENT {
  10 < styles.content.get
  10.renderObj = < lib.alt_plaintext.renderObj
  20 < styles.content.getBorder
  20.renderObj = < lib.alt_plaintext.renderObj
}

alt_plaintext_test.10.marks.CONTENT < alt_plaintext.10.marks.CONTENT
