## Set up page/type:
alt_wap >
alt_wap = PAGE
alt_wap {
  typeNum=97
  config.disableAllHeaderCode = 1
  config.additionalHeaders = Content-type: text/vnd.wap.wml

  ## Includes the newsLib:
  includeLibs.alt_wap = EXT:statictemplates/media/scripts/wapversionLib.inc

  ## Inserting the USER cObject for WAP/XML rendering
  10 = USER
  10 {
    userFunc = user_wapversion->main_wapversion
    debug=0
    preTitle = T3WAP
    navLabels.prev = Prev
    navLabels.next = Next
    navLabels.up = Up
  }
}

## Setting up a testpage at type 197
alt_wap_test < alt_wap
alt_wap_test {
  typeNum=197
  config.additionalHeaders = 
  10.debug = 1
}

## If the browser is a WAP-device,
[device=wap]

alt_wap.typeNum=0

[global]

