###############################################
### Configuration for the plugin
plugin.tx_webdispobasket_pi1 {
  includeWebdispo = sesPid, firstPeriod, maxPeriods, entriesPerPage, prices, sort, order, mediaTyp, mediaSize, media
  templateFile = EXT:webdispobasket/res/template.htm
  javascriptFile = EXT:webdispobasket/res/javascript.js
  uploadFolder = uploads/tx_webdispo/
  pdfFile = EXT:webdispobasket/res/druckansicht.htm
  
  allowedTypes = jpg,png,pdf
  image = IMAGE
  image {
    file = EXT:webdispobasket/res/media###TYPE###off.gif
    file.width = 100m
    params = name="###MOUSEOVER###"
    altText = 
    emptyTitleHandling = removeAttr
  }
  preview = 
    noTrimWrap = |    ||
    wrap3 = 
 
|
  }
  marks {
    FORM_ACTION = HTML
    FORM_ACTION {
      value.typolink.parameter.data = TSFE:id
      value.typolink.returnLast = url
    }
    INFO = IMAGE
    INFO {
      file = EXT:webdispobasket/res/info.gif
      params = style="cursor: help;"
      altText.data = LLL:EXT:webdispobasket/pi1/locallang.xml:whatdoesthismeen
      emptyTitleHandling = {$styles.content.imgtext.emptyTitleHandling}
    }
    LINK_01 = CONTENT
    LINK_01 {
      table = pages
      select {
        pidInList = 87
        uidInList = 83
        languageField < config.sys_language_uid
        selectFields = uid,title
        max = 1
      }
      renderObj = TEXT
      renderObj {
        field = title
        typolink.parameter.field = uid
        typolink.ATagParams = class="internal-link"
      }
    }
    VAT = |
    locationsnotavailable < .positions
    printing < .positions
    revocation < .positions
    warning.wrap = |
    error {
      stdWrap.trim = 1
      stdWrap.brTag = 
      stdWrap.postCObject = 
|
        }
      }
      stdWrap.wrap2 = |
      parseFunc = 
      stdWrap.postCObject >
    }
    errorField.stdWrap.wrap = |
    gotocash < .refresh
    gotocash {
      required = 1
      wrap = 
    }
    cancel {
      required = 1
      typolink.parameter = 6
      typolink.ATagParams = class="csc-mailform-submit"
    }
	print {
      wrap = |	
	}
	excel_title = {$PORTAL}: Warenkorb Voransicht
    refresh {
      required = 1
      wrap = 
	}
	upload < .refresh
    back {
      required = 1
      typolink.parameter = 6
      typolink.ATagParams = class="csc-mailform-submit"
    }
  }
  ##############################################
  ### Define the default Stylesheet
  _CSS_DEFAULT_STYLE (
	DIV.tx-webdispobasket-pi1 { width: 505px; }
	DIV.tx-webdispobasket-pi1 DIV.icon { float: left; min-height: 1px; width: 20px; }
	DIV.tx-webdispobasket-pi1 DIV.position { float: left; width: 463px; }
	DIV.tx-webdispobasket-pi1 DIV.label { float: left; width: 243px; font-weight:bold}
	DIV.tx-webdispobasket-pi1 DIV.field { float: left; text-align: center; width: 50px; }
	DIV.tx-webdispobasket-pi1 DIV.item { float: left; width: 80px; }
	DIV.tx-webdispobasket-pi1 DIV.price { float: left; text-align: right; width: 90px; }
	DIV.tx-webdispobasket-pi1 DIV.check { left: 0px !important; padding: 0px; position: relative; width: 468px; }
	DIV.tx-webdispobasket-pi1 .check > label { width: 440px; margin-left: 5px;}
	DIV.tx-webdispobasket-pi1 INPUT.csc-mailform-check { display: block; float: left; height: 17px; width: 23px; }
	DIV.tx-webdispobasket-pi1 INPUT.csc-mailform-radio { display: block; float: left; height: 17px; width: 23px; }
	DIV.tx-webdispobasket-pi1 FORM .csc-mailform-submit { margin-left: 0px; }
	DIV.tx-webdispobasket-pi1 DIV.submit-left { float: left; width: 245px; }
	DIV.tx-webdispobasket-pi1 DIV.submit-right { float: right; text-align: right; width: 245px; }
	DIV.tx-webdispobasket-pi1 DIV.refresh { float: left; padding: 31px 0px 0px 11px; width: 302px; }
	DIV.tx-webdispobasket-pi1 DIV.sums { border-top: 1px solid #858585; float: right; width: 192px; }
	DIV.tx-webdispobasket-pi1 DIV.sums DIV.item { padding: 2px 0px 2px 11px; }
	DIV.tx-webdispobasket-pi1 DIV.sums DIV.price { padding: 2px 11px 2px 0px; }
	DIV.tx-webdispobasket-pi1 DIV.sums DIV.total { border-bottom: 3px double #858585; }
	DIV.tx-webdispobasket-pi1 DIV.error { border: 1px dotted #999999; margin-top: 2px; padding: 3px 10px 25px 10px; }
	DIV.tx-webdispobasket-pi1 DIV.clear { clear: both; }
	DIV.tx-webdispobasket-pi1 .uploaditem { float: left; margin-left: 20px; width: 120px; }
	DIV.tx-webdispobasket-pi1 .delbuton { margin-top: -120px; }
  )
}
###############################################
### Configuration for the plugin
plugin.tx_webdispobasket_pi2 {
  includeWebdispo = sesPid, firstPeriod, maxPeriods, entriesPerPage, prices, sort, order, mediaTyp, mediaSize
  templateFile = EXT:webdispobasket/res/template.htm
  textFields = terms,order
  orderFile {
    XLS = EXT:webdispobasket/res/template.xls
    XML = EXT:webdispobasket/res/template.xml
	PDF = EXT:webdispobasket/res/template.pdf
  }
  marks {
    FORM_ACTION = HTML
    FORM_ACTION {
      value.typolink.parameter.data = TSFE:id
      value.typolink.returnLast = url
    }
    VAT = |
    }
    rightsheader < .termsheader
    orderheader < .termsheader
    termsbodytext {
      required = 1
      parseFunc = |
      wrap2 = | 
    }
    orderbodytext < .termsbodytext
    orderbodytext {
      wrap = 
    }
  }
  locallang {
    terms.insertData = 1
    warning.wrap = |
    error {
      stdWrap.trim = 1
      stdWrap.brTag = 
      stdWrap.wrap = |
      parseFunc = |
    userdata {
      required = 1
      wrap = 
    }
    cancel {
      required = 1
      noTrimWrap = |     ||
      typolink.parameter = 1
      typolink.ATagParams = class="csc-mailform-submit"
    }
    back {
      required = 1
      typolink.parameter = 4
      typolink.ATagParams = class="csc-mailform-submit"
    }
  }
  ##############################################
  ### Define the default Stylesheet
  _CSS_DEFAULT_STYLE (
	DIV.tx-webdispobasket-pi2 { width: 100%; }
	DIV.tx-webdispobasket-pi2 DIV.overflow { height: 210px; overflow: auto; }
	DIV.tx-webdispobasket-pi2 DIV.submit-left { float: left; width: 245px; }
	DIV.tx-webdispobasket-pi2 DIV.submit-right { float: right; text-align: right; width: 245px; }
	DIV.tx-webdispobasket-pi2 FORM .csc-mailform-submit { margin-left: 0px; }
	DIV.tx-webdispobasket-pi2 A.csc-mailform-submit { margin-left: 0px; }
	DIV.tx-webdispobasket-pi2 DIV.check { padding: 0px 0px 0px 15px; }
	DIV.tx-webdispobasket-pi2 DIV.check DIV.label { /*width: 440px;*/ }
	DIV.tx-webdispobasket-pi2 INPUT.csc-mailform-check { display: block; float: left; height: 17px; width: 23px; }
	DIV.tx-webdispobasket-pi2 DIV.clear { clear: both; }
	DIV.tx-webdispobasket-pi2 DIV.error { border: 1px dotted #999999; margin-top: 2px; padding: 3px 10px 25px 10px; }
  )
}
###############################################
### Configuration for the plugin
plugin.tx_webdispobasket_pi3 {
  includeWebdispo = sesPid, firstPeriod, maxPeriods, entriesPerPage, prices, sort, order, mediaTyp, mediaSize, media
  templateFile = EXT:webdispobasket/res/template.htm
  javascriptFile = EXT:webdispobasket/res/javascript.js
  uploadFolder = uploads/tx_webdispo/
  allowedTypes = jpg,png,pdf
  sendXML = 1
  image = IMAGE
  image {
    file = EXT:webdispobasket/res/media###TYPE###off.gif
    file.width = 100m
    params = name="###MOUSEOVER###"
    altText = 
    emptyTitleHandling = removeAttr
  }
  preview = IMAGE
  preview {
    file.import.data = register:tx_webdispobasket_pi3[file] 
    #file.width = 100
    file.maxW = 100
    file.height = 150m
    imageLightbox2 = 1
    imageLightbox2 {
      caption = 
    }
  }
  delete = TEXT
  delete {
    required = 1
    dataWrap = 
    noTrimWrap = |    ||
    wrap3 =  
|
  }
  orderFile {
    XLS = EXT:webdispobasket/res/template.xls
    XML = EXT:webdispobasket/res/template.xml
    CSV = EXT:webdispobasket/res/template.csv
  }
  marks {
    FORM_ACTION = HTML
    FORM_ACTION {
      value.typolink.parameter.data = TSFE:id
      value.typolink.returnLast = url
    }
    VAT = |
    companyinformation < .billingaddress
    motifinformation < .billingaddress
    printinformation < .billingaddress
    warning.wrap = |
    error {
      stdWrap.trim = 1
      stdWrap.brTag = 
      stdWrap.wrap = |
      parseFunc = 
    }
    cancel {
      required = 1
      noTrimWrap = |     ||
      typolink.parameter = 1
      typolink.ATagParams = class="csc-mailform-submit"
    }
    back {
      required = 1
      typolink.parameter = 4
      typolink.ATagParams = class="csc-mailform-submit"
    }
    printcalculator {
      required = 1
      typolink.parameter = 149 600x600:resizable=0,location=0 internal-link
      typolink.target = _blank
    }
    posterdirective {
      required = 1
      typolink.parameter = fileadmin/user_upload/Downloads/Aussenwerbung/Plakatdruck_Drucken_und_Liefern.pdf _blank download
      typolink.target = _blank
    }
    button {
      required = 1
      wrap = 
      noTrimWrap = |    ||
      wrap3 =  
|
    }
    upload < .button
    upload.wrap = 
  }
  data {
    print_terms {
      setContentToCurrent = 1
      stdWrap.if.isFalse = 1
      outerWrap {
        if.isTrue = 0
        noTrimWrap = || color: #E4000D;" onclick="this.style.color = '#404040';|
      }
      if {
        value.current = 1
        equals = 1
        negate = 1
      }
    }
  }
  ##############################################
  ### Define the default Stylesheet
  _CSS_DEFAULT_STYLE (
	DIV.tx-webdispobasket-pi3 { width: 505px; }
	DIV.tx-webdispobasket-pi3 DIV.submit-left { float: left; width: 245px; }
	DIV.tx-webdispobasket-pi3 DIV.submit-right { float: right; text-align: right; width: 245px; }
	DIV.tx-webdispobasket-pi3 FORM .csc-mailform-submit { margin-left: 0px; }
	DIV.tx-webdispobasket-pi3 DIV.error { border: 1px dotted #999999; margin-top: 2px; padding: 3px 10px 25px 10px; }
	DIV.tx-webdispobasket-pi3 DIV.header { border-bottom: 1px solid #404040; }
	DIV.tx-webdispobasket-pi3 DIV.entry { padding-bottom: 14px; }
	DIV.tx-webdispobasket-pi3 DIV.item { float: left; width: 164px; }
	DIV.tx-webdispobasket-pi3 DIV.upload { float: left; padding-top: 132px; width: 250px; }
	DIV.tx-webdispobasket-pi3 INPUT.csc-mailform-text { width: 220px; }
	DIV.tx-webdispobasket-pi3 DIV.preview { float: left; height: 150px; vertical-align: text-bottom; width: 120px; }
	DIV.tx-webdispobasket-pi3 DIV.delete { float: left; padding-top: 128px; text-align: right; width: 114px; }
	DIV.tx-webdispobasket-pi3 A.csc-mailform-submit { margin-left: 0px; }
	DIV.tx-webdispobasket-pi3 DIV.clear { clear: both; font-size: 0.0pt; height: 0px; line-height: 0px; }
	DIV#txwebdispobasketpi3_print_option_allinone FIELDSET.csc-mailform-radio { float: none; }
	DIV.tx-webdispobasket-pi3 FIELDSET.csc-mailform DIV.csc-mailform-field.second { margin-left: 20px; }
	DIV.tx-webdispobasket-pi3 FIELDSET.csc-mailform DIV.csc-mailform-field.nofloat { float: none; }
	DIV.tx-webdispobasket-pi5 FIELDSET.csc-mailform DIV.csc-mailform-field.submit { padding-left: 380px; }
	DIV.tx-webdispobasket-pi3 DIV.item { float: left; width: 114px; }
	DIV.tx-webdispobasket-pi3 DIV.upload { float: left; padding-top: 77px; width: 220px; }
	DIV.tx-webdispobasket-pi3 DIV.upload INPUT.csc-mailform-file { width: 220px; }
	DIV.tx-webdispobasket-pi3 DIV.preview { float: left; width: 200px; }
	DIV.tx-webdispobasket-pi3 FIELDSET.csc-mailform-radio { border: none; display: block; float: left; margin: 0px; padding: 0px; }
	DIV.tx-webdispobasket-pi3 FIELDSET.csc-mailform-radio INPUT.csc-mailform-radio { float: left; margin-left: 0px; margin-top: 2px; }
	DIV.tx-webdispobasket-pi3 FIELDSET.csc-mailform-radio DIV.csc-mailform-label { float: none; margin-left: 20px; margin-top: 2px; padding: 0px; width: auto; }
	DIV.tx-webdispobasket-pi3 DIV.csc-mailform-check INPUT.csc-mailform-check { float: left; margin-left: 0px; margin-top: 1px; }
	DIV.tx-webdispobasket-pi3 DIV.csc-mailform-check DIV.csc-mailform-label { float: none; margin-left: 20px; padding: 0px; }
	DIV.tx-webdispobasket-pi3 SPAN.csc-mailform-radio { display: block; float: left; padding: 2px 20px 0px 0px; }
	DIV.tx-webdispobasket-pi3 SPAN.csc-mailform-radio DIV.csc-mailform-label { float: none; padding: 0px; width: auto; }
	DIV.tx-webdispobasket-pi3 SPAN.csc-mailform-radio DIV.csc-mailform-label LABEL { display: inline; float: none; height: auto; padding: 0px; width: auto; }
	DIV.tx-webdispobasket-pi3 DIV.csc-mailform-clear { clear: both; font-size: 0.0pt; height: 0px; line-height: 0px; }
	DIV.tx-webdispobasket-pi3 DIV.positions { margin-left:20px; color: grey; border-style:solid; border-color:lavender;}
	DIV.tx-webdispobasket-pi3 DIV.icon { float: left; min-height: 1px; width: 20px;}
	DIV.tx-webdispobasket-pi3 DIV.position {}
	DIV.tx-webdispobasket-pi3 DIV.label { float: left; width: 210px; }
	DIV.tx-webdispobasket-pi3 DIV.field { float: left; text-align: center; width: 50px; }
	DIV.tx-webdispobasket-pi3 DIV.item { float: left; width: 80px; }
	DIV.tx-webdispobasket-pi3 DIV.price { float: left; text-align: right; width: 60px; }
	DIV.tx-webdispobasket-pi3 DIV.check { left: -5px !important; padding: 0px; position: relative; width: 468px; }
	DIV.tx-webdispobasket-pi3 DIV.check DIV.label { width: 440px; }
	DIV.tx-webdispobasket-pi3 INPUT.csc-mailform-check { display: block; float: left; height: 17px; width: 23px; }
	DIV.tx-webdispobasket-pi3 INPUT.csc-mailform-radio { display: block; float: left; height: 17px; width: 23px; }
	DIV.tx-webdispobasket-pi3 FORM .csc-mailform-submit { margin-left: 0px; }
	DIV.tx-webdispobasket-pi3 DIV.refresh { float: left; padding: 31px 0px 0px 11px; width: 302px; }	
  )
}