+close =
+
+[table_title]
+;tag_attr = true
+;attr_name = true
+cdata_start = true
+open =
+close =
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/basicindex.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/basicindex.tpl
new file mode 100644
index 00000000..a040830b
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/basicindex.tpl
@@ -0,0 +1,21 @@
+{section name=letter loop=$letters}
+ {$letters[letter].letter}
+{/section}
+
+{section name=index loop=$index}
+
+top
+
+
+
+ {$index[index].letter}
+
+
+
+
+ {section name=contents loop=$index[index].index}
+ {$index[index].index[contents].name} {$index[index].index[contents].listing}
+ {/section}
+{/section}
+
+
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/blank.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/blank.tpl
new file mode 100644
index 00000000..1fbaca2f
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/blank.tpl
@@ -0,0 +1,13 @@
+
+
+ {$maintitle}
+
+
+
+
+
{$maintitle}
+Welcome to {$package}!
+
+This documentation was generated by phpDocumentor v{$phpdocversion}
+
+
\ No newline at end of file
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/class.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/class.tpl
new file mode 100644
index 00000000..1ed17562
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/class.tpl
@@ -0,0 +1,94 @@
+{include file="header.tpl" eltype="class" hasel=true contents=$classcontents}
+
+
+ {if $is_interface}Interface{else}Class{/if} {$class_name}
+
+
+[line {if $class_slink}{$class_slink}{else}{$line_number}{/if} ]
+
+{section name=tree loop=$class_tree.classes}{$class_tree.classes[tree]}{$class_tree.distance[tree]}{/section}
+
+{if $tutorial}
+Class Tutorial: {$tutorial}
+{/if}
+{if $children}
+Classes extended from {$class_name}:
+ {section name=kids loop=$children}
+
+ {$children[kids].link}
+ {$children[kids].sdesc}
+
+ {/section}
+{/if}
+{if $conflicts.conflict_type}Conflicts with classes:
+ {section name=me loop=$conflicts.conflicts}
+ {$conflicts.conflicts[me]}
+ {/section}
+
+{/if}
+Location: {$source_location}
+
+{include file="docblock.tpl" type="class" sdesc=$sdesc desc=$desc}
+
+{include file="var.tpl" show="summary"}
+
+{include file="const.tpl" show="summary"}
+
+
+
+Inherited Class Constant Summary
+
+{section name=iconsts loop=$iconsts}
+Inherited From Class {$iconsts[iconsts].parent_class}
+
+ {section name=iconsts2 loop=$iconsts[iconsts].iconsts}
+
+ {$iconsts[iconsts].iconsts[iconsts2].link}
= {$iconsts[iconsts].iconsts[iconsts2].value}
+
+ {$iconsts[iconsts].iconsts[iconsts2].sdesc}
+ {/section}
+
+
+{/section}
+
+
+
+Inherited Class Variable Summary
+
+{section name=ivars loop=$ivars}
+Inherited From Class {$ivars[ivars].parent_class}
+
+ {section name=ivars2 loop=$ivars[ivars].ivars}
+
+ {$ivars[ivars].ivars[ivars2].link}
= {$ivars[ivars].ivars[ivars2].default}
+
+ {$ivars[ivars].ivars[ivars2].sdesc}
+ {/section}
+
+
+{/section}
+
+
+{include file="method.tpl" show="summary"}
+
+
+Inherited Method Summary
+
+{section name=imethods loop=$imethods}
+Inherited From Class {$imethods[imethods].parent_class}
+
+ {section name=im2 loop=$imethods[imethods].imethods}
+
+ {$imethods[imethods].imethods[im2].link}
+ {$imethods[imethods].imethods[im2].sdesc}
+ {/section}
+
+{/section}
+
+{include file="method.tpl"}
+
+{include file="var.tpl"}
+
+{include file="const.tpl"}
+
+{include file="footer.tpl"}
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/classleft.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/classleft.tpl
new file mode 100644
index 00000000..15bf6b7e
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/classleft.tpl
@@ -0,0 +1,8 @@
+{foreach key=subpackage item=files from=$classleftindex}
+ {if $subpackage != ""}{$subpackage} {/if}
+ {section name=files loop=$files}
+ {if $files[files].link != ''}{/if}
+ {$files[files].title}
+ {if $files[files].link != ''} {/if}
+ {/section}
+{/foreach}
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/classtrees.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/classtrees.tpl
new file mode 100644
index 00000000..28c648be
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/classtrees.tpl
@@ -0,0 +1,12 @@
+{capture name="title"}Class Trees for Package {$package}{/capture}
+{include file="header.tpl" title=$smarty.capture.title}
+
+
+
+ {$smarty.capture.title}
+
+{section name=classtrees loop=$classtrees}
+Root class {$classtrees[classtrees].class}
+{$classtrees[classtrees].class_tree}
+{/section}
+{include file="footer.tpl"}
\ No newline at end of file
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/const.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/const.tpl
new file mode 100644
index 00000000..207491a5
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/const.tpl
@@ -0,0 +1,29 @@
+{if $show=="summary"}
+
+
+Class Constant Summary
+
+
+ {section name=consts loop=$consts}
+
+ {$consts[consts].const_name}
= {$consts[consts].const_value|replace:"\n":" \n"|replace:" ":" "|replace:"\t":" "}
+
+ {$consts[consts].sdesc}
+ {/section}
+
+{else}
+
+
+
+
+Class Constant Detail
+
+
+{section name=consts loop=$consts}
+
+{$consts[consts].const_name} = {$consts[consts].const_value|replace:"\n":" \n"|replace:" ":" "|replace:"\t":" "}
[line {if $consts[consts].slink}{$consts[consts].slink}{else}{$consts[consts].line_number}{/if} ]
+{include file="docblock.tpl" sdesc=$consts[consts].sdesc desc=$consts[consts].desc tags=$consts[consts].tags}
+
+{/section}
+
+{/if}
\ No newline at end of file
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/contents.hhc.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/contents.hhc.tpl
new file mode 100644
index 00000000..cf7ee7cb
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/contents.hhc.tpl
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+{$toc}
+
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/define.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/define.tpl
new file mode 100644
index 00000000..3917cc70
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/define.tpl
@@ -0,0 +1,33 @@
+{if $summary}
+
+
+Constant Summary
+
+
+{else}
+
+
+
+Constant Detail
+
+
+{/if}
\ No newline at end of file
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/docblock.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/docblock.tpl
new file mode 100644
index 00000000..0de18b67
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/docblock.tpl
@@ -0,0 +1,31 @@
+
+{if $function}
+ {if $params}
+ Parameters
+ {section name=params loop=$params}
+ {$params[params].var}
+ {$params[params].data}
+ {/section}
+ {/if}
+{/if}
+{section name=tags loop=$tags}
+{if $tags[tags].keyword == 'return'}
+ Returns
+ {$tags[tags].data}
+{/if}
+{/section}
+{if $sdesc || $desc}
+Remarks
+{/if}
+{if $sdesc}
+{$sdesc}
+{/if}
+{if $desc}
+{$desc}
+{/if}
+{section name=tags loop=$tags}
+{if $tags[tags].keyword != 'return'}
+ {$tags[tags].keyword}
+ {$tags[tags].data}
+{/if}
+{/section}
\ No newline at end of file
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/elementindex.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/elementindex.tpl
new file mode 100644
index 00000000..8e25db5c
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/elementindex.tpl
@@ -0,0 +1,9 @@
+{include file="header.tpl" noleftindex=true}
+
+Index of All Elements
+Indexes by package:
+{section name=p loop=$packageindex}
+{$packageindex[p].title}
+{/section}
+{include file="basicindex.tpl" indexname="elementindex"}
+{include file="footer.tpl"}
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/errors.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/errors.tpl
new file mode 100644
index 00000000..1576a822
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/errors.tpl
@@ -0,0 +1,21 @@
+{include file="header.tpl" noleftindex=true}
+{section name=files loop=$files}
+{$files[files].file}
+{/section}
+{foreach key=file item=issues from=$all}
+
+{$file}
+{if count($issues.warnings)}
+Warnings:
+{section name=warnings loop=$issues.warnings}
+{$issues.warnings[warnings].name} - {$issues.warnings[warnings].listing}
+{/section}
+{/if}
+{if count($issues.errors)}
+Errors:
+{section name=errors loop=$issues.errors}
+{$issues.errors[errors].name} - {$issues.errors[errors].listing}
+{/section}
+{/if}
+{/foreach}
+{include file="footer.tpl"}
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/fileleft.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/fileleft.tpl
new file mode 100644
index 00000000..c85acbe0
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/fileleft.tpl
@@ -0,0 +1,8 @@
+{foreach key=subpackage item=files from=$fileleftindex}
+ {if $subpackage != ""}subpackage {$subpackage} {/if}
+ {section name=files loop=$files}
+ {if $files[files].link != ''}{/if}
+ {$files[files].title}
+ {if $files[files].link != ''} {/if}
+ {/section}
+{/foreach}
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/filesource.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/filesource.tpl
new file mode 100644
index 00000000..a0d7119e
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/filesource.tpl
@@ -0,0 +1,6 @@
+{capture name="tutle"}File Source for {$name}{/capture}
+{include file="header.tpl" title=$smarty.capture.tutle}
+Source for file {$name}
+Documentation is available at {$docs}
+{$source}
+{include file="footer.tpl"}
\ No newline at end of file
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/footer.tpl b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/footer.tpl
new file mode 100644
index 00000000..a015ceea
--- /dev/null
+++ b/buildscripts/PhpDocumentor/phpDocumentor/Converters/CHM/default/templates/default/templates/footer.tpl
@@ -0,0 +1,8 @@
+{if !$index}
+
+{/if}
+