  #cat=basic/enable; type=boolean; label=Gap 1, left: Check this option to enable the gap on the left side of the page table
enableGap1 = 1
  #cat=basic/enable; type=boolean; label=Gap 2, between: Check this option to enable the gap between the page- and news-content columns in the page table
enableGap2 = 1
  #cat=basic/enable; type=boolean; label=Gap 3, right: Check this option to enable the gap on the right side of the page table
enableGap3 = 1

// This excludes the constant "styles.content.imgtext.maxW" from being displayed in the constant editor. The reason why this is desirable is that the REGISTER is used to override this value in this template.
  # cat=
styles.content.imgtext.maxW =

pageCol {
    #cat=basic/color; type=color; label=Content column bgColor: This is the background color of the table cell where the content is displayed. You would normally regard this as being the "page color".
  bgColor = #cccccc
    # cat=content,basic/cImage/a_maxw1; type=int+; label=Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume.
  maxImageWidth = 450
    #cat=page/dims; type=small; label=Content table width: This is the 'width=' parameter in the table that holds the content in the content cell of the page table.
  contentTableWidth = 95%
    #cat=page/dims; type=offset; label=Content table offset: This is the offset of the content from the upper-left corner of the content cell of the page table.
  offset = 15,8
}

rightCol {
    #cat=right,basic/enable; type=boolean; label=Enable right column: Click this option to enable the right column in the page table. This column can be used for "news" from a certain page, but inserted on all pages. You can also configure the column to hold "secondary" content specific for each page. Then content of the column-type "Border" is inserted. NOTE: This option is also found in the dedicated category "RIGHT" that configures the characteristics of this column.
  enable = 1
    #cat=right/enable; type=options[getNews,getBorder]; label=Column content: Choose "getNews" to select content from a specific page (defined below here) or "getBorder" to display the "Border"-content of the current page.
  borderContent = getNews
    #cat=right/color; type=color; label=Right column bgColor: This is the background color of content in the right column.
  bgColor = white
    #cat=right/dims; type=int+; label=Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume. NOTE: This is specific for the right column! The figure should approx. match the width of the image in the top of this column!
  maxImageWidth = 150
    #cat=right/dims; type=offset; label=Content offset: This is the offset of the content from the upper-left corner of the table cell.
  offset = 5,8
    #cat=right/typo; type=small; label=Bodytext font face
  textStyle_face =
    #cat=right/typo; type=int[1-5]; label=Bodytext font size
  textStyle_size =
    #cat=right/typo; type=color; label=Bodytext font color
  textStyle_color =
    #cat=right/typo; type=int[1-5]; label=Default Header type: Enter the number of the header layout to be used by default. 
  defaultHeaderType =
}
  # cat=right/enable/zz; type=int+; label=News Content PID: If you selected "getNews" above, this is where you enter the page-id of the page from which to fetch the "news" content for the column.
styles.content.getNews.newsPid = 0


  # cat=basic/color; type=color; label=<body>-tag, Background color: This is the <body>-tag bgColor of the page. NOTE: It's not behind the content IN the table, but behind the table that makes up the page in this template. Just like "file.background"
bgCol = black
  # cat=basic/color; type=color; label=Gap, Background color: If there is no background image in the gaps, this color will appear
gapColor = olive
  # cat=basic/color; type=color; label=Border, Color: Color of the border between areas
borderColor = #cccccc

  # cat=basic/color/l; type=color; label=Link-color: Link color defined in <body>-tag
link = 
  # cat=basic/color/l; type=color; label=Active Link-color: Active link color defined in <body>-tag
alink = 
  # cat=basic/color/l; type=color; label=Visited Link-color: Visited link color defined in <body>-tag
vlink = 

file {
    #cat=basic/file; type=file[IMAGE_EXT]; label=Background Image: This is the body-tag background image of the page. NOTE: It's not behind the content in the table, but behind the table that makes up the page in this template.
  background = 
    #cat=basic,menu/file; type=file[IMAGE_EXT]; label=Menu imagemap Image: This is the image onto which the menu rendered. NOTE: This image also appears in the MENU-category.
  menuimage = 
    #cat=basic,right/file; type=file[IMAGE_EXT]; label=Right Column Image: This is the image in the top-right corner of the page table. NOTE: This image is displayed only if the right column of the template is enabled! NOTE: This image can also be selected in the dedicated RIGHT-category.
  sideimage = 
    #cat=basic/file; type=file[IMAGE_EXT]; label=Gap image: Image in the gap between columns.
  gapIcon = 
}

  # cat=basic/dims; type=int+; label=Minimum pageheight: If there is no content on the page to expand it's length, this ensures that the page table doesn't collapse totally but will always be at least this long (pixels).
minPageH = 100
  # cat=basic/dims; type=int+; label=Gap Width: Width of gaps on the page
gapIcon_width = 10
  # cat=basic/dims; type=int+; label=Border, Thickness: Thickness of the border between areas
borderThickness = 1

  # cat=basic; type=options[,left,right,center]; label=Alignment of the page: Alignment of the page-table
pageAlign = center

imageMap {
    #cat=menu/typo; type=file[ttf]; label=Font file for the menu
  file.fontFile =
    #cat=menu/typo; type=int[1-50]; label=Font size for the menu
  fontSize = 11
    #cat=menu/typo; type=color; label=Font color for the menu
  fontColor = black
    #cat=menu/dims; type=offset; label=Text offset: Text offset from upper-left corner of the image
  dWorkArea = 7,68
    #cat=menu//x; type=int[1-256]; label=Reduce colors: Number of indexed colors in the menuimage. If your imagemap image ends up with weird colors, you can try to enter a higher number of colors. But the file will also increase in filesize.
  colors = 16
    #cat=menu; type=int[1-15]; label=Max items: Enter the maximum number of menu items in the image map. If there are many items to generate, the server will take a lot of time to generate the menu image. So keep this number low. Recommended: 6-10
  maxItems=
}

PAGE_TARGET =
content.pageFrameObj = 





## TSConstantsEditor Config
TSConstantEditor.basic {
  header = Standard Template "MM"
  description = MM is a single-page template with a imagemap-based menu in the top. You can select background-images, colors, borderwidths and colors and so on. Furthermore you can define content in a second column. 
  bulletlist = Optional right column: Select background color, other standard header- and text-properties. (4) // Background color or optional background image. (6) // Image as background for the image-map menu: Select TrueType-font, color, size, offset on the image (7) // Optional image in the right column (8) // Optional gap between the two columns. Define background color OR background image for the gap. (1,2,3)

  image = gfx/MM_basic.gif
  1=enableGap1,gapIcon_width,file.gapIcon,gapColor
  2=enableGap2,gapIcon_width,file.gapIcon,gapColor
  3=enableGap3,gapIcon_width,file.gapIcon,gapColor
  4=rightCol.enable
  5=borderThickness,borderColor
  6=file.background,bgCol
  7=file.menuimage
  8=file.sideimage
  9=pageCol.bgColor
}
TSConstantEditor.right {
  description = 
  image = gfx/MM_right.gif
  1=rightCol.maxImageWidth
  2=rightCol.offset
  3=file.sideimage
  4=rightCol.borderContent,rightCol.textStyle_face,rightCol.textStyle_size,rightCol.textStyle_color
  5=rightCol.borderContent,rightCol.defaultHeaderType
  6=rightCol.bgColor
}
TSConstantEditor.menu {
  description = 
  image = gfx/MM_menu.gif
  1=imageMap.dWorkArea
  2=file.menuimage,imageMap.colors
  3=imageMap.file.fontFile,imageMap.fontSize,imageMap.fontColor,imageMap.maxItems
}

