diff --git a/lib/.configsnapshots/configsnapshot-2014-04-14 09-00-33.xml b/lib/.configsnapshots/configsnapshot-2014-04-14 09-00-33.xml
new file mode 100644
index 0000000000000000000000000000000000000000..af55c0bc2f89d44f3c2b7859214409897c61c35c
--- /dev/null
+++ b/lib/.configsnapshots/configsnapshot-2014-04-14 09-00-33.xml	
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<pearconfig version="1.0"><php_dir>/Users/kabel/Documents/workspace/UNL_Search/lib/php</php_dir><ext_dir>/usr/lib/php/extensions/no-debug-non-zts-20100525</ext_dir><cfg_dir>/Users/kabel/Documents/workspace/UNL_Search/lib/cfg</cfg_dir><doc_dir>/Users/kabel/Documents/workspace/UNL_Search/lib/docs</doc_dir><bin_dir>/usr/bin</bin_dir><data_dir>/Users/kabel/Documents/workspace/UNL_Search/lib/data</data_dir><www_dir>/Users/kabel/Documents/workspace/UNL_Search/lib/www</www_dir><test_dir>/Users/kabel/Documents/workspace/UNL_Search/lib/tests</test_dir><src_dir>/Users/kabel/Documents/workspace/UNL_Search/lib/src</src_dir><php_bin>/usr/bin/php</php_bin><php_ini>/etc/php.ini</php_ini><php_prefix></php_prefix><php_suffix></php_suffix></pearconfig>
diff --git a/lib/.pear2registry b/lib/.pear2registry
index b6b41758ff44c3a9de31a342d8dc7cdc9967ddb8..149ebb1b7140853237287420807cead8370ce07c 100644
Binary files a/lib/.pear2registry and b/lib/.pear2registry differ
diff --git a/lib/.xmlregistry/packages/pear.unl.edu/UNL_DWT/0.7.2-info.xml b/lib/.xmlregistry/packages/pear.unl.edu/UNL_DWT/0.9.0-info.xml
similarity index 75%
rename from lib/.xmlregistry/packages/pear.unl.edu/UNL_DWT/0.7.2-info.xml
rename to lib/.xmlregistry/packages/pear.unl.edu/UNL_DWT/0.9.0-info.xml
index ff5886c6e36b5df1ace44a6dffed5c546ed1525a..5f33c0c70795ee002dcc7db4e848e5573b0904e6 100644
--- a/lib/.xmlregistry/packages/pear.unl.edu/UNL_DWT/0.7.2-info.xml
+++ b/lib/.xmlregistry/packages/pear.unl.edu/UNL_DWT/0.9.0-info.xml
@@ -13,10 +13,10 @@ This package generates php class files (objects) from Dreamweaver template files
   <email>brett.bieber@gmail.com</email>
   <active>yes</active>
  </lead>
- <date>2012-03-26</date>
- <time>14:17:30</time>
+ <date>2014-04-14</date>
+ <time>09:00:33</time>
  <version>
-  <release>0.7.2</release>
+  <release>0.9.0</release>
   <api>0.7.1</api>
  </version>
  <stability>
@@ -24,21 +24,27 @@ This package generates php class files (objects) from Dreamweaver template files
   <api>beta</api>
  </stability>
  <license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD</license>
- <notes>Scanner fix - do not replace newlines with spaces in scanned content</notes>
+ <notes>Feature Release
+* Add support for immedaitely rendering a scanned DWT [saltybeagle]
+
+Bug Fixes
+ * Prevent greedy matching of template regions [spam38]
+</notes>
  <contents>
   <dir name="/">
-   <file role="php" name="src/UNL/DWT/Scanner.php" md5sum="80ab5854ed8c2ab159c53cd5adc757b2"/>
-   <file role="php" name="src/UNL/DWT/Region.php" md5sum="be81db10741075600fc87ebbc4c4ca53"/>
-   <file role="php" name="src/UNL/DWT/Generator.php" md5sum="aea406280cedf3a0e9b32ab7ee354b3f"/>
-   <file role="php" name="src/UNL/DWT/createTemplates.php" md5sum="8ccd77b7def177033c20128da938d1ff"/>
-   <file role="php" name="src/UNL/DWT.php" md5sum="c8b1f16f587798a1e37574477d2627bd"/>
-   <file role="doc" name="docs/examples/Template_style1.tpl" md5sum="b524ef4684be7dba47ed8c245577347a"/>
-   <file role="doc" name="docs/examples/Template_style1.php" md5sum="3f97c4a024dfed9210b14db5068ba7d0"/>
-   <file role="doc" name="docs/examples/template_style1.dwt" md5sum="0d5a4f5ca86e9c2a3c0050f39acbb034"/>
-   <file role="doc" name="docs/examples/scanner_example.php" md5sum="e29437d89b8193aede3fc400ef1f363d"/>
-   <file role="doc" name="docs/examples/example_style1.php" md5sum="8fc92f34a5d56e8664ae669bb39ba763"/>
-   <file role="doc" name="docs/examples/example.test.ini" md5sum="28a080af44b5db3f28c73fa91cdabe99"/>
-   <file role="doc" name="docs/examples/example.ini" md5sum="783c64aafb491c789fc71a5bf80d1755"/>
+   <file role="php" name="php/UNL/DWT/Scanner.php" md5sum="276e82e5db587c9c18a100e1e877082e"/>
+   <file role="php" name="php/UNL/DWT/Region.php" md5sum="858136d43bf29868dca876783e51d196"/>
+   <file role="php" name="php/UNL/DWT/Generator.php" md5sum="a3b933a0d7f8d81f72836bb2c5fb6914"/>
+   <file role="php" name="php/UNL/DWT/Exception.php" md5sum="5b99b44fbfde7349c6b9e6d9be78e9dc"/>
+   <file role="php" name="php/UNL/DWT/createTemplates.php" md5sum="9089565d275b52e0cd65c52edd50ef18"/>
+   <file role="php" name="php/UNL/DWT.php" md5sum="ca9d707c266ad9150e39d1a9a60c5643"/>
+   <file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/scanner_example.php" md5sum="2d16f0e62c4227aa28108bf78d74156a"/>
+   <file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.tpl" md5sum="b524ef4684be7dba47ed8c245577347a"/>
+   <file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.php" md5sum="096998b112a1e27bddc6c171380d590e"/>
+   <file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/template_style1.dwt" md5sum="0d5a4f5ca86e9c2a3c0050f39acbb034"/>
+   <file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/example_style1.php" md5sum="d3f43ac017b9bdf1819cf05a4c4a33a2"/>
+   <file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/example.test.ini" md5sum="28a080af44b5db3f28c73fa91cdabe99"/>
+   <file role="doc" name="doc/pear.unl.edu/UNL_DWT/examples/basic/example.ini" md5sum="d5f99a1b621d226611d2fe93761db93d"/>
   </dir>
  </contents>
  <dependencies>
@@ -47,7 +53,7 @@ This package generates php class files (objects) from Dreamweaver template files
     <min>5.0.0</min>
    </php>
    <pearinstaller>
-    <min>1.4.3</min>
+    <min>2.0.0a1</min>
    </pearinstaller>
    <package>
     <name>UNL_Templates</name>
diff --git a/lib/.xmlregistry/packages/pear.unl.edu/UNL_Templates/1.3.0RC2-info.xml b/lib/.xmlregistry/packages/pear.unl.edu/UNL_Templates/1.4.0RC3-info.xml
similarity index 90%
rename from lib/.xmlregistry/packages/pear.unl.edu/UNL_Templates/1.3.0RC2-info.xml
rename to lib/.xmlregistry/packages/pear.unl.edu/UNL_Templates/1.4.0RC3-info.xml
index 7f4bc2dc5d4405d061f6cd06a3ffe93eed03c9b9..32d68255e8bfc0481669089faf95283dc0a1c385 100644
--- a/lib/.xmlregistry/packages/pear.unl.edu/UNL_Templates/1.3.0RC2-info.xml
+++ b/lib/.xmlregistry/packages/pear.unl.edu/UNL_Templates/1.4.0RC3-info.xml
@@ -19,10 +19,10 @@ This package allows you to render UNL Template styled pages using PHP Objects.
   <email>nhummel2@math.unl.edu</email>
   <active>yes</active>
  </lead>
- <date>2012-03-26</date>
- <time>14:36:31</time>
+ <date>2014-04-14</date>
+ <time>09:00:33</time>
  <version>
-  <release>1.3.0RC2</release>
+  <release>1.4.0RC3</release>
   <api>1.0.0</api>
  </version>
  <stability>
@@ -30,19 +30,36 @@ This package allows you to render UNL Template styled pages using PHP Objects.
   <api>stable</api>
  </stability>
  <license uri="http://www1.unl.edu/wdn/wiki/Software_License">BSD License</license>
- <notes>New features:
-
- - Add support for version 3.1 of the UNL Templates</notes>
+ <notes>Finalize support for version 4.0 of the templates
+
+Templates Supported:
+* Fixed
+* Debug
+* Unlaffiliate
+* Unlaffiliate_debug
+* Unlaffiliate_local
+
+Fixed in this RC:
+* Use local .tpl files instead of always pulling remotely
+* Make HTML and DEP replacements when local files do not exist
+</notes>
  <contents>
   <dir name="/">
    <file role="test" name="test/pear.unl.edu/UNL_Templates/UNL_TemplatesTest.php" md5sum="12aa5989d1255dccc299a3dcdd6c6ba8"/>
-   <file role="php" name="php/UNL/Templates/Version3x1/Unlaffiliate_local.php" md5sum="9f3867901ad594901d11ffff07b36843"/>
-   <file role="php" name="php/UNL/Templates/Version3x1/Unlaffiliate_debug.php" md5sum="4e006ca79895e0f9676d0ac792d2376a"/>
-   <file role="php" name="php/UNL/Templates/Version3x1/Unlaffiliate.php" md5sum="d04b37bd1e8da510610b9ad66de26487"/>
-   <file role="php" name="php/UNL/Templates/Version3x1/Local.php" md5sum="bab0b09eabc5d2fe041c4379dfa0634c"/>
-   <file role="php" name="php/UNL/Templates/Version3x1/Fixed.php" md5sum="8800d08ea41dcd31b7f444924d0e96c6"/>
-   <file role="php" name="php/UNL/Templates/Version3x1/Debug.php" md5sum="53764519ccbb2cda9d35f77843d85a61"/>
-   <file role="php" name="php/UNL/Templates/Version3x1.php" md5sum="3db6efc4892a2b68869a27941673bb5a"/>
+   <file role="php" name="php/UNL/Templates/Version4/Unlaffiliate_local.php" md5sum="29aa6297ac4e0232b24ae1a8fe9f308b"/>
+   <file role="php" name="php/UNL/Templates/Version4/Unlaffiliate_debug.php" md5sum="6ea82eb59a907fd102be43ead8cbbaed"/>
+   <file role="php" name="php/UNL/Templates/Version4/Unlaffiliate.php" md5sum="484425e481e37630fa7751f9e11e094a"/>
+   <file role="php" name="php/UNL/Templates/Version4/Local.php" md5sum="3849a40fda6f284fa07b47984c77235f"/>
+   <file role="php" name="php/UNL/Templates/Version4/Fixed.php" md5sum="42734ab8643a005e1551a7613729177d"/>
+   <file role="php" name="php/UNL/Templates/Version4/Debug.php" md5sum="dd25adcf52c589bd099322231ca572e6"/>
+   <file role="php" name="php/UNL/Templates/Version4.php" md5sum="5b57e3495a1e6d946c5177d23c6565f1"/>
+   <file role="php" name="php/UNL/Templates/Version3x1/Unlaffiliate_local.php" md5sum="e3f4b2b27e5cbbd81f3a434fdcd949d4"/>
+   <file role="php" name="php/UNL/Templates/Version3x1/Unlaffiliate_debug.php" md5sum="0e7a53d410d00748c53cb9036d43a178"/>
+   <file role="php" name="php/UNL/Templates/Version3x1/Unlaffiliate.php" md5sum="c9e2423f1508286947525968dddd56cb"/>
+   <file role="php" name="php/UNL/Templates/Version3x1/Local.php" md5sum="b18901fcb9b7d59f0de947f649e0cba7"/>
+   <file role="php" name="php/UNL/Templates/Version3x1/Fixed.php" md5sum="1cdda4bc708879eaeb6052aa50980820"/>
+   <file role="php" name="php/UNL/Templates/Version3x1/Debug.php" md5sum="880a7ec565da26995e7fa4b21163e1d3"/>
+   <file role="php" name="php/UNL/Templates/Version3x1.php" md5sum="2b905fceee314ba84447bbaefdd86073"/>
    <file role="php" name="php/UNL/Templates/Version3/Unlaffiliate.php" md5sum="40eeca840e02c9e5b2b2b7846bd73397"/>
    <file role="php" name="php/UNL/Templates/Version3/Shared_column_right.php" md5sum="f9b3c237b7a6b8500ef0d18f4e1c9595"/>
    <file role="php" name="php/UNL/Templates/Version3/Shared_column_left.php" md5sum="c8e40b9ff760f0d6da578f6f52e85ab2"/>
@@ -64,26 +81,32 @@ This package allows you to render UNL Template styled pages using PHP Objects.
    <file role="php" name="php/UNL/Templates/Version2/Liquid.php" md5sum="55c715aa91f18226f5be4c3f427b2dea"/>
    <file role="php" name="php/UNL/Templates/Version2/Fixed.php" md5sum="3fbccc1b6e7a0287577972b4c25a0d19"/>
    <file role="php" name="php/UNL/Templates/Version2/Document.php" md5sum="ef2068426bb8f73ac706b18a472df967"/>
-   <file role="php" name="php/UNL/Templates/Version2.php" md5sum="8472e8942eb062eb06568386c237f9c1"/>
+   <file role="php" name="php/UNL/Templates/Version2.php" md5sum="d8f5200292c4216e423fc7c5da502e44"/>
    <file role="php" name="php/UNL/Templates/Version.php" md5sum="c7df0501ec102431d7be6a6cfd133b5b"/>
    <file role="php" name="php/UNL/Templates/Scanner.php" md5sum="82740c1fadfd1160bb9c67006947ab3b"/>
    <file role="php" name="php/UNL/Templates/CachingService/UNLCacheLite.php" md5sum="4fa04418d0aa08834b4795caeae5b8c8"/>
    <file role="php" name="php/UNL/Templates/CachingService/Null.php" md5sum="47991f0e5cffed6d138725a3294f4e6a"/>
    <file role="php" name="php/UNL/Templates/CachingService/CacheLite.php" md5sum="5b09b184e7d59a2520e99c0b5c66428a"/>
    <file role="php" name="php/UNL/Templates/CachingService.php" md5sum="07884c3a9bf75657e54782423a088eb4"/>
-   <file role="php" name="php/UNL/Templates.php" md5sum="1f39ddc40f5a2b2ba0f68ca3367de923"/>
+   <file role="php" name="php/UNL/Templates.php" md5sum="6f844645177ff75a899210f3a29bfd04"/>
    <file role="doc" name="doc/pear.unl.edu/UNL_Templates/examples/scanner.php" md5sum="2b116cf09b8d73c439718217d83a32c2"/>
-   <file role="doc" name="doc/pear.unl.edu/UNL_Templates/examples/example1.php" md5sum="c3de6bfef1cee16be4135f310e5e601d"/>
+   <file role="doc" name="doc/pear.unl.edu/UNL_Templates/examples/example1.php" md5sum="a55812397a3979fdc939fc1942b8c23c"/>
    <file role="doc" name="doc/pear.unl.edu/UNL_Templates/examples/customization/customization_example.php" md5sum="e9769bdf0cf9ec36430b3f70ec687037"/>
    <file role="doc" name="doc/pear.unl.edu/UNL_Templates/examples/customization/customization_example.html" md5sum="26c8d867af8ffd4d8d60e348573f9c3d"/>
    <file role="doc" name="doc/pear.unl.edu/UNL_Templates/examples/customization/CustomClass.php" md5sum="43bc783b2215f9668800ce2e80ad457b"/>
    <file role="doc" name="doc/pear.unl.edu/UNL_Templates/examples/convert.php" md5sum="a7114a3868d0ba54d4ff76b370ea3201"/>
-   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_local.tpl" md5sum="8801aaa43aaca9d820728f665ed6e64d"/>
-   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_debug.tpl" md5sum="6c2891e91facb216e7f4c13d5be3c339"/>
-   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate.tpl" md5sum="26907bf294eba52039c49cbde60b2693"/>
-   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Local.tpl" md5sum="278f3cefa48d8aca1b6f316909ed3a50"/>
-   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Fixed.tpl" md5sum="1e00218790ec2552d5b02e7a1e83c1fd"/>
-   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Debug.tpl" md5sum="8074ddde1770dd571bd8c21917cf3607"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate_local.tpl" md5sum="c39c8c2553dd541cade23ed8f0031017"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate_debug.tpl" md5sum="5013bd2410d9a9d962eec536fee0e855"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate.tpl" md5sum="91d4b14e957142ceea9dd47e50924813"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Local.tpl" md5sum="90bd85043d58ecfd0d5a87f370aeea45"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Fixed.tpl" md5sum="2b2cc7f7d80c681700c434b5cbf55d2f"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Debug.tpl" md5sum="2e8f964c461d4c321b199c75b4a71f59"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_local.tpl" md5sum="0802ccd854dfe1d6a3f0a22ad7ff09c4"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_debug.tpl" md5sum="241be8cc9780847dece60b54358de9a3"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate.tpl" md5sum="5b30670bdbd48ecf9eaa9d6f505693f2"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Local.tpl" md5sum="4eef418e9e527224b9347e635e95dfba"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Fixed.tpl" md5sum="a2151b63d3861496e785f4b10f3b44be"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Debug.tpl" md5sum="037f834d2e9cd17856d83a6fbd0465dc"/>
    <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3/Unlaffiliate.tpl" md5sum="6644923a681f49bfd425f5768d01e4a3"/>
    <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3/Shared_column_right.tpl" md5sum="84cc265b12115d9c2733a6d03f5a4d85"/>
    <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version3/Shared_column_left.tpl" md5sum="6003b105b79241b8e001d0f375265747"/>
@@ -104,7 +127,7 @@ This package allows you to render UNL Template styled pages using PHP Objects.
    <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version2/Liquid.tpl" md5sum="1a936fdcd4d17383490bd5aef1219ce8"/>
    <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version2/Fixed.tpl" md5sum="df5ce334e93b844794699f3cc62d20b9"/>
    <file role="data" name="data/pear.unl.edu/UNL_Templates/tpl_cache/Version2/Document.tpl" md5sum="61cc4ae92fac84a7d38131769c2298ba"/>
-   <file role="data" name="data/pear.unl.edu/UNL_Templates/cssUNLTemplates.ini" md5sum="a56a41abc8a324ef7029dd8b485204bf"/>
+   <file role="data" name="data/pear.unl.edu/UNL_Templates/cssUNLTemplates.ini" md5sum="e2360f35ff791e3566351d8baa955d5b"/>
   </dir>
  </contents>
  <dependencies>
@@ -118,7 +141,7 @@ This package allows you to render UNL Template styled pages using PHP Objects.
    <package>
     <name>UNL_DWT</name>
     <channel>pear.unl.edu</channel>
-    <min>0.7.1</min>
+    <min>0.8.0</min>
    </package>
   </required>
   <optional>
diff --git a/lib/data/pear.unl.edu/UNL_Templates/cssUNLTemplates.ini b/lib/data/pear.unl.edu/UNL_Templates/cssUNLTemplates.ini
index b2223e4ce489bd1e63b0da5ccc208bae6363e6f1..17d132cdffd23d1d92d8c832642f43be346b93aa 100644
--- a/lib/data/pear.unl.edu/UNL_Templates/cssUNLTemplates.ini
+++ b/lib/data/pear.unl.edu/UNL_Templates/cssUNLTemplates.ini
@@ -1,9 +1,9 @@
-;php /usr/local/php5/lib/php/UNL/DWT/createTemplates.php cssUNLTemplates.ini
+;php -d include_path=`pwd`/../vendor/php ../vendor/php/UNL/DWT/createTemplates.php cssUNLTemplates.ini
 [UNL_DWT]
 dwt_location    = /Users/bbieber/Documents/workspace/wdntemplates/Templates/
-class_location  = /Users/bbieber/Documents/workspace/UNL_Templates/src/UNL/Templates/Version3x1
-tpl_location    = /Users/bbieber/Documents/workspace/UNL_Templates/data/tpl_cache/Version3x1
-class_prefix    = UNL_Templates_Version3x1_
+class_location  = /Users/bbieber/Documents/workspace/UNL_Templates/src/UNL/Templates/Version4
+tpl_location    = /Users/bbieber/Documents/workspace/UNL_Templates/data/tpl_cache/Version4
+class_prefix    = UNL_Templates_Version4_
 generator_exclude_regex = "/^(asp|php)/i"
 extends         = UNL_Templates
 extends_location	= "UNL/Templates.php"
\ No newline at end of file
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Debug.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Debug.tpl
index 5427bfa87ed24b06434c2c0b983ae783d824cfff..ca90ca65ffd630c6c6a683b300dd97490b61668c 100644
--- a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Debug.tpl
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Debug.tpl
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
-<!--[if IEMobile 7 ]><html class="ie iem7"><!-- InstanceBegin template="/Templates/debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><!-- InstanceBegin template="/Templates/debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 7 ]><html class="ie ie7" lang="en"><!-- InstanceBegin template="/Templates/debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 8 ]><html class="ie ie8" lang="en"><!-- InstanceBegin template="/Templates/debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><!-- InstanceBegin template="/Templates/debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
 <!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/debug.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
 <head>
 <!--#include virtual="/wdn/templates_3.1/includes/metanfavico.html" -->
@@ -30,7 +30,7 @@
 <!-- Place optional header elements here -->
 
 <!-- InstanceEndEditable -->
-<!-- TemplateParam name="class" type="text" value="fixed debug" -->
+<!-- InstanceParam name="class" type="text" value="fixed debug" -->
 </head>
 <body class="@@(_document['class'])@@" data-version="3.1">
     <nav class="skipnav">
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Fixed.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Fixed.tpl
index 2ab5dd2792ca321bfcfa2413ea1150aea1e48f61..5c1a3daf5b20c6dc9a4dfa8a0920362b370a7eb6 100644
--- a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Fixed.tpl
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Fixed.tpl
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
-<!--[if IEMobile 7 ]><html class="ie iem7"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 7 ]><html class="ie ie7" lang="en"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 8 ]><html class="ie ie8" lang="en"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
 <!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
 <head>
 <!--#include virtual="/wdn/templates_3.1/includes/metanfavico.html" -->
@@ -30,7 +30,7 @@
 <!-- Place optional header elements here -->
 
 <!-- InstanceEndEditable -->
-<!-- TemplateParam name="class" type="text" value="fixed" -->
+<!-- InstanceParam name="class" type="text" value="fixed" -->
 </head>
 <body class="@@(_document['class'])@@" data-version="3.1">
     <nav class="skipnav">
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Local.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Local.tpl
index 2bd3f2525ae9b07ff75b113cf2f9207c5321a7a6..22fd3f28df7eaada632ea1c7bed6c53662347144 100644
--- a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Local.tpl
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Local.tpl
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
-<!--[if IEMobile 7 ]><html class="ie iem7"><!-- InstanceBegin template="/Templates/local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><!-- InstanceBegin template="/Templates/local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 7 ]><html class="ie ie7" lang="en"><!-- InstanceBegin template="/Templates/local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 8 ]><html class="ie ie8" lang="en"><!-- InstanceBegin template="/Templates/local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><!-- InstanceBegin template="/Templates/local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
 <!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/local.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
 <head>
 <!--#include virtual="/wdn/templates_3.1/includes/metanfavico.html" -->
@@ -30,7 +30,7 @@
 <!-- Place optional header elements here -->
 
 <!-- InstanceEndEditable -->
-<!-- TemplateParam name="class" type="text" value="fixed" -->
+<!-- InstanceParam name="class" type="text" value="fixed" -->
 </head>
 <body class="@@(_document['class'])@@" data-version="3.1">
     <nav class="skipnav">
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate.tpl
index e17a0b841a4eb7180ca46dd17999816a71ada354..ed7156d81c2d5cbe5174c867ff1a234f02bf8a62 100644
--- a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate.tpl
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate.tpl
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
-<!--[if IEMobile 7 ]><html class="ie iem7"><!-- InstanceBegin template="/Templates/unlaffiliate.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 7 ]><html class="ie ie7" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 8 ]><html class="ie ie8" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
 <!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
 <head>
 <!--#include virtual="/wdn/templates_3.1/includes/metanfavico.html" -->
@@ -31,7 +31,7 @@
 <link rel="stylesheet" type="text/css" media="screen" href="../sharedcode/affiliate.css" />
 <link href="../sharedcode/affiliate_imgs/favicon.ico" rel="shortcut icon" />
 <!-- InstanceEndEditable -->
-<!-- TemplateParam name="class" type="text" value="fixed" -->
+<!-- InstanceParam name="class" type="text" value="fixed" -->
 </head>
 <body class="@@(_document['class'])@@" data-version="3.1">
     <nav class="skipnav">
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_debug.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_debug.tpl
index e09fc843aa01c2fa4c3b5aa9fb6fbca4d8a130c1..112032443e093c022962c69544ac457cafc6b4fe 100644
--- a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_debug.tpl
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_debug.tpl
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
-<!--[if IEMobile 7 ]><html class="ie iem7"><!-- InstanceBegin template="/Templates/unlaffiliate_debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 7 ]><html class="ie ie7" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 8 ]><html class="ie ie8" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_debug.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
 <!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_debug.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
 <head>
 <!--#include virtual="/wdn/templates_3.1/includes/metanfavico.html" -->
@@ -31,7 +31,7 @@
 <link rel="stylesheet" type="text/css" media="screen" href="../sharedcode/affiliate.css" />
 <link href="../sharedcode/affiliate_imgs/favicon.ico" rel="shortcut icon" />
 <!-- InstanceEndEditable -->
-<!-- TemplateParam name="class" type="text" value="fixed debug" -->
+<!-- InstanceParam name="class" type="text" value="fixed debug" -->
 </head>
 <body class="@@(_document['class'])@@" data-version="3.1">
     <nav class="skipnav">
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_local.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_local.tpl
index 865cee1f2020efac54b8aa65417fed32337f24da..09e83982249ffd96b9dc83474babaa3a0c567e72 100644
--- a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_local.tpl
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version3x1/Unlaffiliate_local.tpl
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
-<!--[if IEMobile 7 ]><html class="ie iem7"><!-- InstanceBegin template="/Templates/unlaffiliate_local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 7 ]><html class="ie ie7" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if IE 8 ]><html class="ie ie8" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
-<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_local.dwt" codeOutsideHTMLIsLocked="false" --><![endif]-->
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
 <!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_local.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
 <head>
 <!--#include virtual="/wdn/templates_3.1/includes/metanfavico.html" -->
@@ -31,7 +31,7 @@
 <link rel="stylesheet" type="text/css" media="screen" href="../sharedcode/affiliate.css" />
 <link href="../sharedcode/affiliate_imgs/favicon.ico" rel="shortcut icon" />
 <!-- InstanceEndEditable -->
-<!-- TemplateParam name="class" type="text" value="fixed" -->
+<!-- InstanceParam name="class" type="text" value="fixed" -->
 </head>
 <body class="@@(_document['class'])@@" data-version="3.1">
     <nav class="skipnav">
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Debug.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Debug.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..da4455710d6d033be2441569fee84a6a0388e3bf
--- /dev/null
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Debug.tpl
@@ -0,0 +1,166 @@
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
+<!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/debug.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
+<head>
+<!--#include virtual="/wdn/templates_4.0/includes/metanfavico.html" -->
+<!--
+    Membership and regular participation in the UNL Web Developer Network
+    is required to use the UNL templates. Visit the WDN site at 
+    http://wdn.unl.edu/. Click the WDN Registry link to log in and
+    register your unl.edu site.
+    All UNL template code is the property of the UNL Web Developer Network.
+    The code seen in a source code view is not, and may not be used as, a 
+    template. You may not use this code, a reverse-engineered version of 
+    this code, or its associated visual presentation in whole or in part to
+    create a derivative work.
+    This message may not be removed from any pages based on the UNL site template.
+    
+    $Id: debug.dwt | 1453c8fc0eafda458699fd5676379805da2368cc | Fri Oct 12 13:23:32 2012 -0500 | Seth Meranda  $
+-->
+<!--#include virtual="/wdn/templates_4.0/includes/scriptsandstyles_debug.html" -->
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>Use a descriptive page title | Optional Site Title (use for context) | University of Nebraska&ndash;Lincoln</title>
+<!-- InstanceEndEditable -->
+
+<!-- InstanceBeginEditable name="head" -->
+<!-- Place optional header elements here -->
+
+<!-- InstanceEndEditable -->
+<!-- InstanceParam name="class" type="text" value="debug" -->
+</head>
+<body class="@@(_document['class'])@@" data-version="4.0">
+    <!--#include virtual="/wdn/templates_4.0/includes/skipnav.html" -->
+    <div id="wdn_wrapper">
+        <input type="checkbox" id="wdn_menu_toggle" value="Show navigation menu" class="wdn-content-slide wdn-input-driver" />
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript-padding.html" -->
+        <header id="header" role="banner" class="wdn-content-slide wdn-band">
+            <!--#include virtual="/wdn/templates_4.0/includes/wdnResources.html" -->
+            <div class="wdn-inner-wrapper">
+                <!--#include virtual="/wdn/templates_4.0/includes/logo.html" -->
+                <div id="wdn_resources">
+                    <!--#include virtual="/wdn/templates_4.0/includes/idm.html" -->
+                    <!--#include virtual="/wdn/templates_4.0/includes/wdnTools.html" -->
+                </div>
+                <span id="wdn_institution_title">University of Nebraska&ndash;Lincoln</span>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/apps.html" -->
+            <div class="wdn-inner-wrapper">
+                <div id="wdn_site_title">
+                    <span>
+<!-- InstanceBeginEditable name="titlegraphic" -->
+The Title of My Site
+<!-- InstanceEndEditable -->
+</span>
+                </div>
+            </div>
+        </header>
+        <div id="wdn_navigation_bar" role="navigation" class="wdn-band">
+            <nav id="breadcrumbs" class="wdn-inner-wrapper">
+                <!-- WDN: see glossary item 'breadcrumbs' -->
+                <h3 class="wdn_list_descriptor wdn-text-hidden">Breadcrumbs</h3>
+                
+<!-- InstanceBeginEditable name="breadcrumbs" -->
+                <ul>
+                    <li><a href="http://www.unl.edu/" title="University of Nebraska&ndash;Lincoln" class="wdn-icon-home">UNL</a></li>
+                    <li><a href="#" title="Site Title">Site Title</a></li>
+                    <li>Home</li>
+                </ul>
+                
+<!-- InstanceEndEditable -->
+            </nav>
+            <div id="wdn_navigation_wrapper">
+                <nav id="navigation" role="navigation" class="wdn-band">
+                    <h3 class="wdn_list_descriptor wdn-text-hidden">Navigation</h3>
+                    
+<!-- InstanceBeginEditable name="navlinks" -->
+                    <!--#include virtual="../sharedcode/navigation.html" -->
+                    
+<!-- InstanceEndEditable -->
+                    <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+                </nav>
+            </div>
+        </div>
+        <!-- Navigation Trigger -->
+        <div class="wdn-menu-trigger wdn-content-slide">
+            <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+        </div>
+        <!-- End navigation trigger -->
+        <div id="wdn_content_wrapper" role="main" class="wdn-content-slide">
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div id="pagetitle">
+                        
+<!-- InstanceBeginEditable name="pagetitle" -->
+                        <h1>Please Title Your Page Here</h1>
+                        
+<!-- InstanceEndEditable -->
+                    </div>
+                </div>
+            </div>
+            <div id="maincontent" class="wdn-main">
+                <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
+                
+<!-- InstanceBeginEditable name="maincontentarea" -->
+                <div class="wdn-band">
+                    <div class="wdn-inner-wrapper">
+                        <p>Impress your audience with awesome content!</p>
+                    </div>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
+            </div>
+        </div>
+        <div class="wdn-band wdn-content-slide" id="wdn_optional_footer">
+            <div class="wdn-inner-wrapper">
+                
+<!-- InstanceBeginEditable name="optionalfooter" -->
+                
+<!-- InstanceEndEditable -->
+            </div>
+        </div>
+        <footer id="footer" role="contentinfo" class="wdn-content-slide">
+            <div class="wdn-band" id="wdn_footer_related">
+                <div class="wdn-inner-wrapper">
+                    
+<!-- InstanceBeginEditable name="leftcollinks" -->
+                    <!--#include virtual="../sharedcode/relatedLinks.html" -->
+                    
+<!-- InstanceEndEditable -->
+                </div>
+            </div>
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div class="footer_col" id="wdn_footer_contact">
+                        <h3>Contact Us</h3>
+                        <div class="wdn-contact-wrapper">
+                            
+<!-- InstanceBeginEditable name="contactinfo" -->
+                            <!--#include virtual="../sharedcode/footerContactInfo.html" -->
+                            
+<!-- InstanceEndEditable -->
+                        </div>
+                    </div>
+                    <div id="wdn_copyright">
+                        <div class="wdn-footer-text">
+                            
+<!-- InstanceBeginEditable name="footercontent" -->
+                            <!--#include virtual="../sharedcode/footer.html" -->
+                            
+<!-- InstanceEndEditable -->
+                            <!--#include virtual="/wdn/templates_4.0/includes/wdn.html" -->
+                        </div>
+                    <!--#include virtual="/wdn/templates_4.0/includes/logos.html" -->
+                    </div>
+                </div>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/footer_floater.html" -->
+        </footer>
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript.html" -->
+    </div>
+</body>
+</html>
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Fixed.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Fixed.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..5179f462554cdbb80086f6ed61ff0391b49c33e1
--- /dev/null
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Fixed.tpl
@@ -0,0 +1,166 @@
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
+<!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
+<head>
+<!--#include virtual="/wdn/templates_4.0/includes/metanfavico.html" -->
+<!--
+    Membership and regular participation in the UNL Web Developer Network
+    is required to use the UNL templates. Visit the WDN site at 
+    http://wdn.unl.edu/. Click the WDN Registry link to log in and
+    register your unl.edu site.
+    All UNL template code is the property of the UNL Web Developer Network.
+    The code seen in a source code view is not, and may not be used as, a 
+    template. You may not use this code, a reverse-engineered version of 
+    this code, or its associated visual presentation in whole or in part to
+    create a derivative work.
+    This message may not be removed from any pages based on the UNL site template.
+    
+    $Id: fixed.dwt | 1453c8fc0eafda458699fd5676379805da2368cc | Fri Oct 12 13:23:32 2012 -0500 | Seth Meranda  $
+-->
+<!--#include virtual="/wdn/templates_4.0/includes/scriptsandstyles.html" -->
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>Use a descriptive page title | Optional Site Title (use for context) | University of Nebraska&ndash;Lincoln</title>
+<!-- InstanceEndEditable -->
+
+<!-- InstanceBeginEditable name="head" -->
+<!-- Place optional header elements here -->
+
+<!-- InstanceEndEditable -->
+<!-- InstanceParam name="class" type="text" value="" -->
+</head>
+<body class="@@(_document['class'])@@" data-version="4.0">
+    <!--#include virtual="/wdn/templates_4.0/includes/skipnav.html" -->
+    <div id="wdn_wrapper">
+        <input type="checkbox" id="wdn_menu_toggle" value="Show navigation menu" class="wdn-content-slide wdn-input-driver" />
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript-padding.html" -->
+        <header id="header" role="banner" class="wdn-content-slide wdn-band">
+            <!--#include virtual="/wdn/templates_4.0/includes/wdnResources.html" -->
+            <div class="wdn-inner-wrapper">
+                <!--#include virtual="/wdn/templates_4.0/includes/logo.html" -->
+                <div id="wdn_resources">
+                    <!--#include virtual="/wdn/templates_4.0/includes/idm.html" -->
+                    <!--#include virtual="/wdn/templates_4.0/includes/wdnTools.html" -->
+                </div>
+                <span id="wdn_institution_title">University of Nebraska&ndash;Lincoln</span>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/apps.html" -->
+            <div class="wdn-inner-wrapper">
+                <div id="wdn_site_title">
+                    <span>
+<!-- InstanceBeginEditable name="titlegraphic" -->
+The Title of My Site
+<!-- InstanceEndEditable -->
+</span>
+                </div>
+            </div>
+        </header>
+        <div id="wdn_navigation_bar" role="navigation" class="wdn-band">
+            <nav id="breadcrumbs" class="wdn-inner-wrapper">
+                <!-- WDN: see glossary item 'breadcrumbs' -->
+                <h3 class="wdn_list_descriptor wdn-text-hidden">Breadcrumbs</h3>
+                
+<!-- InstanceBeginEditable name="breadcrumbs" -->
+                <ul>
+                    <li><a href="http://www.unl.edu/" title="University of Nebraska&ndash;Lincoln" class="wdn-icon-home">UNL</a></li>
+                    <li><a href="#" title="Site Title">Site Title</a></li>
+                    <li>Home</li>
+                </ul>
+                
+<!-- InstanceEndEditable -->
+            </nav>
+            <div id="wdn_navigation_wrapper">
+                <nav id="navigation" role="navigation" class="wdn-band">
+                    <h3 class="wdn_list_descriptor wdn-text-hidden">Navigation</h3>
+                    
+<!-- InstanceBeginEditable name="navlinks" -->
+                    <!--#include virtual="../sharedcode/navigation.html" -->
+                    
+<!-- InstanceEndEditable -->
+                    <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+                </nav>
+            </div>
+        </div>
+        <!-- Navigation Trigger -->
+        <div class="wdn-menu-trigger wdn-content-slide">
+            <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+        </div>
+        <!-- End navigation trigger -->
+        <div id="wdn_content_wrapper" role="main" class="wdn-content-slide">
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div id="pagetitle">
+                        
+<!-- InstanceBeginEditable name="pagetitle" -->
+                        <h1>Please Title Your Page Here</h1>
+                        
+<!-- InstanceEndEditable -->
+                    </div>
+                </div>
+            </div>
+            <div id="maincontent" class="wdn-main">
+                <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
+                
+<!-- InstanceBeginEditable name="maincontentarea" -->
+                <div class="wdn-band">
+                    <div class="wdn-inner-wrapper">
+                        <p>Impress your audience with awesome content!</p>
+                    </div>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
+            </div>
+        </div>
+        <div class="wdn-band wdn-content-slide" id="wdn_optional_footer">
+            <div class="wdn-inner-wrapper">
+                
+<!-- InstanceBeginEditable name="optionalfooter" -->
+                
+<!-- InstanceEndEditable -->
+            </div>
+        </div>
+        <footer id="footer" role="contentinfo" class="wdn-content-slide">
+            <div class="wdn-band" id="wdn_footer_related">
+                <div class="wdn-inner-wrapper">
+                    
+<!-- InstanceBeginEditable name="leftcollinks" -->
+                    <!--#include virtual="../sharedcode/relatedLinks.html" -->
+                    
+<!-- InstanceEndEditable -->
+                </div>
+            </div>
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div class="footer_col" id="wdn_footer_contact">
+                        <h3>Contact Us</h3>
+                        <div class="wdn-contact-wrapper">
+                            
+<!-- InstanceBeginEditable name="contactinfo" -->
+                            <!--#include virtual="../sharedcode/footerContactInfo.html" -->
+                            
+<!-- InstanceEndEditable -->
+                        </div>
+                    </div>
+                    <div id="wdn_copyright">
+                        <div class="wdn-footer-text">
+                            
+<!-- InstanceBeginEditable name="footercontent" -->
+                            <!--#include virtual="../sharedcode/footer.html" -->
+                            
+<!-- InstanceEndEditable -->
+                            <!--#include virtual="/wdn/templates_4.0/includes/wdn.html" -->
+                        </div>
+                    <!--#include virtual="/wdn/templates_4.0/includes/logos.html" -->
+                    </div>
+                </div>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/footer_floater.html" -->
+        </footer>
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript.html" -->
+    </div>
+</body>
+</html>
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Local.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Local.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..ecc46f57bfb32bcf9527e08f5e8b021288c167f3
--- /dev/null
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Local.tpl
@@ -0,0 +1,166 @@
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
+<!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/local.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
+<head>
+<!--#include virtual="/wdn/templates_4.0/includes/metanfavico.html" -->
+<!--
+    Membership and regular participation in the UNL Web Developer Network
+    is required to use the UNL templates. Visit the WDN site at 
+    http://wdn.unl.edu/. Click the WDN Registry link to log in and
+    register your unl.edu site.
+    All UNL template code is the property of the UNL Web Developer Network.
+    The code seen in a source code view is not, and may not be used as, a 
+    template. You may not use this code, a reverse-engineered version of 
+    this code, or its associated visual presentation in whole or in part to
+    create a derivative work.
+    This message may not be removed from any pages based on the UNL site template.
+    
+    $Id: local.dwt | 1453c8fc0eafda458699fd5676379805da2368cc | Fri Oct 12 13:23:32 2012 -0500 | Seth Meranda  $
+-->
+<!--#include virtual="/wdn/templates_4.0/includes/scriptsandstyles_local.html" -->
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>Use a descriptive page title | Optional Site Title (use for context) | University of Nebraska&ndash;Lincoln</title>
+<!-- InstanceEndEditable -->
+
+<!-- InstanceBeginEditable name="head" -->
+<!-- Place optional header elements here -->
+
+<!-- InstanceEndEditable -->
+<!-- InstanceParam name="class" type="text" value="" -->
+</head>
+<body class="@@(_document['class'])@@" data-version="4.0">
+    <!--#include virtual="/wdn/templates_4.0/includes/skipnav.html" -->
+    <div id="wdn_wrapper">
+        <input type="checkbox" id="wdn_menu_toggle" value="Show navigation menu" class="wdn-content-slide wdn-input-driver" />
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript-padding.html" -->
+        <header id="header" role="banner" class="wdn-content-slide wdn-band">
+            <!--#include virtual="/wdn/templates_4.0/includes/wdnResources.html" -->
+            <div class="wdn-inner-wrapper">
+                <!--#include virtual="/wdn/templates_4.0/includes/logo.html" -->
+                <div id="wdn_resources">
+                    <!--#include virtual="/wdn/templates_4.0/includes/idm.html" -->
+                    <!--#include virtual="/wdn/templates_4.0/includes/wdnTools.html" -->
+                </div>
+                <span id="wdn_institution_title">University of Nebraska&ndash;Lincoln</span>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/apps.html" -->
+            <div class="wdn-inner-wrapper">
+                <div id="wdn_site_title">
+                    <span>
+<!-- InstanceBeginEditable name="titlegraphic" -->
+The Title of My Site
+<!-- InstanceEndEditable -->
+</span>
+                </div>
+            </div>
+        </header>
+        <div id="wdn_navigation_bar" role="navigation" class="wdn-band">
+            <nav id="breadcrumbs" class="wdn-inner-wrapper">
+                <!-- WDN: see glossary item 'breadcrumbs' -->
+                <h3 class="wdn_list_descriptor wdn-text-hidden">Breadcrumbs</h3>
+                
+<!-- InstanceBeginEditable name="breadcrumbs" -->
+                <ul>
+                    <li><a href="http://www.unl.edu/" title="University of Nebraska&ndash;Lincoln" class="wdn-icon-home">UNL</a></li>
+                    <li><a href="#" title="Site Title">Site Title</a></li>
+                    <li>Home</li>
+                </ul>
+                
+<!-- InstanceEndEditable -->
+            </nav>
+            <div id="wdn_navigation_wrapper">
+                <nav id="navigation" role="navigation" class="wdn-band">
+                    <h3 class="wdn_list_descriptor wdn-text-hidden">Navigation</h3>
+                    
+<!-- InstanceBeginEditable name="navlinks" -->
+                    <!--#include virtual="../sharedcode/navigation.html" -->
+                    
+<!-- InstanceEndEditable -->
+                    <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+                </nav>
+            </div>
+        </div>
+        <!-- Navigation Trigger -->
+        <div class="wdn-menu-trigger wdn-content-slide">
+            <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+        </div>
+        <!-- End navigation trigger -->
+        <div id="wdn_content_wrapper" role="main" class="wdn-content-slide">
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div id="pagetitle">
+                        
+<!-- InstanceBeginEditable name="pagetitle" -->
+                        <h1>Please Title Your Page Here</h1>
+                        
+<!-- InstanceEndEditable -->
+                    </div>
+                </div>
+            </div>
+            <div id="maincontent" class="wdn-main">
+                <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
+                
+<!-- InstanceBeginEditable name="maincontentarea" -->
+                <div class="wdn-band">
+                    <div class="wdn-inner-wrapper">
+                        <p>Impress your audience with awesome content!</p>
+                    </div>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
+            </div>
+        </div>
+        <div class="wdn-band wdn-content-slide" id="wdn_optional_footer">
+            <div class="wdn-inner-wrapper">
+                
+<!-- InstanceBeginEditable name="optionalfooter" -->
+                
+<!-- InstanceEndEditable -->
+            </div>
+        </div>
+        <footer id="footer" role="contentinfo" class="wdn-content-slide">
+            <div class="wdn-band" id="wdn_footer_related">
+                <div class="wdn-inner-wrapper">
+                    
+<!-- InstanceBeginEditable name="leftcollinks" -->
+                    <!--#include virtual="../sharedcode/relatedLinks.html" -->
+                    
+<!-- InstanceEndEditable -->
+                </div>
+            </div>
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div class="footer_col" id="wdn_footer_contact">
+                        <h3>Contact Us</h3>
+                        <div class="wdn-contact-wrapper">
+                            
+<!-- InstanceBeginEditable name="contactinfo" -->
+                            <!--#include virtual="../sharedcode/footerContactInfo.html" -->
+                            
+<!-- InstanceEndEditable -->
+                        </div>
+                    </div>
+                    <div id="wdn_copyright">
+                        <div class="wdn-footer-text">
+                            
+<!-- InstanceBeginEditable name="footercontent" -->
+                            <!--#include virtual="../sharedcode/footer.html" -->
+                            
+<!-- InstanceEndEditable -->
+                            <!--#include virtual="/wdn/templates_4.0/includes/wdn.html" -->
+                        </div>
+                    <!--#include virtual="/wdn/templates_4.0/includes/logos.html" -->
+                    </div>
+                </div>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/footer_floater.html" -->
+        </footer>
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript.html" -->
+    </div>
+</body>
+</html>
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..d9d358631659857513eb985b2008445acdc63f25
--- /dev/null
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate.tpl
@@ -0,0 +1,172 @@
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
+<!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
+<head>
+<!--#include virtual="/wdn/templates_4.0/includes/metanfavico.html" -->
+<!--
+    Membership and regular participation in the UNL Web Developer Network
+    is required to use the UNL templates. Visit the WDN site at 
+    http://wdn.unl.edu/. Click the WDN Registry link to log in and
+    register your unl.edu site.
+    All UNL template code is the property of the UNL Web Developer Network.
+    The code seen in a source code view is not, and may not be used as, a 
+    template. You may not use this code, a reverse-engineered version of 
+    this code, or its associated visual presentation in whole or in part to
+    create a derivative work.
+    This message may not be removed from any pages based on the UNL site template.
+    
+    $Id: unlaffiliate.dwt | 1453c8fc0eafda458699fd5676379805da2368cc | Fri Oct 12 13:23:32 2012 -0500 | Seth Meranda  $
+-->
+<!--#include virtual="/wdn/templates_4.0/includes/scriptsandstyles.html" -->
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>Use a descriptive page title | Optional Site Title (use for context) | UNL Affiliate</title>
+<!-- InstanceEndEditable -->
+
+<!-- InstanceBeginEditable name="head" -->
+<!-- Place optional header elements here -->
+<link rel="stylesheet" type="text/css" media="screen" href="../sharedcode/affiliate.css" />
+<link href="../sharedcode/affiliate_imgs/favicon.ico" rel="shortcut icon" />
+<!-- InstanceEndEditable -->
+<!-- InstanceParam name="class" type="text" value="" -->
+</head>
+<body class="@@(_document['class'])@@" data-version="4.0">
+    <!--#include virtual="/wdn/templates_4.0/includes/skipnav.html" -->
+    <div id="wdn_wrapper">
+        <input type="checkbox" id="wdn_menu_toggle" value="Show navigation menu" class="wdn-content-slide wdn-input-driver" />
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript-padding.html" -->
+        <header id="header" role="banner" class="wdn-content-slide wdn-band">
+            <!--#include virtual="/wdn/templates_4.0/includes/wdnResources.html" -->
+            <div class="wdn-inner-wrapper">
+                <!-- InstanceBeginEditable name="sitebranding_logo" -->
+                <div id="logo">
+                    <a href="http://www.throughtheeyes.org/" title="Through the Eyes of the Child Initiative" id="wdn_logo_link">Through the Eyes of the Child Initiative</a>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <div id="wdn_resources">
+                    <!--#include virtual="/wdn/templates_4.0/includes/idm.html" -->
+                    <!--#include virtual="/wdn/templates_4.0/includes/wdnTools.html" -->
+                </div>
+                <span id="wdn_institution_title"><!-- InstanceBeginEditable name="sitebranding_affiliate" --><a href="http://www.unl.edu" title="University of Nebraska&ndash;Lincoln">An affiliate of the University of Nebraska&ndash;Lincoln</a>
+<!-- InstanceEndEditable -->
+</span>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/apps.html" -->
+            <div class="wdn-inner-wrapper">
+                <div id="wdn_site_title">
+                    <span>
+<!-- InstanceBeginEditable name="titlegraphic" -->
+The Title of My Site
+<!-- InstanceEndEditable -->
+</span>
+                </div>
+            </div>
+        </header>
+        <div id="wdn_navigation_bar" role="navigation" class="wdn-band">
+            <nav id="breadcrumbs" class="wdn-inner-wrapper">
+                <!-- WDN: see glossary item 'breadcrumbs' -->
+                <h3 class="wdn_list_descriptor wdn-text-hidden">Breadcrumbs</h3>
+                
+<!-- InstanceBeginEditable name="breadcrumbs" -->
+                <ul>
+                    <li><a href="http://www.throughtheeyes.org/" title="Through the Eyes of the Child Initiative">Home</a></li>
+                </ul>
+                
+<!-- InstanceEndEditable -->
+            </nav>
+            <div id="wdn_navigation_wrapper">
+                <nav id="navigation" role="navigation" class="wdn-band">
+                    <h3 class="wdn_list_descriptor wdn-text-hidden">Navigation</h3>
+                    
+<!-- InstanceBeginEditable name="navlinks" -->
+                    <!--#include virtual="../sharedcode/navigation.html" -->
+                    
+<!-- InstanceEndEditable -->
+                    <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+                </nav>
+            </div>
+        </div>
+        <!-- Navigation Trigger -->
+        <div class="wdn-menu-trigger wdn-content-slide">
+            <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+        </div>
+        <!-- End navigation trigger -->
+        <div id="wdn_content_wrapper" role="main" class="wdn-content-slide">
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div id="pagetitle">
+                        
+<!-- InstanceBeginEditable name="pagetitle" -->
+                        <h1>Please Title Your Page Here</h1>
+                        
+<!-- InstanceEndEditable -->
+                    </div>
+                </div>
+            </div>
+            <div id="maincontent" class="wdn-main">
+                <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
+                
+<!-- InstanceBeginEditable name="maincontentarea" -->
+                <div class="wdn-band">
+                    <div class="wdn-inner-wrapper">
+                        <p>Impress your audience with awesome content!</p>
+                    </div>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
+            </div>
+        </div>
+        <div class="wdn-band wdn-content-slide" id="wdn_optional_footer">
+            <div class="wdn-inner-wrapper">
+                
+<!-- InstanceBeginEditable name="optionalfooter" -->
+                
+<!-- InstanceEndEditable -->
+            </div>
+        </div>
+        <footer id="footer" role="contentinfo" class="wdn-content-slide">
+            <div class="wdn-band" id="wdn_footer_related">
+                <div class="wdn-inner-wrapper">
+                    
+<!-- InstanceBeginEditable name="leftcollinks" -->
+                    <!--#include virtual="../sharedcode/relatedLinks.html" -->
+                    
+<!-- InstanceEndEditable -->
+                </div>
+            </div>
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div class="footer_col" id="wdn_footer_contact">
+                        <h3>Contact Us</h3>
+                        <div class="wdn-contact-wrapper">
+                            
+<!-- InstanceBeginEditable name="contactinfo" -->
+                            <!--#include virtual="../sharedcode/footerContactInfo.html" -->
+                            
+<!-- InstanceEndEditable -->
+                        </div>
+                    </div>
+                    <div id="wdn_copyright">
+                        <div class="wdn-footer-text">
+                            
+<!-- InstanceBeginEditable name="footercontent" -->
+                            <!--#include virtual="../sharedcode/footer.html" -->
+                            
+<!-- InstanceEndEditable -->
+                            <!--#include virtual="/wdn/templates_4.0/includes/wdn.html" -->
+                        </div>
+                    <!--#include virtual="/wdn/templates_4.0/includes/logos.html" -->
+                    </div>
+                </div>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/footer_floater.html" -->
+        </footer>
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript.html" -->
+    </div>
+</body>
+</html>
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate_debug.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate_debug.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..08371ae90ef51277e7e070cbb654711d240214c5
--- /dev/null
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate_debug.tpl
@@ -0,0 +1,172 @@
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
+<!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_debug.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
+<head>
+<!--#include virtual="/wdn/templates_4.0/includes/metanfavico.html" -->
+<!--
+    Membership and regular participation in the UNL Web Developer Network
+    is required to use the UNL templates. Visit the WDN site at 
+    http://wdn.unl.edu/. Click the WDN Registry link to log in and
+    register your unl.edu site.
+    All UNL template code is the property of the UNL Web Developer Network.
+    The code seen in a source code view is not, and may not be used as, a 
+    template. You may not use this code, a reverse-engineered version of 
+    this code, or its associated visual presentation in whole or in part to
+    create a derivative work.
+    This message may not be removed from any pages based on the UNL site template.
+    
+    $Id: unlaffiliate_debug.dwt | 1453c8fc0eafda458699fd5676379805da2368cc | Fri Oct 12 13:23:32 2012 -0500 | Seth Meranda  $
+-->
+<!--#include virtual="/wdn/templates_4.0/includes/scriptsandstyles_debug.html" -->
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>Use a descriptive page title | Optional Site Title (use for context) | UNL Affiliate</title>
+<!-- InstanceEndEditable -->
+
+<!-- InstanceBeginEditable name="head" -->
+<!-- Place optional header elements here -->
+<link rel="stylesheet" type="text/css" media="screen" href="../sharedcode/affiliate.css" />
+<link href="../sharedcode/affiliate_imgs/favicon.ico" rel="shortcut icon" />
+<!-- InstanceEndEditable -->
+<!-- InstanceParam name="class" type="text" value="debug" -->
+</head>
+<body class="@@(_document['class'])@@" data-version="4.0">
+    <!--#include virtual="/wdn/templates_4.0/includes/skipnav.html" -->
+    <div id="wdn_wrapper">
+        <input type="checkbox" id="wdn_menu_toggle" value="Show navigation menu" class="wdn-content-slide wdn-input-driver" />
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript-padding.html" -->
+        <header id="header" role="banner" class="wdn-content-slide wdn-band">
+            <!--#include virtual="/wdn/templates_4.0/includes/wdnResources.html" -->
+            <div class="wdn-inner-wrapper">
+                <!-- InstanceBeginEditable name="sitebranding_logo" -->
+                <div id="logo">
+                    <a href="http://www.throughtheeyes.org/" title="Through the Eyes of the Child Initiative" id="wdn_logo_link">Through the Eyes of the Child Initiative</a>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <div id="wdn_resources">
+                    <!--#include virtual="/wdn/templates_4.0/includes/idm.html" -->
+                    <!--#include virtual="/wdn/templates_4.0/includes/wdnTools.html" -->
+                </div>
+                <span id="wdn_institution_title"><!-- InstanceBeginEditable name="sitebranding_affiliate" --><a href="http://www.unl.edu" title="University of Nebraska&ndash;Lincoln">An affiliate of the University of Nebraska&ndash;Lincoln</a>
+<!-- InstanceEndEditable -->
+</span>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/apps.html" -->
+            <div class="wdn-inner-wrapper">
+                <div id="wdn_site_title">
+                    <span>
+<!-- InstanceBeginEditable name="titlegraphic" -->
+The Title of My Site
+<!-- InstanceEndEditable -->
+</span>
+                </div>
+            </div>
+        </header>
+        <div id="wdn_navigation_bar" role="navigation" class="wdn-band">
+            <nav id="breadcrumbs" class="wdn-inner-wrapper">
+                <!-- WDN: see glossary item 'breadcrumbs' -->
+                <h3 class="wdn_list_descriptor wdn-text-hidden">Breadcrumbs</h3>
+                
+<!-- InstanceBeginEditable name="breadcrumbs" -->
+                <ul>
+                    <li><a href="http://www.throughtheeyes.org/" title="Through the Eyes of the Child Initiative">Home</a></li>
+                </ul>
+                
+<!-- InstanceEndEditable -->
+            </nav>
+            <div id="wdn_navigation_wrapper">
+                <nav id="navigation" role="navigation" class="wdn-band">
+                    <h3 class="wdn_list_descriptor wdn-text-hidden">Navigation</h3>
+                    
+<!-- InstanceBeginEditable name="navlinks" -->
+                    <!--#include virtual="../sharedcode/navigation.html" -->
+                    
+<!-- InstanceEndEditable -->
+                    <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+                </nav>
+            </div>
+        </div>
+        <!-- Navigation Trigger -->
+        <div class="wdn-menu-trigger wdn-content-slide">
+            <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+        </div>
+        <!-- End navigation trigger -->
+        <div id="wdn_content_wrapper" role="main" class="wdn-content-slide">
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div id="pagetitle">
+                        
+<!-- InstanceBeginEditable name="pagetitle" -->
+                        <h1>Please Title Your Page Here</h1>
+                        
+<!-- InstanceEndEditable -->
+                    </div>
+                </div>
+            </div>
+            <div id="maincontent" class="wdn-main">
+                <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
+                
+<!-- InstanceBeginEditable name="maincontentarea" -->
+                <div class="wdn-band">
+                    <div class="wdn-inner-wrapper">
+                        <p>Impress your audience with awesome content!</p>
+                    </div>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
+            </div>
+        </div>
+        <div class="wdn-band wdn-content-slide" id="wdn_optional_footer">
+            <div class="wdn-inner-wrapper">
+                
+<!-- InstanceBeginEditable name="optionalfooter" -->
+                
+<!-- InstanceEndEditable -->
+            </div>
+        </div>
+        <footer id="footer" role="contentinfo" class="wdn-content-slide">
+            <div class="wdn-band" id="wdn_footer_related">
+                <div class="wdn-inner-wrapper">
+                    
+<!-- InstanceBeginEditable name="leftcollinks" -->
+                    <!--#include virtual="../sharedcode/relatedLinks.html" -->
+                    
+<!-- InstanceEndEditable -->
+                </div>
+            </div>
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div class="footer_col" id="wdn_footer_contact">
+                        <h3>Contact Us</h3>
+                        <div class="wdn-contact-wrapper">
+                            
+<!-- InstanceBeginEditable name="contactinfo" -->
+                            <!--#include virtual="../sharedcode/footerContactInfo.html" -->
+                            
+<!-- InstanceEndEditable -->
+                        </div>
+                    </div>
+                    <div id="wdn_copyright">
+                        <div class="wdn-footer-text">
+                            
+<!-- InstanceBeginEditable name="footercontent" -->
+                            <!--#include virtual="../sharedcode/footer.html" -->
+                            
+<!-- InstanceEndEditable -->
+                            <!--#include virtual="/wdn/templates_4.0/includes/wdn.html" -->
+                        </div>
+                    <!--#include virtual="/wdn/templates_4.0/includes/logos.html" -->
+                    </div>
+                </div>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/footer_floater.html" -->
+        </footer>
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript.html" -->
+    </div>
+</body>
+</html>
diff --git a/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate_local.tpl b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate_local.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..2328632d3a0d8449110e9c575ec3628de832fd4b
--- /dev/null
+++ b/lib/data/pear.unl.edu/UNL_Templates/tpl_cache/Version4/Unlaffiliate_local.tpl
@@ -0,0 +1,172 @@
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
+<!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/unlaffiliate_local.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
+<head>
+<!--#include virtual="/wdn/templates_4.0/includes/metanfavico.html" -->
+<!--
+    Membership and regular participation in the UNL Web Developer Network
+    is required to use the UNL templates. Visit the WDN site at 
+    http://wdn.unl.edu/. Click the WDN Registry link to log in and
+    register your unl.edu site.
+    All UNL template code is the property of the UNL Web Developer Network.
+    The code seen in a source code view is not, and may not be used as, a 
+    template. You may not use this code, a reverse-engineered version of 
+    this code, or its associated visual presentation in whole or in part to
+    create a derivative work.
+    This message may not be removed from any pages based on the UNL site template.
+    
+    $Id: unlaffiliate_local.dwt | 1453c8fc0eafda458699fd5676379805da2368cc | Fri Oct 12 13:23:32 2012 -0500 | Seth Meranda  $
+-->
+<!--#include virtual="/wdn/templates_4.0/includes/scriptsandstyles_local.html" -->
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>Use a descriptive page title | Optional Site Title (use for context) | UNL Affiliate</title>
+<!-- InstanceEndEditable -->
+
+<!-- InstanceBeginEditable name="head" -->
+<!-- Place optional header elements here -->
+<link rel="stylesheet" type="text/css" media="screen" href="../sharedcode/affiliate.css" />
+<link href="../sharedcode/affiliate_imgs/favicon.ico" rel="shortcut icon" />
+<!-- InstanceEndEditable -->
+<!-- InstanceParam name="class" type="text" value="" -->
+</head>
+<body class="@@(_document['class'])@@" data-version="4.0">
+    <!--#include virtual="/wdn/templates_4.0/includes/skipnav.html" -->
+    <div id="wdn_wrapper">
+        <input type="checkbox" id="wdn_menu_toggle" value="Show navigation menu" class="wdn-content-slide wdn-input-driver" />
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript-padding.html" -->
+        <header id="header" role="banner" class="wdn-content-slide wdn-band">
+            <!--#include virtual="/wdn/templates_4.0/includes/wdnResources.html" -->
+            <div class="wdn-inner-wrapper">
+                <!-- InstanceBeginEditable name="sitebranding_logo" -->
+                <div id="logo">
+                    <a href="http://www.throughtheeyes.org/" title="Through the Eyes of the Child Initiative" id="wdn_logo_link">Through the Eyes of the Child Initiative</a>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <div id="wdn_resources">
+                    <!--#include virtual="/wdn/templates_4.0/includes/idm.html" -->
+                    <!--#include virtual="/wdn/templates_4.0/includes/wdnTools.html" -->
+                </div>
+                <span id="wdn_institution_title"><!-- InstanceBeginEditable name="sitebranding_affiliate" --><a href="http://www.unl.edu" title="University of Nebraska&ndash;Lincoln">An affiliate of the University of Nebraska&ndash;Lincoln</a>
+<!-- InstanceEndEditable -->
+</span>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/apps.html" -->
+            <div class="wdn-inner-wrapper">
+                <div id="wdn_site_title">
+                    <span>
+<!-- InstanceBeginEditable name="titlegraphic" -->
+The Title of My Site
+<!-- InstanceEndEditable -->
+</span>
+                </div>
+            </div>
+        </header>
+        <div id="wdn_navigation_bar" role="navigation" class="wdn-band">
+            <nav id="breadcrumbs" class="wdn-inner-wrapper">
+                <!-- WDN: see glossary item 'breadcrumbs' -->
+                <h3 class="wdn_list_descriptor wdn-text-hidden">Breadcrumbs</h3>
+                
+<!-- InstanceBeginEditable name="breadcrumbs" -->
+                <ul>
+                    <li><a href="http://www.throughtheeyes.org/" title="Through the Eyes of the Child Initiative">Home</a></li>
+                </ul>
+                
+<!-- InstanceEndEditable -->
+            </nav>
+            <div id="wdn_navigation_wrapper">
+                <nav id="navigation" role="navigation" class="wdn-band">
+                    <h3 class="wdn_list_descriptor wdn-text-hidden">Navigation</h3>
+                    
+<!-- InstanceBeginEditable name="navlinks" -->
+                    <!--#include virtual="../sharedcode/navigation.html" -->
+                    
+<!-- InstanceEndEditable -->
+                    <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+                </nav>
+            </div>
+        </div>
+        <!-- Navigation Trigger -->
+        <div class="wdn-menu-trigger wdn-content-slide">
+            <label for="wdn_menu_toggle" class="wdn-icon-menu">Menu</label>
+        </div>
+        <!-- End navigation trigger -->
+        <div id="wdn_content_wrapper" role="main" class="wdn-content-slide">
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div id="pagetitle">
+                        
+<!-- InstanceBeginEditable name="pagetitle" -->
+                        <h1>Please Title Your Page Here</h1>
+                        
+<!-- InstanceEndEditable -->
+                    </div>
+                </div>
+            </div>
+            <div id="maincontent" class="wdn-main">
+                <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
+                
+<!-- InstanceBeginEditable name="maincontentarea" -->
+                <div class="wdn-band">
+                    <div class="wdn-inner-wrapper">
+                        <p>Impress your audience with awesome content!</p>
+                    </div>
+                </div>
+                
+<!-- InstanceEndEditable -->
+                <!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
+            </div>
+        </div>
+        <div class="wdn-band wdn-content-slide" id="wdn_optional_footer">
+            <div class="wdn-inner-wrapper">
+                
+<!-- InstanceBeginEditable name="optionalfooter" -->
+                
+<!-- InstanceEndEditable -->
+            </div>
+        </div>
+        <footer id="footer" role="contentinfo" class="wdn-content-slide">
+            <div class="wdn-band" id="wdn_footer_related">
+                <div class="wdn-inner-wrapper">
+                    
+<!-- InstanceBeginEditable name="leftcollinks" -->
+                    <!--#include virtual="../sharedcode/relatedLinks.html" -->
+                    
+<!-- InstanceEndEditable -->
+                </div>
+            </div>
+            <div class="wdn-band">
+                <div class="wdn-inner-wrapper">
+                    <div class="footer_col" id="wdn_footer_contact">
+                        <h3>Contact Us</h3>
+                        <div class="wdn-contact-wrapper">
+                            
+<!-- InstanceBeginEditable name="contactinfo" -->
+                            <!--#include virtual="../sharedcode/footerContactInfo.html" -->
+                            
+<!-- InstanceEndEditable -->
+                        </div>
+                    </div>
+                    <div id="wdn_copyright">
+                        <div class="wdn-footer-text">
+                            
+<!-- InstanceBeginEditable name="footercontent" -->
+                            <!--#include virtual="../sharedcode/footer.html" -->
+                            
+<!-- InstanceEndEditable -->
+                            <!--#include virtual="/wdn/templates_4.0/includes/wdn.html" -->
+                        </div>
+                    <!--#include virtual="/wdn/templates_4.0/includes/logos.html" -->
+                    </div>
+                </div>
+            </div>
+            <!--#include virtual="/wdn/templates_4.0/includes/footer_floater.html" -->
+        </footer>
+        <!--#include virtual="/wdn/templates_4.0/includes/noscript.html" -->
+    </div>
+</body>
+</html>
diff --git a/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.php b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.php
new file mode 100644
index 0000000000000000000000000000000000000000..539fb44c98acddb65482a39a24383eba3a2de80f
--- /dev/null
+++ b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Template Definition for template_style1.dwt
+ */
+require_once 'UNL/DWT.php';
+
+class UNL_DWT_Template_style1 extends UNL_DWT 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__template = 'Template_style1.tpl';             // template name
+    public $doctitle = "<title>Sample Template Style 1</title>";                       // string()  
+    public $head = "";                           // string()  
+    public $header = "Header";                         // string()  
+    public $leftnav = "<p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut. </p>";                        // string()  
+    public $content = "<h2>Subheading</h2> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. </p> <p> Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </p>";                        // string()  
+    public $footer = "Footer";                         // string()  
+
+    public $__params = array (
+);
+
+    /* Static get */
+    function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_DWT_Template_style1',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}
diff --git a/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.tpl b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.tpl
new file mode 100644
index 0000000000000000000000000000000000000000..bd63d0408c2fdc1289ca180fdf4a09a0b64c069b
--- /dev/null
+++ b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/Template_style1.tpl
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template_style1.dwt" codeOutsideHTMLIsLocked="false" -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>Sample Template Style 1</title>
+<!-- InstanceEndEditable -->
+<style type="text/css">
+#container
+{
+width: 90%;
+margin: 10px auto;
+background-color: #fff;
+color: #333;
+border: 1px solid gray;
+line-height: 130%;
+}
+#top
+{
+padding: .5em;
+background-color: #ddd;
+border-bottom: 1px solid gray;
+}
+#top h1
+{
+padding: 0;
+margin: 0;
+}
+#leftnav
+{
+float: left;
+width: 160px;
+margin: 0;
+padding: 1em;
+}
+#content
+{
+margin-left: 200px;
+border-left: 1px solid gray;
+padding: 1em;
+max-width: 36em;
+}
+#footer
+{
+clear: both;
+margin: 0;
+padding: .5em;
+color: #333;
+background-color: #ddd;
+border-top: 1px solid gray;
+}
+#leftnav p { margin: 0 0 1em 0; }
+#content h2 { margin: 0 0 .5em 0; }
+</style>
+<!-- InstanceBeginEditable name="head" -->
+<!-- InstanceEndEditable -->
+</head>
+<body>
+<div id="container">
+<div id="top">
+<h1>
+<!-- InstanceBeginEditable name="header" -->
+Header
+<!-- InstanceEndEditable -->
+</h1>
+</div>
+<div id="leftnav">
+<!-- InstanceBeginEditable name="leftnav" -->
+    <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut. </p>
+<!-- InstanceEndEditable -->
+</div>
+<div id="content">
+<!-- InstanceBeginEditable name="content" -->
+    <h2>Subheading</h2>
+    <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. </p>
+    <p> Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </p>
+<!-- InstanceEndEditable -->
+</div>
+<div id="footer">
+<!-- InstanceBeginEditable name="footer" -->
+Footer
+<!-- InstanceEndEditable -->
+</div>
+</div>
+</body>
+</html>
diff --git a/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example.ini b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example.ini
new file mode 100644
index 0000000000000000000000000000000000000000..7c1426b6362ac73fbf4fd9e084c6022bd378308d
--- /dev/null
+++ b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example.ini
@@ -0,0 +1,5 @@
+[UNL_DWT]
+dwt_location    = @DOC_DIR@/UNL_DWT/docs/examples/basic
+class_location  = @DOC_DIR@/UNL_DWT/docs/examples/basic
+tpl_location	= @DOC_DIR@/UNL_DWT/docs/examples/basic
+class_prefix    = UNL_DWT_
diff --git a/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example.test.ini b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example.test.ini
new file mode 100644
index 0000000000000000000000000000000000000000..6f24a0b77b8e13197c9649c42aa2139a647de3fc
--- /dev/null
+++ b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example.test.ini
@@ -0,0 +1,5 @@
+[UNL_DWT]
+dwt_location    = ./
+class_location  = ./
+tpl_location	= ./
+class_prefix    = UNL_DWT_
\ No newline at end of file
diff --git a/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example_style1.php b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example_style1.php
new file mode 100644
index 0000000000000000000000000000000000000000..30f50bc36d93c19b73962d666abeab6c78b0e1dc
--- /dev/null
+++ b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/example_style1.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ * This example uses the DWT object generated by: '@PHP_BIN@ @PHP_DIR@/UNL/DWT/createTemplates.php @DOC_DIR@/UNL_DWT/docs/examples/basic/example.ini'
+ *
+ */
+ini_set('display_errors',true);
+error_reporting(E_ALL|E_STRICT);
+
+set_include_path(dirname(__DIR__).'/../../src');
+
+require_once 'UNL/DWT.php';
+if ('@DATA_DIR@' == '@'.'DATA_DIR@') {
+    $configfile = 'example.test.ini';
+} else {
+    $configfile = '@DOC_DIR@/UNL_DWT/docs/examples/example.ini';
+}
+$config = parse_ini_file($configfile, true);
+foreach($config as $class=>$values) {
+   UNL_DWT::$options = $values;
+}
+$page = UNL_DWT::factory('Template_style1');
+$page->header  = "Example Using Template Style 1";
+$page->leftnav = "<ul><li><a href='http://pear.unl.edu/'>UNL PEAR Channel</a></li></ul>";
+$page->content = "<p>This example demonstrates the usefulness of the DWT object generator for Dreamweaver Templates.</p>";
+$page->content .= "<p>Included with the DWT package is a Dreamweaver template with 4 editable regions [template_style1.dwt]. This page is rendered using the DWT class created from that template.</p>";
+$page->content .= "<p>To create classes for your Templates, create a .ini file with the location of your Dreamweaver templates (dwt's) and then run the createTemplates.php script to generate objects for each of your template files.</p>";
+$page->content .= "<p>Here is the ini file used to create the Template_style1:<pre><code>".file_get_contents($configfile)."</code></pre></p>";
+$page->content .= "<p>And the command used to create the template classes:<pre><code>@PHP_BIN@ @PHP_DIR@/UNL/DWT/createTemplates.php @DOC_DIR@/UNL_DWT/docs/examples/example.ini</code></pre></p>";
+$page->footer  = "<a href='mailto:brett.bieber@gmail.com'>Brett Bieber</a>";
+echo $page->toHtml();
diff --git a/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/template_style1.dwt b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/template_style1.dwt
new file mode 100644
index 0000000000000000000000000000000000000000..f22ce6abf12031903536a83ed335547cd9044b28
--- /dev/null
+++ b/lib/docs/pear.unl.edu/UNL_DWT/examples/basic/template_style1.dwt
@@ -0,0 +1,80 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<!-- TemplateBeginEditable name="doctitle" -->
+<title>Sample Template Style 1</title>
+<!-- TemplateEndEditable -->
+<style type="text/css">
+#container
+{
+width: 90%;
+margin: 10px auto;
+background-color: #fff;
+color: #333;
+border: 1px solid gray;
+line-height: 130%;
+}
+
+#top
+{
+padding: .5em;
+background-color: #ddd;
+border-bottom: 1px solid gray;
+}
+
+#top h1
+{
+padding: 0;
+margin: 0;
+}
+
+#leftnav
+{
+float: left;
+width: 160px;
+margin: 0;
+padding: 1em;
+}
+
+#content
+{
+margin-left: 200px;
+border-left: 1px solid gray;
+padding: 1em;
+max-width: 36em;
+}
+
+#footer
+{
+clear: both;
+margin: 0;
+padding: .5em;
+color: #333;
+background-color: #ddd;
+border-top: 1px solid gray;
+}
+
+#leftnav p { margin: 0 0 1em 0; }
+#content h2 { margin: 0 0 .5em 0; }
+</style>
+<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
+</head>
+
+<body>
+<div id="container">
+<div id="top">
+<h1><!-- TemplateBeginEditable name="header" -->Header<!-- TemplateEndEditable --></h1>
+</div>
+<div id="leftnav"><!-- TemplateBeginEditable name="leftnav" -->
+    <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut. </p>
+<!-- TemplateEndEditable --></div>
+<div id="content"><!-- TemplateBeginEditable name="content" -->
+    <h2>Subheading</h2>
+    <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. </p>
+    <p> Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </p>
+<!-- TemplateEndEditable --></div>
+<div id="footer"><!-- TemplateBeginEditable name="footer" -->Footer<!-- TemplateEndEditable --></div>
+</div>
+</body>
+</html>
diff --git a/lib/docs/pear.unl.edu/UNL_DWT/examples/scanner_example.php b/lib/docs/pear.unl.edu/UNL_DWT/examples/scanner_example.php
index 52d9629a66e5a7c0988f73631b5920833e8e833f..00184321118c0efda8e8b714c02ca742b04efb3c 100644
--- a/lib/docs/pear.unl.edu/UNL_DWT/examples/scanner_example.php
+++ b/lib/docs/pear.unl.edu/UNL_DWT/examples/scanner_example.php
@@ -1,14 +1,19 @@
 <?php
 
 set_include_path(dirname(__DIR__).'/../src');
+error_reporting(E_ALL);
+ini_set('display_errors', true);
 
 require_once 'UNL/DWT/Scanner.php';
 
-$file = file_get_contents(dirname(__FILE__).'/'.'template_style1.dwt');
+$file = file_get_contents(dirname(__FILE__).'/basic/'.'template_style1.dwt');
 
 $scanned = new UNL_DWT_Scanner($file);
 
-echo $scanned->leftnav;
-echo $scanned->content;
+// Modify the scanned content
+$scanned->content .= '<h3>Scanned content from the left nav:</h3>';
 
-?>
\ No newline at end of file
+// Also, access the content that was scanned in
+$scanned->content .= '<pre>'.$scanned->leftnav.'</pre>';
+
+echo $scanned;
diff --git a/lib/docs/pear.unl.edu/UNL_Templates/examples/example1.php b/lib/docs/pear.unl.edu/UNL_Templates/examples/example1.php
index 94fa01578df1883635adf95f86e4b193973e7387..be1a633f401c33e971949a60114d1e7a8ef81fbe 100644
--- a/lib/docs/pear.unl.edu/UNL_Templates/examples/example1.php
+++ b/lib/docs/pear.unl.edu/UNL_Templates/examples/example1.php
@@ -7,11 +7,12 @@
  */
 ini_set('display_errors', true);
 error_reporting(E_ALL);
-set_include_path(dirname(dirname(__DIR__)).'/src'.PATH_SEPARATOR.dirname(dirname(__DIR__)).'/vendor/php');
+set_include_path(dirname(dirname(__DIR__)).'/src'.PATH_SEPARATOR.dirname(dirname(__DIR__)).'/../UNL_DWT/src');
 require_once 'UNL/Templates.php';
 
 // Optionally set the version you'd like to use
-UNL_Templates::$options['version'] = 3.1;
+UNL_Templates::$options['version'] = 4;
+UNL_Templates::$options['templatedependentspath'] = 'https://raw.github.com/unl/wdntemplates/4.0';
 
 $page = UNL_Templates::factory('Fixed', array('sharedcodepath' => 'sharedcode'));
 $page->addScript('test.js');
@@ -25,4 +26,4 @@ $page->navlinks         = '<ul><li><a href="#">Hello world!</a></li></ul>';
 $page->leftRandomPromo  = '';
 $page->maincontentarea  .= highlight_file(__FILE__, true);
 $page->loadSharedcodeFiles();
-echo $page;
+echo $page->toHTML();
diff --git a/lib/downloads/UNL_DWT-0.9.0.phar b/lib/downloads/UNL_DWT-0.9.0.phar
new file mode 100644
index 0000000000000000000000000000000000000000..83cc3ffc2464f8d67ba54421cc71fe157320c8b7
--- /dev/null
+++ b/lib/downloads/UNL_DWT-0.9.0.phar
@@ -0,0 +1,239 @@
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
+<!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
+<head>
+<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
+<meta name="author" content="University of Nebraska-Lincoln | Web Developer Network" />
+<meta name="viewport" content="initial-scale=1.0, width=device-width" />
+
+<!-- For Microsoft -->
+<!--[if IE]>
+<meta http-equiv="cleartype" content="on">
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+<![endif]-->
+
+<!-- For iPhone 4 -->
+<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/wdn/templates_3.1/images/h-apple-touch-icon-precomposed.png">
+<!-- For iPad 1-->
+<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/wdn/templates_3.1/images/m-apple-touch-icon-precomposed.png">
+<!-- For iPhone 3G, iPod Touch and Android -->
+<link rel="apple-touch-icon-precomposed" href="/wdn/templates_3.1/images/l-apple-touch-icon-precomposed.png">
+<!-- For everything else -->
+<link rel="shortcut icon" href="/wdn/templates_3.1/images/favicon.ico" />
+<!--
+    Membership and regular participation in the UNL Web Developer Network
+    is required to use the UNL templates. Visit the WDN site at 
+    http://wdn.unl.edu/. Click the WDN Registry link to log in and
+    register your unl.edu site.
+    All UNL template code is the property of the UNL Web Developer Network.
+    The code seen in a source code view is not, and may not be used as, a 
+    template. You may not use this code, a reverse-engineered version of 
+    this code, or its associated visual presentation in whole or in part to
+    create a derivative work.
+    This message may not be removed from any pages based on the UNL site template.
+    
+    $Id: fixed.dwt | ea2608181e2b6604db76106fd982b39218ddcb8b | Fri Mar 9 12:20:43 2012 -0600 | Kevin Abel  $
+-->
+<!-- Load our base CSS file -->
+    <link rel="stylesheet" type="text/css" media="all" href="http://www.unl.edu/wdn/templates_3.1/css/compressed/base.css">
+<!-- Then load the various media queries (use 'only' to force non CSS3 compliant browser to ignore) -->
+<!-- Since this file is media query imports, IE 7 & 8 will not parse it -->
+<!--[if gt IE 8]><!-->
+    <link rel="stylesheet" type="text/css" media="all and (min-width: 320px)" href="http://www.unl.edu/wdn/templates_3.1/css/variations/media_queries.css">
+<!--<![endif]-->
+    
+<!-- Load the template JS file -->
+    <script type="text/javascript" src="http://www.unl.edu/wdn/templates_3.1/scripts/compressed/all.js?dep=3.1.19" id="wdn_dependents"></script>
+
+<!-- For old IE, bring in all the styles w/o media queries -->
+<!--[if lt IE 9]>
+    <link rel="stylesheet" type="text/css" media="all" href="http://www.unl.edu/wdn/templates_3.1/css/compressed/combined_widths.css" />
+    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+<![endif]-->
+
+<!-- For all IE versions, bring in the tweaks -->
+<!--[if IE]>
+    <link rel="stylesheet" type="text/css" media="all" href="http://www.unl.edu/wdn/templates_3.1/css/variations/ie.css" />
+<![endif]-->
+
+<!-- Load the print styles -->
+    <link rel="stylesheet" type="text/css" media="print" href="http://www.unl.edu/wdn/templates_3.1/css/variations/print.css" />
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>{page_title}</title>
+<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" -->
+<link rel="alternate" href="/?view=latest&amp;format=rss" title="Latest Releases" type="application/atom+xml" />
+<!-- Place optional header elements here -->
+<link rel="stylesheet" href="/css/all.css" />
+<!-- InstanceEndEditable -->
+<!-- InstanceParam name="class" type="text" value="fixed" -->
+</head>
+<body class="fixed" data-version="3.1">
+    <nav class="skipnav">
+        <a class="skipnav" href="#maincontent">Skip Navigation</a>
+    </nav>
+    <div id="wdn_wrapper">
+        <header id="header" role="banner">
+            <a id="logo" href="http://www.unl.edu/" title="UNL website">UNL</a>
+            <span id="wdn_institution_title">University of Nebraska&ndash;Lincoln</span>
+            <span id="wdn_site_title"><!-- InstanceBeginEditable name="titlegraphic" -->
+            UNL PHP Extension and Application Repository            <!-- InstanceEndEditable --></span>
+            <div id="wdn_identity_management" role="navigation" aria-labelledby="wdn_idm_username">
+    <a class="wdn_idm_user_profile" id="wdn_idm_login" href="https://login.unl.edu/cas/login" title="Log in to UNL">
+        <img id="wdn_idm_userpic" src="/wdn/templates_3.1/images/wdn_idm_defaulttopbar.gif" alt="User Profile Photo">
+        <span id="wdn_idm_username">UNL Login</span>
+    </a>
+    <h3 class="wdn_list_descriptor hidden">Account Links</h3>
+    <ul id="wdn_idm_user_options">
+        <li id="wdn_idm_logout">
+            <a title="Logout" href="https://login.unl.edu/cas/logout?url=http%3A//www.unl.edu/">Logout</a>
+        </li>
+    </ul>
+</div>            <div id="wdn_search">
+    <form id="wdn_search_form" action="http://www.google.com/u/UNL1?sa=Google+Search&amp;q=" method="get" role="search">
+        <fieldset>
+            <legend class="hidden">Search</legend>
+            <label for="q">Search this site, all UNL or for a person</label>
+            <input accesskey="f" id="q" name="q" type="search" placeholder="Search this site, all UNL or for a person" />
+            <input class="search" type="submit" value="Go" name="submit" />
+        </fieldset>
+    </form>
+</div>
+<h3 class="wdn_list_descriptor hidden">UNL Tools</h3>
+<menu id="wdn_tool_links">
+    <li><a href="http://www1.unl.edu/feeds/" class="feeds tooltip" data-title="RSS Feeds: View and Subscribe to News Feeds">Feeds</a></li>
+    <li><a href="http://forecast.weather.gov/MapClick.php?CityName=Lincoln&amp;state=NE&amp;site=OAX" class="weather tooltip" data-title="Weather: Local Forecast and Radar">Weather</a></li>
+    <li><a href="http://events.unl.edu/" class="events tooltip" data-title="UNL Events: Calendar of Upcoming Events">Events</a></li>
+    <li><a href="http://directory.unl.edu/" class="directory tooltip" data-title="UNL Directory: Search for Faculty, Staff, Students and Departments">Directory</a></li>
+</menu>
+<span class="corner-fix-top-right"></span>
+<span class="corner-fix-bottom-left"></span>
+        </header>
+        <div id="wdn_navigation_bar" role="navigation">
+            <nav id="breadcrumbs">
+            <!-- InstanceBeginEditable name="breadcrumbs" -->
+            <ul>
+                <li><a href="http://www.unl.edu/" title="University of Nebraska&ndash;Lincoln">UNL</a></li>
+                <li>pear.unl.edu</li>
+            </ul>
+            <!-- TemplateEndEditable -->
+            </nav>
+            <div id="wdn_navigation_wrapper">
+                <nav id="navigation" role="navigation">
+                    <h3 class="wdn_list_descriptor hidden">Navigation</h3>
+                    <!-- InstanceBeginEditable name="navlinks" -->
+                <ul class="navigation">
+                    <li><a href="/">Home</a></li>
+                    <li><a href="/?view=packages">Packages</a></li>
+                    <li><a href="/?view=categories">Categories</a></li>
+                    <li><a href="/docs/">Documentation</a></li>
+                    <li><a href="/?view=support">Support</a></li>
+                </ul>
+                <!-- InstanceEndEditable -->
+                </nav>
+            </div>
+        </div>
+        <div id="wdn_content_wrapper" role="main">
+            <div id="pagetitle">
+                <!-- InstanceBeginEditable name="pagetitle" -->
+                <!-- InstanceEndEditable -->
+            </div>
+            <div id="maincontent">
+                <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
+                <!-- InstanceBeginEditable name="maincontentarea" -->
+                <h1>WHOAH Nelly.</h1>
+<p>That view doesn't exist!</p>
+                <!-- InstanceEndEditable -->
+                <div class="clear"></div>
+                <noscript>
+    <p>
+    Your browser does not appear to support JavaScript, or you have turned JavaScript off. You may use unl.edu without enabling JavaScript, but certain functions may not be available.
+    </p>
+</noscript>                <!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
+            </div>
+        </div>
+        <footer id="footer">
+            <div id="footer_floater"></div>
+            <div class="footer_col" id="wdn_footer_feedback">
+                <h3><a href="http://www1.unl.edu/comments/">Your Feedback</a></h3>
+<form action="http://www1.unl.edu/comments/" method="post" id="wdn_feedback" title="WDN Feedback Form:4" class="rating">
+    <fieldset class="rating">
+        <legend>Please rate this page:</legend>
+        <input type="radio" id="star5" name="rating" value="5" />
+        <label for="star5" title="Rocks!">5 stars</label>
+        <input type="radio" id="star4" name="rating" value="4" />
+        <label for="star4" title="Pretty good">4 stars</label>
+        <input type="radio" id="star3" name="rating" value="3" />
+        <label for="star3" title="Meh">3 stars</label>
+        <input type="radio" id="star2" name="rating" value="2" />
+        <label for="star2" title="Kinda bad">2 stars</label>
+        <input type="radio" id="star1" name="rating" value="1" />
+        <label for="star1" title="Not so hot">1 star</label>
+        <input type="submit" value="Submit" name="submit" />
+    </fieldset>
+</form>
+<form action="http://www1.unl.edu/comments/" method="post" id="wdn_feedback_comments" title="WDN Feedback Form" class="comments">
+    <fieldset><legend>Comments for this page</legend>
+    <ol>
+        <li class="wdn_comment_name">
+            <label for="wdn_comment_name">Name (optional)</label>
+            <input type="text" name="name" id="wdn_comment_name" placeholder="Your Name" />
+        </li>
+        <li class="wdn_comment_email">
+            <label for="wdn_comment_email">Email (optional)</label>
+            <input type="text" name="email" id="wdn_comment_email" placeholder="Your Email" />
+        </li>
+        <li><label for="wdn_comments">Comments</label>
+          <textarea rows="2" cols="20" name="comment" id="wdn_comments" placeholder="Your Comment"></textarea>
+        </li>
+    </ol>
+    <input type="submit" value="Submit" name="submit" class="wdn_comment_submit" /></fieldset>
+</form>
+            </div>
+            <div class="footer_col" id="wdn_footer_related">
+                <!-- InstanceBeginEditable name="leftcollinks" -->
+                <h3>Related Links</h3>
+                <ul>
+                    <li><a href="http://wdn.unl.edu/">UNL Web Developer Network</a></li>
+                    <li><a href="http://pear.php.net/">PEAR</a></li>
+                </ul>
+                <!-- InstanceEndEditable --></div>
+            <div class="footer_col" id="wdn_footer_contact">
+                <!-- InstanceBeginEditable name="contactinfo" -->
+                <h3>Contacting Us</h3>
+                <p>
+                This PEAR channel is maintained by:<br />
+                <strong>Brett Bieber<br />
+                University Communications</strong><br />
+                Internet and Interactive Media<br />
+                bbieber2@unl.edu
+                </p>
+                <!-- InstanceEndEditable --></div>
+            <div class="footer_col" id="wdn_footer_share">
+                <h3>Share This Page</h3>
+<ul class="socialmedia">
+    <li><a href="http://go.unl.edu/?url=referer" id="wdn_createGoURL" rel="nofollow">Get a G<span>o</span>URL</a></li>
+    <li class="outpost" id="wdn_emailthis"><a href="mailto:" title="Share this page through email" rel="nofollow">Share this page through email</a></li>
+    <li class="outpost" id="wdn_facebook"><a href="https://www.facebook.com/" title="Share this page on Facebook" rel="nofollow">Share this page on Facebook</a></li>   
+    <li class="outpost" id="wdn_twitter"><a href="https://twitter.com/" title="Share this page on Twitter" rel="nofollow">Share this page on Twitter</a></li>
+</ul>            </div>
+            <!-- InstanceBeginEditable name="optionalfooter" -->
+            <!-- InstanceEndEditable -->
+            <div id="wdn_copyright">
+                <div>
+                    <!-- InstanceBeginEditable name="footercontent" -->
+                &copy; 2014 University of Nebraska-Lincoln | Lincoln, NE 68588 | 402-472-7211 | <a href="http://www1.unl.edu/comments/" title="Click here to direct your comments and questions">comments?</a>
+                <!-- InstanceEndEditable -->
+                <span id="wdn_attribution"><br/>UNL web templates and quality assurance provided by the <a href="http://wdn.unl.edu/" title="UNL Web Developer Network">Web Developer Network</a> | <a href="http://www1.unl.edu/wdn/qa/" id="wdn_qa_link">QA Test</a></span>                </div>
+                <div id="wdn_logos">
+    <a href="http://www.unl.edu/" title="UNL Home" id="unl_wordmark">UNL Home</a>
+    <a href="http://www.cic.net/home" title="CIC Website" id="cic_wordmark">CIC Website</a>
+    <a href="http://www.bigten.org/" title="Big Ten Website" id="b1g_wordmark">Big Ten Website</a>
+</div>            </div>
+        </footer>
+    </div>
+</body>
+<!-- InstanceEnd --></html>
diff --git a/lib/downloads/UNL_DWT-0.9.0.tgz b/lib/downloads/UNL_DWT-0.9.0.tgz
new file mode 100644
index 0000000000000000000000000000000000000000..b772b63bbc347a17300565ce89c3152dccae60e4
Binary files /dev/null and b/lib/downloads/UNL_DWT-0.9.0.tgz differ
diff --git a/lib/downloads/UNL_Templates-1.4.0RC3.phar b/lib/downloads/UNL_Templates-1.4.0RC3.phar
new file mode 100644
index 0000000000000000000000000000000000000000..83cc3ffc2464f8d67ba54421cc71fe157320c8b7
--- /dev/null
+++ b/lib/downloads/UNL_Templates-1.4.0RC3.phar
@@ -0,0 +1,239 @@
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="ie iem7"><![endif]-->
+<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7) ]><html class="ie" lang="en"><![endif]-->
+<!--[if !(IEMobile) | !(IE)]><!--><html lang="en"><!-- InstanceBegin template="/Templates/fixed.dwt" codeOutsideHTMLIsLocked="false" --><!--<![endif]-->
+<head>
+<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
+<meta name="author" content="University of Nebraska-Lincoln | Web Developer Network" />
+<meta name="viewport" content="initial-scale=1.0, width=device-width" />
+
+<!-- For Microsoft -->
+<!--[if IE]>
+<meta http-equiv="cleartype" content="on">
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+<![endif]-->
+
+<!-- For iPhone 4 -->
+<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/wdn/templates_3.1/images/h-apple-touch-icon-precomposed.png">
+<!-- For iPad 1-->
+<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/wdn/templates_3.1/images/m-apple-touch-icon-precomposed.png">
+<!-- For iPhone 3G, iPod Touch and Android -->
+<link rel="apple-touch-icon-precomposed" href="/wdn/templates_3.1/images/l-apple-touch-icon-precomposed.png">
+<!-- For everything else -->
+<link rel="shortcut icon" href="/wdn/templates_3.1/images/favicon.ico" />
+<!--
+    Membership and regular participation in the UNL Web Developer Network
+    is required to use the UNL templates. Visit the WDN site at 
+    http://wdn.unl.edu/. Click the WDN Registry link to log in and
+    register your unl.edu site.
+    All UNL template code is the property of the UNL Web Developer Network.
+    The code seen in a source code view is not, and may not be used as, a 
+    template. You may not use this code, a reverse-engineered version of 
+    this code, or its associated visual presentation in whole or in part to
+    create a derivative work.
+    This message may not be removed from any pages based on the UNL site template.
+    
+    $Id: fixed.dwt | ea2608181e2b6604db76106fd982b39218ddcb8b | Fri Mar 9 12:20:43 2012 -0600 | Kevin Abel  $
+-->
+<!-- Load our base CSS file -->
+    <link rel="stylesheet" type="text/css" media="all" href="http://www.unl.edu/wdn/templates_3.1/css/compressed/base.css">
+<!-- Then load the various media queries (use 'only' to force non CSS3 compliant browser to ignore) -->
+<!-- Since this file is media query imports, IE 7 & 8 will not parse it -->
+<!--[if gt IE 8]><!-->
+    <link rel="stylesheet" type="text/css" media="all and (min-width: 320px)" href="http://www.unl.edu/wdn/templates_3.1/css/variations/media_queries.css">
+<!--<![endif]-->
+    
+<!-- Load the template JS file -->
+    <script type="text/javascript" src="http://www.unl.edu/wdn/templates_3.1/scripts/compressed/all.js?dep=3.1.19" id="wdn_dependents"></script>
+
+<!-- For old IE, bring in all the styles w/o media queries -->
+<!--[if lt IE 9]>
+    <link rel="stylesheet" type="text/css" media="all" href="http://www.unl.edu/wdn/templates_3.1/css/compressed/combined_widths.css" />
+    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+<![endif]-->
+
+<!-- For all IE versions, bring in the tweaks -->
+<!--[if IE]>
+    <link rel="stylesheet" type="text/css" media="all" href="http://www.unl.edu/wdn/templates_3.1/css/variations/ie.css" />
+<![endif]-->
+
+<!-- Load the print styles -->
+    <link rel="stylesheet" type="text/css" media="print" href="http://www.unl.edu/wdn/templates_3.1/css/variations/print.css" />
+<!-- InstanceBeginEditable name="doctitle" -->
+<title>{page_title}</title>
+<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" -->
+<link rel="alternate" href="/?view=latest&amp;format=rss" title="Latest Releases" type="application/atom+xml" />
+<!-- Place optional header elements here -->
+<link rel="stylesheet" href="/css/all.css" />
+<!-- InstanceEndEditable -->
+<!-- InstanceParam name="class" type="text" value="fixed" -->
+</head>
+<body class="fixed" data-version="3.1">
+    <nav class="skipnav">
+        <a class="skipnav" href="#maincontent">Skip Navigation</a>
+    </nav>
+    <div id="wdn_wrapper">
+        <header id="header" role="banner">
+            <a id="logo" href="http://www.unl.edu/" title="UNL website">UNL</a>
+            <span id="wdn_institution_title">University of Nebraska&ndash;Lincoln</span>
+            <span id="wdn_site_title"><!-- InstanceBeginEditable name="titlegraphic" -->
+            UNL PHP Extension and Application Repository            <!-- InstanceEndEditable --></span>
+            <div id="wdn_identity_management" role="navigation" aria-labelledby="wdn_idm_username">
+    <a class="wdn_idm_user_profile" id="wdn_idm_login" href="https://login.unl.edu/cas/login" title="Log in to UNL">
+        <img id="wdn_idm_userpic" src="/wdn/templates_3.1/images/wdn_idm_defaulttopbar.gif" alt="User Profile Photo">
+        <span id="wdn_idm_username">UNL Login</span>
+    </a>
+    <h3 class="wdn_list_descriptor hidden">Account Links</h3>
+    <ul id="wdn_idm_user_options">
+        <li id="wdn_idm_logout">
+            <a title="Logout" href="https://login.unl.edu/cas/logout?url=http%3A//www.unl.edu/">Logout</a>
+        </li>
+    </ul>
+</div>            <div id="wdn_search">
+    <form id="wdn_search_form" action="http://www.google.com/u/UNL1?sa=Google+Search&amp;q=" method="get" role="search">
+        <fieldset>
+            <legend class="hidden">Search</legend>
+            <label for="q">Search this site, all UNL or for a person</label>
+            <input accesskey="f" id="q" name="q" type="search" placeholder="Search this site, all UNL or for a person" />
+            <input class="search" type="submit" value="Go" name="submit" />
+        </fieldset>
+    </form>
+</div>
+<h3 class="wdn_list_descriptor hidden">UNL Tools</h3>
+<menu id="wdn_tool_links">
+    <li><a href="http://www1.unl.edu/feeds/" class="feeds tooltip" data-title="RSS Feeds: View and Subscribe to News Feeds">Feeds</a></li>
+    <li><a href="http://forecast.weather.gov/MapClick.php?CityName=Lincoln&amp;state=NE&amp;site=OAX" class="weather tooltip" data-title="Weather: Local Forecast and Radar">Weather</a></li>
+    <li><a href="http://events.unl.edu/" class="events tooltip" data-title="UNL Events: Calendar of Upcoming Events">Events</a></li>
+    <li><a href="http://directory.unl.edu/" class="directory tooltip" data-title="UNL Directory: Search for Faculty, Staff, Students and Departments">Directory</a></li>
+</menu>
+<span class="corner-fix-top-right"></span>
+<span class="corner-fix-bottom-left"></span>
+        </header>
+        <div id="wdn_navigation_bar" role="navigation">
+            <nav id="breadcrumbs">
+            <!-- InstanceBeginEditable name="breadcrumbs" -->
+            <ul>
+                <li><a href="http://www.unl.edu/" title="University of Nebraska&ndash;Lincoln">UNL</a></li>
+                <li>pear.unl.edu</li>
+            </ul>
+            <!-- TemplateEndEditable -->
+            </nav>
+            <div id="wdn_navigation_wrapper">
+                <nav id="navigation" role="navigation">
+                    <h3 class="wdn_list_descriptor hidden">Navigation</h3>
+                    <!-- InstanceBeginEditable name="navlinks" -->
+                <ul class="navigation">
+                    <li><a href="/">Home</a></li>
+                    <li><a href="/?view=packages">Packages</a></li>
+                    <li><a href="/?view=categories">Categories</a></li>
+                    <li><a href="/docs/">Documentation</a></li>
+                    <li><a href="/?view=support">Support</a></li>
+                </ul>
+                <!-- InstanceEndEditable -->
+                </nav>
+            </div>
+        </div>
+        <div id="wdn_content_wrapper" role="main">
+            <div id="pagetitle">
+                <!-- InstanceBeginEditable name="pagetitle" -->
+                <!-- InstanceEndEditable -->
+            </div>
+            <div id="maincontent">
+                <!--THIS IS THE MAIN CONTENT AREA; WDN: see glossary item 'main content area' -->
+                <!-- InstanceBeginEditable name="maincontentarea" -->
+                <h1>WHOAH Nelly.</h1>
+<p>That view doesn't exist!</p>
+                <!-- InstanceEndEditable -->
+                <div class="clear"></div>
+                <noscript>
+    <p>
+    Your browser does not appear to support JavaScript, or you have turned JavaScript off. You may use unl.edu without enabling JavaScript, but certain functions may not be available.
+    </p>
+</noscript>                <!--THIS IS THE END OF THE MAIN CONTENT AREA.-->
+            </div>
+        </div>
+        <footer id="footer">
+            <div id="footer_floater"></div>
+            <div class="footer_col" id="wdn_footer_feedback">
+                <h3><a href="http://www1.unl.edu/comments/">Your Feedback</a></h3>
+<form action="http://www1.unl.edu/comments/" method="post" id="wdn_feedback" title="WDN Feedback Form:4" class="rating">
+    <fieldset class="rating">
+        <legend>Please rate this page:</legend>
+        <input type="radio" id="star5" name="rating" value="5" />
+        <label for="star5" title="Rocks!">5 stars</label>
+        <input type="radio" id="star4" name="rating" value="4" />
+        <label for="star4" title="Pretty good">4 stars</label>
+        <input type="radio" id="star3" name="rating" value="3" />
+        <label for="star3" title="Meh">3 stars</label>
+        <input type="radio" id="star2" name="rating" value="2" />
+        <label for="star2" title="Kinda bad">2 stars</label>
+        <input type="radio" id="star1" name="rating" value="1" />
+        <label for="star1" title="Not so hot">1 star</label>
+        <input type="submit" value="Submit" name="submit" />
+    </fieldset>
+</form>
+<form action="http://www1.unl.edu/comments/" method="post" id="wdn_feedback_comments" title="WDN Feedback Form" class="comments">
+    <fieldset><legend>Comments for this page</legend>
+    <ol>
+        <li class="wdn_comment_name">
+            <label for="wdn_comment_name">Name (optional)</label>
+            <input type="text" name="name" id="wdn_comment_name" placeholder="Your Name" />
+        </li>
+        <li class="wdn_comment_email">
+            <label for="wdn_comment_email">Email (optional)</label>
+            <input type="text" name="email" id="wdn_comment_email" placeholder="Your Email" />
+        </li>
+        <li><label for="wdn_comments">Comments</label>
+          <textarea rows="2" cols="20" name="comment" id="wdn_comments" placeholder="Your Comment"></textarea>
+        </li>
+    </ol>
+    <input type="submit" value="Submit" name="submit" class="wdn_comment_submit" /></fieldset>
+</form>
+            </div>
+            <div class="footer_col" id="wdn_footer_related">
+                <!-- InstanceBeginEditable name="leftcollinks" -->
+                <h3>Related Links</h3>
+                <ul>
+                    <li><a href="http://wdn.unl.edu/">UNL Web Developer Network</a></li>
+                    <li><a href="http://pear.php.net/">PEAR</a></li>
+                </ul>
+                <!-- InstanceEndEditable --></div>
+            <div class="footer_col" id="wdn_footer_contact">
+                <!-- InstanceBeginEditable name="contactinfo" -->
+                <h3>Contacting Us</h3>
+                <p>
+                This PEAR channel is maintained by:<br />
+                <strong>Brett Bieber<br />
+                University Communications</strong><br />
+                Internet and Interactive Media<br />
+                bbieber2@unl.edu
+                </p>
+                <!-- InstanceEndEditable --></div>
+            <div class="footer_col" id="wdn_footer_share">
+                <h3>Share This Page</h3>
+<ul class="socialmedia">
+    <li><a href="http://go.unl.edu/?url=referer" id="wdn_createGoURL" rel="nofollow">Get a G<span>o</span>URL</a></li>
+    <li class="outpost" id="wdn_emailthis"><a href="mailto:" title="Share this page through email" rel="nofollow">Share this page through email</a></li>
+    <li class="outpost" id="wdn_facebook"><a href="https://www.facebook.com/" title="Share this page on Facebook" rel="nofollow">Share this page on Facebook</a></li>   
+    <li class="outpost" id="wdn_twitter"><a href="https://twitter.com/" title="Share this page on Twitter" rel="nofollow">Share this page on Twitter</a></li>
+</ul>            </div>
+            <!-- InstanceBeginEditable name="optionalfooter" -->
+            <!-- InstanceEndEditable -->
+            <div id="wdn_copyright">
+                <div>
+                    <!-- InstanceBeginEditable name="footercontent" -->
+                &copy; 2014 University of Nebraska-Lincoln | Lincoln, NE 68588 | 402-472-7211 | <a href="http://www1.unl.edu/comments/" title="Click here to direct your comments and questions">comments?</a>
+                <!-- InstanceEndEditable -->
+                <span id="wdn_attribution"><br/>UNL web templates and quality assurance provided by the <a href="http://wdn.unl.edu/" title="UNL Web Developer Network">Web Developer Network</a> | <a href="http://www1.unl.edu/wdn/qa/" id="wdn_qa_link">QA Test</a></span>                </div>
+                <div id="wdn_logos">
+    <a href="http://www.unl.edu/" title="UNL Home" id="unl_wordmark">UNL Home</a>
+    <a href="http://www.cic.net/home" title="CIC Website" id="cic_wordmark">CIC Website</a>
+    <a href="http://www.bigten.org/" title="Big Ten Website" id="b1g_wordmark">Big Ten Website</a>
+</div>            </div>
+        </footer>
+    </div>
+</body>
+<!-- InstanceEnd --></html>
diff --git a/lib/downloads/UNL_Templates-1.4.0RC3.tgz b/lib/downloads/UNL_Templates-1.4.0RC3.tgz
new file mode 100644
index 0000000000000000000000000000000000000000..23a82f185e1687fd012b1285d63a4290f7f6e67d
Binary files /dev/null and b/lib/downloads/UNL_Templates-1.4.0RC3.tgz differ
diff --git a/lib/php/UNL/DWT.php b/lib/php/UNL/DWT.php
index 43aac0a311532abae9bb8f3e81cd18d4ea71e70a..696e79ad1244dde3c1bfcf2845b88575a22195c4 100644
--- a/lib/php/UNL/DWT.php
+++ b/lib/php/UNL/DWT.php
@@ -1,28 +1,28 @@
 <?php
 /**
- * This package is intended to create PHP Class files (Objects) from 
+ * This package is intended to create PHP Class files (Objects) from
  * Dreamweaver template (.dwt) files. It allows designers to create a
  * standalone Dreamweaver template for the website design, and developers
  * to use that design in php pages without interference.
  *
- * Similar to the way DB_DataObject works, the DWT package uses a 
- * Generator to scan a .dwt file for editable regions and creates an 
+ * Similar to the way DB_DataObject works, the DWT package uses a
+ * Generator to scan a .dwt file for editable regions and creates an
  * appropriately named class for that .dwt file with member variables for
  * each region.
  *
- * Once the objects have been generated, you can render a html page from 
+ * Once the objects have been generated, you can render a html page from
  * the template.
- * 
+ *
  * $page = new UNL_DWT::factory('Template_style1');
  * $page->pagetitle = "Contact Information";
  * $page->maincontent = "Contact us by telephone at 111-222-3333.";
  * echo $page->toHtml();
  *
- * Parts of this package are modeled on (borrowed from) the PEAR package 
+ * Parts of this package are modeled on (borrowed from) the PEAR package
  * DB_DataObject.
- * 
+ *
  * PHP version 5
- * 
+ *
  * @category  Templates
  * @package   UNL_DWT
  * @author    Brett Bieber <brett.bieber@gmail.com>
@@ -34,7 +34,7 @@
 
 /**
  * Base class which understands Dreamweaver Templates.
- * 
+ *
  * @category  Templates
  * @package   UNL_DWT
  * @author    Brett Bieber <brett.bieber@gmail.com>
@@ -45,9 +45,18 @@
  */
 class UNL_DWT
 {
-    
+    const TEMPLATE_TOKEN = 'Template';
+    const INSTANCE_TOKEN = 'Instance';
+
+    const REGION_BEGIN_TOKEN = '<!-- %sBeginEditable name="%s" -->';
+    const REGION_END_TOKEN   = '<!-- %sEndEditable -->';
+
+    const PARAM_DEF_TOKEN         = '<!-- %sParam name="%s" type="%s" value="%s" -->';
+    const PARAM_REPLACE_TOKEN     = '@@(%s)@@';
+    const PARAM_REPLACE_TOKEN_ALT = '@@(_document[\'%s\'])@@';
+
     public $__template;
-    
+
     /**
      * Run-time configuration options
      *
@@ -57,125 +66,178 @@ class UNL_DWT
     static public $options = array(
         'debug' => 0,
     );
-    
+
     /**
-     * Constructor
+     * Returns a string that contains the template file.
+     *
+     * @return string
      */
-    function __construct()
+    public function getTemplateFile()
     {
-        
+        if (!isset($this->__template) || empty(self::$options['tpl_location'])) {
+            return '';
+        }
+
+        return file_get_contents(self::$options['tpl_location'].$this->__template);
     }
-    
+
     /**
      * Returns the given DWT with all regions replaced with their assigned
      * content.
-     * 
+     *
      * @return string
      */
     public function toHtml()
     {
-        $options = &UNL_DWT::$options;
-        if (!isset($this->__template)) {
-            return '';
-        }
-        /*
-        More Options for this method:
-            Extend this to automatically generate the .tpl files and cache.
-            Check for a cached copy of the template file.
-            Connect to a template server and get the latest template copy.
-            
-            Ex: $p = file_get_contents("http://pear.unl.edu/UNL/Templates/server.php?template=".$this->__template);
-        */
-        $p = file_get_contents($options['tpl_location'].$this->__template);
-        
+        $p = $this->getTemplateFile();
         $regions = get_object_vars($this);
-        return $this->replaceRegions($p, $regions);
+
+        unset($regions['__template']);
+
+        $params = array();
+        if (isset($regions['__params'])) {
+            $params = $regions['__params'];
+            unset($regions['__params']);
+        }
+
+        $p = $this->replaceRegions($p, $regions);
+        $p = $this->replaceParams($p, $params);
+
+        return $p;
     }
-    
+
+    public function getRegionBeginMarker($type, $region)
+    {
+        return sprintf(self::REGION_BEGIN_TOKEN, $type, $region);
+    }
+
+    public function getRegionEndMarker($type)
+    {
+        return sprintf(self::REGION_END_TOKEN, $type);
+    }
+
+    public function getParamDefMarker($type, $name, $paramType, $value)
+    {
+        return sprintf(self::PARAM_DEF_TOKEN, $type, $name, $paramType, $value);
+    }
+
+    public function getParamReplacePattern($name)
+    {
+        return '/' . sprintf(self::PARAM_DEF_TOKEN, '(' . self::TEMPLATE_TOKEN . '|' . self::INSTANCE_TOKEN . ')',
+            $name, '([^"]*)', '[^"]*') . '/';
+    }
+
+    public function getParamNeedle($name)
+    {
+        return array(
+            sprintf(self::PARAM_REPLACE_TOKEN, $name),
+            sprintf(self::PARAM_REPLACE_TOKEN_ALT, $name)
+        );
+    }
+
     /**
-    * Replaces region tags within a template file wth their contents.
-    * 
-    * @param string $p       Page with DW Region tags.
-    * @param array  $regions Associative array with content to replace.
-    * 
-    * @return string page with replaced regions
-    */
+     * Replaces region tags within a template file wth their contents.
+     *
+     * @param string $p       Page with DW Region tags.
+     * @param array  $regions Associative array with content to replace.
+     *
+     * @return string page with replaced regions
+     */
     function replaceRegions($p, $regions)
     {
-        UNL_DWT::debug('Replacing regions.', 'replaceRegions', 5);
-        foreach ($regions as $region=>$value) {
+        self::debug('Replacing regions.', 'replaceRegions', 5);
+
+        foreach ($regions as $region => $value) {
             /* Replace the region with the replacement text */
-            if (strpos($p, "<!--"." TemplateBeginEditable name=\"{$region}\" -->")) {
-                $p = str_replace(UNL_DWT_between("<!--"." TemplateBeginEditable name=\"{$region}\" -->",
-                                    "<!--"." TemplateEndEditable -->", $p),
-                    $value, $p);
-                UNL_DWT::debug("$region is replaced with $value.",
-                               'replaceRegions', 5);
-            } elseif (strpos($p, "<!--"." InstanceBeginEditable name=\"{$region}\" -->")) {
-                $p = str_replace("<!--"." InstanceBeginEditable name=\"{$region}\" -->".
-                                    UNL_DWT_between("<!--"." InstanceBeginEditable name=\"{$region}\" -->", "<!--"." InstanceEndEditable -->", $p).
-                                    "<!--"." InstanceEndEditable -->", "<!--"." InstanceBeginEditable name=\"{$region}\" -->".$value."<!--"." InstanceEndEditable -->", $p);
-                UNL_DWT::debug("$region is replaced with $value.", 'replaceRegions', 5);
+            $startMarker = $this->getRegionBeginMarker(self::TEMPLATE_TOKEN, $region);
+            $endMarker = $this->getRegionEndMarker(self::TEMPLATE_TOKEN);
+            $p = str_replace(
+                self::strBetween($startMarker, $endMarker, $p, true),
+                $startMarker . $value . $endMarker,
+                $p,
+                $count
+            );
+
+            if (!$count) {
+                $startMarker = $this->getRegionBeginMarker(self::INSTANCE_TOKEN, $region);
+                $endMarker = $this->getRegionEndMarker(self::INSTANCE_TOKEN);
+                $p = str_replace(
+                    self::strBetween($startMarker, $endMarker, $p, true),
+                    $startMarker . $value . $endMarker,
+                    $p,
+                    $count
+                );
+            }
+
+            if (!$count) {
+                self::debug("Counld not find region $region!", 'replaceRegions', 3);
             } else {
-                UNL_DWT::debug("Could not find region $region!", 'replaceRegions', 3);
-            }    
+                self::debug("$region is replaced with $value.", 'replaceRegions', 5);
+            }
         }
         return $p;
     }
-    
-    
-    /**
-    * Create a new UNL_DWT object for the specified layout type
-    *
-    * @param string $type     the template type (eg "fixed")
-    * @param array  $coptions an associative array of option names and values
-    *
-    * @return object  a new UNL_DWT.  A UNL_DWT_Error object on failure.
-    *
-    * @see UNL_DWT::setOption()
-    */
-    static function &factory($type, $coptions = false)
+
+    function replaceParams($p, $params)
     {
-        $options =& UNL_DWT::$options;
-        
-        include_once $options['class_location']."{$type}.php";
-        
-        if (!is_array($coptions)) {
-            $coptions = array();
+        self::debug('Replacing params.', 'replaceRegions', 5);
+
+        foreach ($params as $name => $config) {
+            $value = isset($config['value']) ? $config['value'] : '';
+            $p = preg_replace($this->getParamReplacePattern($name), $this->getParamDefMarker('$1', $name, '$2', $value),
+                $p, 1, $count);
+
+            if ($count) {
+                $p = str_replace($this->getParamNeedle($name), $value, $p);
+            }
         }
-        
-        $classname = $options['class_prefix'].$type;
-        
+
+        return $p;
+    }
+
+    /**
+     * Create a new UNL_DWT object for the specified layout type
+     *
+     * @param string $type     the template type (eg "fixed")
+     * @param array  $coptions an associative array of option names and values
+     *
+     * @return object  a new UNL_DWT.  A UNL_DWT_Error object on failure.
+     *
+     * @see UNL_DWT::setOption()
+     */
+    static function &factory($type)
+    {
+        include_once self::$options['class_location']."{$type}.php";
+
+        $classname = self::$options['class_prefix'].$type;
+
         if (!class_exists($classname)) {
-            throw new UNL_DWT_Exception("Unable to include the {$options['class_location']}{$type}.php file.");
+            require_once 'UNL/DWT/Exception.php';
+            throw new UNL_DWT_Exception('Unable to include the ' . self::$options['class_location'] . $type . '.php file.');
         }
-        
+
         @$obj = new $classname;
-        
-        foreach ($coptions as $option => $value) {
-            $test = $obj->setOption($option, $value);
-        }
-        
+
         return $obj;
     }
-    
+
     /**
-    * Sets options.
-    * 
-    * @param string $option Option to set
-    * @param mixed  $value  Value to set for this option
-    *
-    * @return void
-    */
-    function setOption($option, $value)
+     * Sets options.
+     *
+     * @param string $option Option to set
+     * @param mixed  $value  Value to set for this option
+     *
+     * @return void
+     */
+    static function setOption($option, $value)
     {
         self::$options[$option] = $value;
     }
-    
+
     /* ----------------------- Debugger ------------------ */
 
     /**
-     * Debugger. - use this in your extended classes to output debugging 
+     * Debugger. - use this in your extended classes to output debugging
      * information.
      *
      * Uses UNL_DWT::debugLevel(x) to turn it on
@@ -183,26 +245,26 @@ class UNL_DWT
      * @param string $message message to output
      * @param string $logtype bold at start
      * @param string $level   output level
-     * 
+     *
      * @return   none
      */
     static function debug($message, $logtype = 0, $level = 1)
     {
-        if (empty(self::$options['debug'])  || 
+        if (empty(self::$options['debug'])  ||
             (is_numeric(self::$options['debug']) &&  self::$options['debug'] < $level)) {
             return;
         }
         // this is a bit flaky due to php's wonderfull class passing around crap..
         // but it's about as good as it gets..
         $class = (isset($this) && ($this instanceof UNL_DWT)) ? get_class($this) : 'UNL_DWT';
-        
+
         if (!is_string($message)) {
             $message = print_r($message, true);
         }
         if (!is_numeric(self::$options['debug']) && is_callable(self::$options['debug'])) {
             return call_user_func(self::$options['debug'], $class, $message, $logtype, $level);
         }
-        
+
         if (!ini_get('html_errors')) {
             echo "$class   : $logtype       : $message\n";
             flush();
@@ -221,10 +283,10 @@ class UNL_DWT
      * eg. UNL_DWT::debugLevel(4);
      *
      * @param int $v level
-     * 
+     *
      * @return void
      */
-    function debugLevel($v = null)
+    static function debugLevel($v = null)
     {
         if ($v !== null) {
             $r = isset(self::$options['debug']) ? self::$options['debug'] : 0;
@@ -234,41 +296,28 @@ class UNL_DWT
         return isset(self::$options['debug']) ? self::$options['debug'] : 0;
     }
 
-}
-
-/**
- * exception used by the UNL_DWT class
- * 
- * @category  Templates
- * @package   UNL_DWT
- * @author    Brett Bieber <brett.bieber@gmail.com>
- * @copyright 2008 Regents of the University of Nebraska
- * @license   http://www1.unl.edu/wdn/wiki/Software_License BSD License
- * @link      http://pear.unl.edu/package/UNL_DWT
- */
-class UNL_DWT_Exception extends Exception
-{
-    
-}
- 
-if (!function_exists('UNL_DWT_between')) {
     /**
      * Returns content between two strings
      *
      * @param string $start String which bounds the start
      * @param string $end   end collecting content when you see this
      * @param string $p     larger body of content to search
-     * 
+     *
      * @return string
      */
-    function UNL_DWT_between($start, $end, $p)
+    static function strBetween($start, $end, $p, $inclusive = false)
     {
-        if (!empty($start) && strpos($p, $start)!=false) {
-            $p = substr($p, strpos($p, $start)+strlen($start));
+        if (!empty($start) && strpos($p, $start) !== false) {
+            $p = substr($p, strpos($p, $start)+($inclusive ? 0 : strlen($start)));
+        } else {
+            return '';
         }
-        if (strpos($p, $end)!=false) {
-            $p = substr($p, 0, strpos($p, $end));
+
+        if (strpos($p, $end) !==false) {
+            $p = substr($p, 0, strpos($p, $end)+($inclusive ? strlen($end) : 0));
+        } else {
+            return '';
         }
         return $p;
     }
-}
\ No newline at end of file
+}
diff --git a/lib/php/UNL/DWT/Exception.php b/lib/php/UNL/DWT/Exception.php
new file mode 100644
index 0000000000000000000000000000000000000000..8d20483598c40134eee71383ab6eff6375e70e2b
--- /dev/null
+++ b/lib/php/UNL/DWT/Exception.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Exception used by the UNL_DWT class.
+ *
+ * @category  Templates
+ * @package   UNL_DWT
+ * @author    Brett Bieber <brett.bieber@gmail.com>
+ * @copyright 2008 Regents of the University of Nebraska
+ * @license   http://www1.unl.edu/wdn/wiki/Software_License BSD License
+ * @link      http://pear.unl.edu/package/UNL_DWT
+ */
+class UNL_DWT_Exception extends Exception
+{
+
+}
diff --git a/lib/php/UNL/DWT/Generator.php b/lib/php/UNL/DWT/Generator.php
index 172ac6a885d4d1edcd16764e6fed87c530d3bb4d..81f4f5bd8f732e84d5ff3c85d6bd26da12749f9a 100644
--- a/lib/php/UNL/DWT/Generator.php
+++ b/lib/php/UNL/DWT/Generator.php
@@ -4,7 +4,7 @@
  * Dreamweaver Template files.
  *
  * PHP version 5
- *  
+ *
  * @category  Templates
  * @package   UNL_DWT
  * @author    Brett Bieber <brett.bieber@gmail.com>
@@ -15,12 +15,13 @@
  */
 
 require_once 'UNL/DWT.php';
+require_once 'UNL/DWT/Exception.php';
 require_once 'UNL/DWT/Region.php';
 
 /**
  * The generator parses actual .dwt Dreamweaver Template files to create object relationship
  * files which have member variables for editable regions within the dreamweaver templates.
- * 
+ *
  * @category  Templates
  * @package   UNL_DWT
  * @author    Brett Bieber <brett.bieber@gmail.com>
@@ -36,18 +37,24 @@ class UNL_DWT_Generator extends UNL_DWT
      * Array of template names.
      */
     var $templates;
-    
+
     /**
      * Current template being output
      */
     var $template;
-    
+
     /**
      * Assoc array of template region names.
      * $_regions[$template] = array();
      */
     var $_regions;
-    
+
+    /**
+     * Assoc array of template params
+     * $_params[$template] = array();
+     */
+    var $_params;
+
     /**
      * class being extended (can be overridden by
      * [UNL_DWT_Generator] extends=xxxx
@@ -56,7 +63,7 @@ class UNL_DWT_Generator extends UNL_DWT
      * @access private
      */
     var $_extends = 'UNL_DWT';
-    
+
     /**
      * line to use for require_once 'UNL/DWT.php';
      *
@@ -64,7 +71,7 @@ class UNL_DWT_Generator extends UNL_DWT
      * @access private
      */
     var $_extendsFile = 'UNL/DWT.php';
-    
+
     /**
      * begins generation of template files
      *
@@ -77,10 +84,10 @@ class UNL_DWT_Generator extends UNL_DWT
         $this->generateTemplates();
         $this->generateClasses();
     }
-    
+
     /**
      * Generates .tpl files from .dwt
-     * 
+     *
      * @return void
      */
     function generateTemplates()
@@ -90,14 +97,14 @@ class UNL_DWT_Generator extends UNL_DWT
             include_once 'System.php';
             System::mkdir(array('-p', UNL_DWT::$options['dwt_location']));
         }
-        if (!file_exists($options['tpl_location'])) {
+        if (!file_exists(UNL_DWT::$options['tpl_location'])) {
             include_once 'System.php';
             System::mkdir(array('-p', UNL_DWT::$options['tpl_location']));
         }
         foreach ($this->templates as $this->template) {
             $dwt = file_get_contents($dwt_location.$this->template);
             $dwt = $this->scanRegions($dwt);
-            
+
             $sanitizedName = $this->sanitizeTemplateName($this->template);
             //Write out the .tpl file?
             if (strpos(UNL_DWT::$options['tpl_location'], '%s') !== false) {
@@ -105,23 +112,23 @@ class UNL_DWT_Generator extends UNL_DWT
             } else {
                 $outfilename = UNL_DWT::$options['tpl_location']."/{$sanitizedName}.tpl";
             }
-            $this->debug("Writing {$sanitizedName} to {$outfilename}", 
+            $this->debug("Writing {$sanitizedName} to {$outfilename}",
                          'generateTemplates');
             $fh = fopen($outfilename, "w");
             fputs($fh, $dwt);
             fclose($fh);
         }
     }
-    
+
     /**
      * Create a list of dwts
-     * 
+     *
      * @return void
      */
     function createTemplateList()
     {
         $this->templates = array();
-        
+
         $dwt_location = UNL_DWT::$options['dwt_location'];
         if (is_dir($dwt_location)) {
             $handle = opendir($dwt_location);
@@ -143,19 +150,19 @@ class UNL_DWT_Generator extends UNL_DWT
             throw new UNL_DWT_Exception("dwt_location is incorrect\n");
         }
     }
-    
+
     /**
      * Generate the classes for templates in $this->templates
      *
      * @return void
      */
     function generateClasses()
-    {        
+    {
         if ($extends = @UNL_DWT::$options['extends']) {
             $this->_extends     = $extends;
             $this->_extendsFile = UNL_DWT::$options['extends_location'];
         }
-        
+
         foreach ($this->templates as $this->template) {
             $this->classname = $this->generateClassName($this->template);
             if (strpos(UNL_DWT::$options['class_location'], '%s') !== false) {
@@ -170,19 +177,19 @@ class UNL_DWT_Generator extends UNL_DWT
                 $oldcontents = implode('', file($outfilename));
             }
             $out = $this->_generateClassTemplate($oldcontents);
-            $this->debug("Writing {$this->classname} to {$outfilename}", 
+            $this->debug("Writing {$this->classname} to {$outfilename}",
                         'generateClasses');
             $fh = fopen($outfilename, "w");
             fputs($fh, $out);
             fclose($fh);
         }
     }
-    
+
     /**
      * Generates the class name from a filename.
-     * 
+     *
      * @param string $filename The filename of the template.
-     * 
+     *
      * @return string Sanitized filename prefixed with the class_prefix
      *                defined in the ini.
      */
@@ -193,40 +200,41 @@ class UNL_DWT_Generator extends UNL_DWT
         }
         return $class_prefix.$this->sanitizeTemplateName($filename);;
     }
-    
+
     /**
      * Cleans the template filename.
      *
      * @param string $filename Filename of the template
-     * 
+     *
      * @return string Sanitized template name
      */
     function sanitizeTemplateName($filename)
     {
-        return preg_replace('/[^A-Z0-9]/i', '_', 
+        return preg_replace('/[^A-Z0-9]/i', '_',
                         ucfirst(str_replace('.dwt', '', $filename)));
     }
-    
+
     /**
      * Scans the .dwt for regions - all found are loaded into assoc array
      * $this->_regions[$template].
      *
      * @param string $dwt Dreamweaver template file to scan.
-     * 
+     *
      * @return string derived template file.
      */
     function scanRegions($dwt)
     {
 
         $this->_regions[$this->template] = array();
-        
+        $this->_params[$this->template] = array();
+
         $dwt = str_replace("\r", "\n", $dwt);
         $dwt = preg_replace("/(\<\!-- InstanceBeginEditable name=\"([A-Za-z0-9]*)\" -->)/i", "\n\\0\n", $dwt);
         $dwt = preg_replace("/(\<\!-- TemplateBeginEditable name=\"([A-Za-z0-9]*)\" -->)/i", "\n\\0\n", $dwt);
         $dwt = preg_replace("/\<\!-- InstanceEndEditable -->/", "\n\\0\n", $dwt);
         $dwt = preg_replace("/\<\!-- TemplateEndEditable -->/", "\n\\0\n", $dwt);
         $dwt = explode("\n", $dwt);
-        
+
         $newRegion = false;
         $region    = new UNL_DWT_Region();
         $this->debug("Checking {$this->template}", 'scanRegions', 0);
@@ -267,27 +275,42 @@ class UNL_DWT_Generator extends UNL_DWT
             }
         }
         $dwt = implode("\n", $dwt);
-        $dwt = preg_replace("/<!--"." InstanceParam name=\"([\w]*)\" type=\"([\w]*)\" value=\"([\w]*)\" -->/", '', $dwt);
+
+        preg_match_all("/<!-- (?:Instance|Template)Param name=\"([^\"]*)\" type=\"([^\"]*)\" value=\"([^\"]*)\" -->/", $dwt, $matches, PREG_SET_ORDER);
+        foreach ($matches as $match) {
+            if (!empty($match[1])) {
+                $this->_params[$this->template][$match[1]] = array(
+                    'name'  => $match[1],
+                    'type'  => $match[2],
+                    'value' => $match[3]
+                );
+            }
+        }
         $dwt = str_replace(array(    "<!--"." TemplateBeginEditable ",
                                     "<!--"." TemplateEndEditable -->",
+                                    "<!-- TemplateParam ",
                                     "\n\n"),
                             array(    "<!--"." InstanceBeginEditable ",
                                     "<!--"." InstanceEndEditable -->",
+                                    "<!-- InstanceParam ",
                                     "\n"), $dwt);
         if (preg_match("<!--"." InstanceBegin template=\"([\/\w\d\.]+)\" codeOutsideHTMLIsLocked=\"([\w]+)\" -->", $dwt)) {
             $dwt = preg_replace("/<!--"." InstanceBegin template=\"([\/\w\d\.]+)\" codeOutsideHTMLIsLocked=\"([\w]+)\" -->/", "<!--"." InstanceBegin template=\"/Templates/{$this->template}\" codeOutsideHTMLIsLocked=\"\\2\" -->", $dwt);
         } else {
-            $dwt = preg_replace("/<html[^>]*>/", "\\0<!--"." InstanceBegin template=\"/Templates/{$this->template}\" codeOutsideHTMLIsLocked=\"false\" -->", $dwt);
+            $pos = strpos($dwt, ">", strripos($dwt, "<html") + 5) + 1;
+            $dwt = substr($dwt, 0, $pos) .
+                "<!--"." InstanceBegin template=\"/Templates/{$this->template}\" codeOutsideHTMLIsLocked=\"false\" -->" .
+                substr($dwt, $pos);
         }
         $dwt = str_replace('@@(" ")@@', '', $dwt);
         return $dwt;
     }
-    
+
     /**
      * The template class geneation part - single file.
      *
      * @param string $input file to generate a class for.
-     * 
+     *
      * @return  updated .php file
      */
     private function _generateClassTemplate($input = '')
@@ -308,13 +331,13 @@ class UNL_DWT_Generator extends UNL_DWT
         if ($padding < 2) {
             $padding =2;
         }
-        $p = str_repeat(' ', $padding);        
-        
+        $p = str_repeat(' ', $padding);
+
         $var   = (substr(phpversion(), 0, 1) > 4) ? 'public' : 'var';
         $body .= "    {$var} \$__template = '".$this->sanitizeTemplateName($this->template).".tpl';  {$p}// template name\n";
-        
+
         $regions = $this->_regions[$this->template];
-        
+
         foreach ($regions as $t) {
             if (!strlen(trim($t->name))) {
                 continue;
@@ -322,25 +345,28 @@ class UNL_DWT_Generator extends UNL_DWT
             $padding = (30 - strlen($t->name));
             if ($padding < 2) $padding =2;
             $p = str_repeat(' ', $padding);
-            
+
             $body .="    {$var} \${$t->name} = \"".addslashes($t->value)."\"; {$p}// {$t->type}({$t->len})  {$t->flags}\n";
         }
-        
+
+        $body .= "\n";
+        $body .= "    {$var} \$__params = " . var_export($this->_params[$this->template], true) . ";\n";
+
         // simple creation tools ! (static stuff!)
         $body .= "\n";
         $body .= "    /* Static get */\n";
         $body .= "    function staticGet(\$k,\$v=NULL) { return UNL_DWT::staticGet('{$this->classname}',\$k,\$v); }\n";
-        
+
         // generate getter and setter methods
         $body .= $this->_generateGetters($input);
         $body .= $this->_generateSetters($input);
-        
+
         $body .= "\n    /* the code above is auto generated do not remove the tag below */";
         $body .= "\n    ###END_AUTOCODE\n";
-        
+
         $foot .= "}\n";
         $full  = $head . $body . $foot;
-        
+
         if (!$input) {
             return $full;
         }
@@ -350,7 +376,7 @@ class UNL_DWT_Generator extends UNL_DWT
         if (!preg_match('/(\n|\r\n)\s*###END_AUTOCODE(\n|\r\n)/s', $input)) {
             return $full;
         }
-        
+
         $class_rewrite = 'UNL_DWT';
         if (!($class_rewrite = @UNL_DWT::$options['generator_class_rewrite'])) {
             $class_rewrite = 'UNL_DWT';
@@ -361,17 +387,17 @@ class UNL_DWT_Generator extends UNL_DWT
         $input = preg_replace('/(\n|\r\n)class\s*[a-z0-9_]+\s*extends\s*' .$class_rewrite . '\s*\{(\n|\r\n)/si',
                 "\nclass {$this->classname} extends {$this->_extends} \n{\n",
                 $input);
-        
+
         return preg_replace('/(\n|\r\n)\s*###START_AUTOCODE(\n|\r\n).*(\n|\r\n)\s*###END_AUTOCODE(\n|\r\n)/s',
                             $body, $input);
-        
+
     }
-    
+
     /**
     * Generate getter methods for class definition
     *
     * @param string $input Existing class contents
-    * 
+    *
     * @return string
     */
     function _generateGetters($input)
@@ -416,7 +442,7 @@ class UNL_DWT_Generator extends UNL_DWT
             $getters .= "        return \$this->{$t->name};\n";
             $getters .= "    }\n\n";
         }
-   
+
         return $getters;
     }
 
@@ -424,12 +450,11 @@ class UNL_DWT_Generator extends UNL_DWT
      * Generate setter methods for class definition
      *
      * @param string $input Existing class contents
-     * 
+     *
      * @return string
      */
     function _generateSetters($input)
     {
-
         $setters = '';
 
         // only generate if option is set to true
@@ -469,8 +494,7 @@ class UNL_DWT_Generator extends UNL_DWT
             $setters .= "        \$this->{$t->name} = \$value;\n";
             $setters .= "    }\n\n";
         }
-        
-        return $setters;
-    } 
 
+        return $setters;
+    }
 }
diff --git a/lib/php/UNL/DWT/Region.php b/lib/php/UNL/DWT/Region.php
index b0963a1d9f4046c6ff6c322915ab6c1548b06bef..e8376a073089d7ea636edb123f7d42990d2b46a8 100644
--- a/lib/php/UNL/DWT/Region.php
+++ b/lib/php/UNL/DWT/Region.php
@@ -1,7 +1,7 @@
 <?php
 /**
  * Object representing a Dreamweaver template region
- * 
+ *
  * @category  Templates
  * @package   UNL_DWT
  * @author    Brett Bieber <brett.bieber@gmail.com>
@@ -19,4 +19,3 @@ class UNL_DWT_Region
     var $flags;
     var $value;
 }
-?>
\ No newline at end of file
diff --git a/lib/php/UNL/DWT/Scanner.php b/lib/php/UNL/DWT/Scanner.php
index 4ee274753d5e6d9a395087afb7fcaee612eda768..e4a2a29bfa2816146e046a5e1a6861d7e0e8a722 100644
--- a/lib/php/UNL/DWT/Scanner.php
+++ b/lib/php/UNL/DWT/Scanner.php
@@ -1,9 +1,9 @@
 <?php
 /**
- * Handles scanning a dwt file for regions.
- * 
+ * Handles scanning a dwt file for regions and rendering.
+ *
  * PHP version 5
- * 
+ *
  * @category  Templates
  * @package   UNL_DWT
  * @author    Brett Bieber <brett.bieber@gmail.com>
@@ -12,6 +12,7 @@
  * @license   http://www1.unl.edu/wdn/wiki/Software_License BSD License
  * @link      http://pear.unl.edu/package/UNL_DWT
  */
+require_once 'UNL/DWT.php';
 require_once 'UNL/DWT/Region.php';
 
 /**
@@ -23,10 +24,10 @@ require_once 'UNL/DWT/Region.php';
  * @license   http://www1.unl.edu/wdn/wiki/Software_License BSD License
  * @link      http://pear.unl.edu/package/UNL_DWT
  */
-class UNL_DWT_Scanner
+class UNL_DWT_Scanner extends UNL_DWT
 {
     protected $_regions;
-    
+
     /**
      * The contents of the .dwt file you wish to scan.
      *
@@ -34,20 +35,31 @@ class UNL_DWT_Scanner
      */
     function __construct($dwt)
     {
+        $this->__template = $dwt;
         $this->scanRegions($dwt);
     }
-    
+
+    /**
+     * Return the template markup
+     *
+     * @return string
+     */
+    function getTemplateFile()
+    {
+        return $this->__template;
+    }
+
     function scanRegions($dwt)
     {
         $this->_regions[] = array();
-        
+
         $dwt = str_replace("\r", "\n", $dwt);
         $dwt = preg_replace("/(\<\!-- InstanceBeginEditable name=\"([A-Za-z0-9]*)\" -->)/i", "\n\\0\n", $dwt);
         $dwt = preg_replace("/(\<\!-- TemplateBeginEditable name=\"([A-Za-z0-9]*)\" -->)/i", "\n\\0\n", $dwt);
         $dwt = preg_replace("/\<\!-- InstanceEndEditable -->/", "\n\\0\n", $dwt);
         $dwt = preg_replace("/\<\!-- TemplateEndEditable -->/", "\n\\0\n", $dwt);
         $dwt = explode("\n", $dwt);
-        
+
         $newRegion = false;
         $region    = new UNL_DWT_Region();
         foreach ($dwt as $key=>$fileregion) {
@@ -87,12 +99,12 @@ class UNL_DWT_Scanner
             }
         }
     }
-    
+
     /**
      * returns the region object
      *
      * @param string $region
-     * 
+     *
      * @return UNL_DWT_Region
      */
     public function getRegion($region)
@@ -102,7 +114,7 @@ class UNL_DWT_Scanner
         }
         return null;
     }
-    
+
     /**
      * returns array of all the regions found
      *
@@ -112,18 +124,18 @@ class UNL_DWT_Scanner
     {
         return $this->_regions;
     }
-    
+
     public function __isset($region)
     {
         return isset($this->_regions[$region]);
     }
-    
+
     public function __get($region)
     {
         if (isset($this->_regions[$region])) {
             return $this->_regions[$region]->value;
         }
-        
+
         $trace = debug_backtrace();
         trigger_error(
             'Undefined property: ' . $region .
@@ -132,7 +144,15 @@ class UNL_DWT_Scanner
             E_USER_NOTICE);
         return null;
     }
-    
-}
 
-?>
+    /**
+     * Allow directly rendering
+     *
+     * @return string
+     */
+    function __toString()
+    {
+        return $this->toHtml();
+    }
+
+}
diff --git a/lib/php/UNL/DWT/createTemplates.php b/lib/php/UNL/DWT/createTemplates.php
index df87cc257c420ce1f7aa665cec00d73422baa512..f501baf5ba587c80353a00f4260471475e1baf08 100644
--- a/lib/php/UNL/DWT/createTemplates.php
+++ b/lib/php/UNL/DWT/createTemplates.php
@@ -2,9 +2,9 @@
 <?php
 /**
  * Tool to generate objects for dreamweaver template files.
- * 
+ *
  * PHP version 5
- *  
+ *
  * @package   UNL_DWT
  * @author    Brett Bieber <brett.bieber@gmail.com>
  * @created   01/18/2006
@@ -13,10 +13,12 @@
  * @link      http://pear.unl.edu/package/UNL_DWT
  */
 
-// since this version doesnt use overload, 
+// since this version doesnt use overload,
 // and I assume anyone using custom generators should add this..
 define('UNL_DWT_NO_OVERLOAD',1);
 ini_set('display_errors',true);
+
+set_include_path(dirname(__DIR__).'/../../src');
 require_once 'UNL/DWT/Generator.php';
 
 if (!ini_get('register_argc_argv')) {
@@ -24,7 +26,7 @@ if (!ini_get('register_argc_argv')) {
 }
 
 if (!@$_SERVER['argv'][1]) {
-    throw new Exception("\nERROR: createTemplates.php usage:\n\nC:\php\pear\UNL\DWT\createTemplates.php example.ini\n\n");
+    throw new Exception("\nERROR: createTemplates.php usage: 'php phpdwtparser/src/UNL/DWT/createTemplates.php example.ini'\n\n");
 }
 
 $config = parse_ini_file($_SERVER['argv'][1], true);
@@ -41,4 +43,3 @@ set_time_limit(0);
 //UNL_DWT::debugLevel(1);
 $generator = new UNL_DWT_Generator;
 $generator->start();
- 
diff --git a/lib/php/UNL/Templates.php b/lib/php/UNL/Templates.php
index 2f0015cd027c6fc42310f59b44c4f28d1fa53e0a..63917217378a3d98938ab74867fdf9d60edb59dc 100644
--- a/lib/php/UNL/Templates.php
+++ b/lib/php/UNL/Templates.php
@@ -1,9 +1,9 @@
 <?php
 /**
  * Object oriented interface to create UNL Template based HTML pages.
- * 
+ *
  * PHP version 5
- *  
+ *
  * @category  Templates
  * @package   UNL_Templates
  * @author    Brett Bieber <brett.bieber@gmail.com>
@@ -19,13 +19,13 @@
 require_once 'UNL/DWT.php';
 
 /**
- * Allows you to create UNL Template based HTML pages through an object 
+ * Allows you to create UNL Template based HTML pages through an object
  * oriented interface.
- * 
+ *
  * Install on your PHP server with:
  * pear channel-discover pear.unl.edu
  * pear install unl/UNL_Templates
- * 
+ *
  * <code>
  * <?php
  * require_once 'UNL/Templates.php';
@@ -35,7 +35,7 @@ require_once 'UNL/DWT.php';
  * $page->loadSharedcodeFiles();
  * echo $page;
  * </code>
- * 
+ *
  * @category  Templates
  * @package   UNL_Templates
  * @author    Brett Bieber <brett.bieber@gmail.com>
@@ -49,14 +49,14 @@ class UNL_Templates extends UNL_DWT
     const VERSION2 = 2;
     const VERSION3 = 3;
     const VERSION3x1 = '3.1';
-    
+
     /**
      * Cache object for output caching
-     * 
+     *
      * @var UNL_Templates_CachingService
      */
     static protected $cache;
-    
+
     static public $options = array(
         'debug'                  => 0,
         'sharedcodepath'         => 'sharedcode',
@@ -65,14 +65,14 @@ class UNL_Templates extends UNL_DWT
         'version'                => self::VERSION3,
         'timeout'                => 5
     );
-    
+
     /**
      * The version of the templates we're using.
-     * 
+     *
      * @var UNL_Templates_Version
      */
     static public $template_version;
-    
+
     /**
      * Construct a UNL_Templates object
      */
@@ -83,21 +83,21 @@ class UNL_Templates extends UNL_DWT
             self::$options['templatedependentspath'] = $_SERVER['DOCUMENT_ROOT'];
         }
     }
-    
+
     /**
      * Initialize the configuration for the UNL_DWT class
-     * 
+     *
      * @return void
      */
     public static function loadDefaultConfig()
     {
-        self::$options['version'] = str_replace('.', 'x', self::$options['version']);
-        include_once 'UNL/Templates/Version'.self::$options['version'].'.php';
-        $class = 'UNL_Templates_Version'.self::$options['version'];
+        $version = str_replace('.', 'x', self::$options['version']);
+        include_once 'UNL/Templates/Version'.$version.'.php';
+        $class = 'UNL_Templates_Version'.$version;
         self::$template_version = new $class();
         UNL_DWT::$options = array_merge(UNL_DWT::$options, self::$template_version->getConfig());
     }
-    
+
     /**
      * The factory returns a template object for any UNL Template style requested:
      *  * Fixed
@@ -106,26 +106,30 @@ class UNL_Templates extends UNL_DWT
      *  * Document
      *  * Secure
      *  * Unlaffiliate
-     * 
+     *
      * <code>
      * $page = UNL_Templates::factory('Fixed');
      * </code>
      *
      * @param string $type     Type of template to get, Fixed, Liquid, Doc, Popup
-     * @param mixed  $coptions Options for the constructor
-     * 
+     *
      * @return UNL_Templates
      */
-    static function &factory($type, $coptions = false)
+    static function &factory($type)
     {
         UNL_Templates::loadDefaultConfig();
-        return parent::factory($type, $coptions);
+        return parent::factory($type);
     }
-    
+
+    public function getTemplateFile()
+    {
+        return $this->getCache();
+    }
+
     /**
      * Attempts to connect to the template server and grabs the latest cache of the
      * template (.tpl) file. Set options for Cache_Lite in self::$options['cache']
-     * 
+     *
      * @return string
      */
     function getCache()
@@ -152,14 +156,14 @@ class UNL_Templates extends UNL_DWT
         }
         return $data;
     }
-    
+
     /**
      * Loads standard customized content (sharedcode) files from the filesystem.
-     * 
+     *
      * @return void
      */
     function loadSharedcodeFiles()
-    {    
+    {
         $includes = array(
                             'footercontent'         => 'footer.html',
                             'contactinfo'           => 'footerContactInfo.html',
@@ -178,12 +182,12 @@ class UNL_Templates extends UNL_DWT
 
     /**
      * Add a link within the head of the page.
-     * 
+     *
      * @param string $href       URI to the resource
      * @param string $relation   Relation of this link element (alternate)
      * @param string $relType    The type of relation (rel)
      * @param array  $attributes Any additional attribute=>value combinations
-     * 
+     *
      * @return void
      */
     function addHeadLink($href, $relation, $relType = 'rel', array $attributes = array())
@@ -191,10 +195,10 @@ class UNL_Templates extends UNL_DWT
         $attributeString = '';
         foreach ($attributes as $name=>$value) {
             $attributeString .= $name.'="'.$value.'" ';
-        }    
-    
+        }
+
         $this->head .= '<link '.$relType.'="'.$relation.'" href="'.$href.'" '.$attributeString.' />'.PHP_EOL;
-    
+
     }
 
     /**
@@ -202,7 +206,7 @@ class UNL_Templates extends UNL_DWT
      *
      * @param string $url  URL to the script
      * @param string $type Type of script text/javascript
-     * 
+     *
      * @return void
      */
     function addScript($url, $type = 'text/javascript')
@@ -215,7 +219,7 @@ class UNL_Templates extends UNL_DWT
      *
      * @param string $content The javascript you wish to add.
      * @param string $type    Type of script tag.
-     * 
+     *
      * @return void
      */
     function addScriptDeclaration($content, $type = 'text/javascript')
@@ -231,20 +235,20 @@ class UNL_Templates extends UNL_DWT
      *
      * @param string $content CSS content to add
      * @param string $type    type attribute for the style element
-     * 
+     *
      * @return void
      */
     function addStyleDeclaration($content, $type = 'text/css')
     {
         $this->head .= '<style type="'.$type.'">'.$content.'</style>'.PHP_EOL;
     }
-    
+
     /**
      * Add a link to a stylesheet.
      *
      * @param string $url   Address of the stylesheet, absolute or relative
      * @param string $media Media target (screen/print/projector etc)
-     * 
+     *
      * @return void
      */
     function addStyleSheet($url, $media = 'all')
@@ -252,18 +256,6 @@ class UNL_Templates extends UNL_DWT
         $this->addHeadLink($url, 'stylesheet', 'rel', array('media'=>$media, 'type'=>'text/css'));
     }
 
-    /**
-     * Returns the page in HTML form.
-     * 
-     * @return string THe full HTML of the page.
-     */
-    function toHtml()
-    {
-        $p       = $this->getCache();
-        $regions = get_object_vars($this);
-        return $this->replaceRegions($p, $regions);
-    }
-    
     /**
      * returns this template as a string.
      *
@@ -273,33 +265,33 @@ class UNL_Templates extends UNL_DWT
     {
         return $this->toHtml();
     }
-    
-    
+
+
     /**
      * Populates templatedependents files
-     * 
-     * Replaces the template dependent include statements with the corresponding 
+     *
+     * Replaces the template dependent include statements with the corresponding
      * files from the /ucomm/templatedependents/ directory. To specify the location
      * of your templatedependents directory, use something like
      * $page->options['templatedependentspath'] = '/var/www/';
      * and set the path to the directory containing /ucomm/templatedependents/
      *
      * @param string $p Page to make replacements in
-     * 
+     *
      * @return string
      */
     function makeIncludeReplacements($p)
     {
         return self::$template_version->makeIncludeReplacements($p);
     }
-    
+
     /**
      * Debug handler for messages.
      *
      * @param string $message Message to send to debug output
      * @param int    $logtype Which log to send this to
      * @param int    $level   The threshold to send this message or not.
-     * 
+     *
      * @return void
      */
     static function debug($message, $logtype = 0, $level = 1)
@@ -307,7 +299,7 @@ class UNL_Templates extends UNL_DWT
         UNL_DWT::$options['debug'] = self::$options['debug'];
         parent::debug($message, $logtype, $level);
     }
-    
+
     /**
      * Cleans the cache.
      *
@@ -319,12 +311,12 @@ class UNL_Templates extends UNL_DWT
     {
         return self::getCachingService()->clean($object);
     }
-    
+
     static public function setCachingService(UNL_Templates_CachingService $cache)
     {
         self::$cache = $cache;
     }
-    
+
     static public function getCachingService()
     {
         if (!isset(self::$cache)) {
diff --git a/lib/php/UNL/Templates/Version2.php b/lib/php/UNL/Templates/Version2.php
index 7142f9f1833227d5f0c956168a91b5a000c2131f..e4aad342d3bdeffb3fa4eabec12c53ad8d35848a 100644
--- a/lib/php/UNL/Templates/Version2.php
+++ b/lib/php/UNL/Templates/Version2.php
@@ -34,7 +34,7 @@ class UNL_Templates_Version2 implements UNL_Templates_Version
         }
 
         if (file_exists(UNL_Templates::getDataDir().'/tpl_cache/Version2/'.$template)) {
-            return file_get_contents($template);
+            return file_get_contents(UNL_Templates::getDataDir().'/tpl_cache/Version2/'.$template);
         }
 
         throw new Exception('Could not get the template file!');
diff --git a/lib/php/UNL/Templates/Version3x1.php b/lib/php/UNL/Templates/Version3x1.php
index baf4a00c4b07f731528d41bd28a75d42d42b217b..3aacf6bc7f81e04f51be33ffdcd58a9ac165c46c 100644
--- a/lib/php/UNL/Templates/Version3x1.php
+++ b/lib/php/UNL/Templates/Version3x1.php
@@ -38,7 +38,7 @@ class UNL_Templates_Version3x1 implements UNL_Templates_Version
             UNL_Templates::debug('ERROR You should have a local copy of wdn/templates_3.1!'
                                  . ' Overriding your specified template to use absolute references' ,
                                  'getTemplate', 1);
-            $template = 'Absolute.tpl';
+            $template = 'Local.tpl';
         }
 
         // Always try and retrieve the latest
diff --git a/lib/php/UNL/Templates/Version3x1/Debug.php b/lib/php/UNL/Templates/Version3x1/Debug.php
index aa8ac7858d236c3c6965282e78f73aa09a722880..03474443b3165ffee3ca8bb8e96e0891bbeea1a3 100644
--- a/lib/php/UNL/Templates/Version3x1/Debug.php
+++ b/lib/php/UNL/Templates/Version3x1/Debug.php
@@ -22,6 +22,14 @@ class UNL_Templates_Version3x1_Debug extends UNL_Templates
     public $optionalfooter = "";                 // string()  
     public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
 
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => 'fixed debug',
+  ),
+);
     /* Static get */
     function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version3x1_Debug',$k,$v); }
 
diff --git a/lib/php/UNL/Templates/Version3x1/Fixed.php b/lib/php/UNL/Templates/Version3x1/Fixed.php
index a396fd3c5e60ae4dd9625897227e7802d52e6b90..792cb987e9155c93b2cfbe11f483e869314bc44e 100644
--- a/lib/php/UNL/Templates/Version3x1/Fixed.php
+++ b/lib/php/UNL/Templates/Version3x1/Fixed.php
@@ -22,6 +22,14 @@ class UNL_Templates_Version3x1_Fixed extends UNL_Templates
     public $optionalfooter = "";                 // string()  
     public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
 
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => 'fixed',
+  ),
+);
     /* Static get */
     function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version3x1_Fixed',$k,$v); }
 
diff --git a/lib/php/UNL/Templates/Version3x1/Local.php b/lib/php/UNL/Templates/Version3x1/Local.php
index d120aff26038fc094efbd5764560d23b25feb8c4..77fed187638d0cf187efb1aa98cd9323926001f0 100644
--- a/lib/php/UNL/Templates/Version3x1/Local.php
+++ b/lib/php/UNL/Templates/Version3x1/Local.php
@@ -22,6 +22,14 @@ class UNL_Templates_Version3x1_Local extends UNL_Templates
     public $optionalfooter = "";                 // string()  
     public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
 
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => 'fixed',
+  ),
+);
     /* Static get */
     function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version3x1_Local',$k,$v); }
 
diff --git a/lib/php/UNL/Templates/Version3x1/Unlaffiliate.php b/lib/php/UNL/Templates/Version3x1/Unlaffiliate.php
index 37da6f4216d01d8ece6a07e1973cf0391b2cb068..5eb78990d65075dcb5253a34d0796c51ed2a34a2 100644
--- a/lib/php/UNL/Templates/Version3x1/Unlaffiliate.php
+++ b/lib/php/UNL/Templates/Version3x1/Unlaffiliate.php
@@ -22,6 +22,14 @@ class UNL_Templates_Version3x1_Unlaffiliate extends UNL_Templates
     public $optionalfooter = "";                 // string()  
     public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
 
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => 'fixed',
+  ),
+);
     /* Static get */
     function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version3x1_Unlaffiliate',$k,$v); }
 
diff --git a/lib/php/UNL/Templates/Version3x1/Unlaffiliate_debug.php b/lib/php/UNL/Templates/Version3x1/Unlaffiliate_debug.php
index baa01f04c441989267e919a2489c679f88c109d7..1804ad91082a962072655a46da0684571168ee3b 100644
--- a/lib/php/UNL/Templates/Version3x1/Unlaffiliate_debug.php
+++ b/lib/php/UNL/Templates/Version3x1/Unlaffiliate_debug.php
@@ -22,6 +22,14 @@ class UNL_Templates_Version3x1_Unlaffiliate_debug extends UNL_Templates
     public $optionalfooter = "";                 // string()  
     public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
 
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => 'fixed debug',
+  ),
+);
     /* Static get */
     function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version3x1_Unlaffiliate_debug',$k,$v); }
 
diff --git a/lib/php/UNL/Templates/Version3x1/Unlaffiliate_local.php b/lib/php/UNL/Templates/Version3x1/Unlaffiliate_local.php
index ddb0a55ff96084348875a403034abfbfc8b77582..20511b9b85b7ade733efa8819731fb5767703fba 100644
--- a/lib/php/UNL/Templates/Version3x1/Unlaffiliate_local.php
+++ b/lib/php/UNL/Templates/Version3x1/Unlaffiliate_local.php
@@ -22,6 +22,14 @@ class UNL_Templates_Version3x1_Unlaffiliate_local extends UNL_Templates
     public $optionalfooter = "";                 // string()  
     public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
 
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => 'fixed',
+  ),
+);
     /* Static get */
     function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version3x1_Unlaffiliate_local',$k,$v); }
 
diff --git a/lib/php/UNL/Templates/Version4.php b/lib/php/UNL/Templates/Version4.php
new file mode 100644
index 0000000000000000000000000000000000000000..a786fb22cb8053da6e2404fbc5b80df8fff670c5
--- /dev/null
+++ b/lib/php/UNL/Templates/Version4.php
@@ -0,0 +1,95 @@
+<?php
+/**
+ * Base class for Version 4 (2013) template files.
+ *
+ * PHP version 5
+ *
+ * @category  Templates
+ * @package   UNL_Templates
+ * @author    Brett Bieber <brett.bieber@gmail.com>
+ * @author    Ned Hummel <nhummel2@unl.edu>
+ * @copyright 2009 Regents of the University of Nebraska
+ * @license   http://www1.unl.edu/wdn/wiki/Software_License BSD License
+ * @link      http://pear.unl.edu/
+ */
+require_once 'UNL/Templates/Version.php';
+
+/**
+ * Base class for Version 4 (2013) template files.
+ *
+ * @category  Templates
+ * @package   UNL_Templates
+ * @author    Brett Bieber <brett.bieber@gmail.com>
+ * @copyright 2009 Regents of the University of Nebraska
+ * @license   http://www1.unl.edu/wdn/wiki/Software_License BSD License
+ * @link      http://pear.unl.edu/
+ */
+class UNL_Templates_Version4 implements UNL_Templates_Version
+{
+    function getConfig()
+    {
+        return array('class_location' => 'UNL/Templates/Version4/',
+                     'class_prefix'   => 'UNL_Templates_Version4_');
+    }
+
+    function getTemplate($template)
+    {
+
+        // Set a timeout for the HTTP download of the template file
+        $http_context = stream_context_create(array('http' => array('timeout' => UNL_Templates::$options['timeout'])));
+
+        // Always try and retrieve the latest
+        if (!(UNL_Templates::getCachingService() instanceof UNL_Templates_CachingService_Null)
+            && $tpl = file_get_contents('https://raw.github.com/unl/wdntemplates/master/Templates/'.$template, false, $http_context)) {
+
+            // Grab the HTML version number for this file
+            $version = file_get_contents('https://raw.github.com/unl/wdntemplates/master/Templates/VERSION_HTML');
+            $tpl = str_replace('$HTML_VERSION$', $version, $tpl);
+
+            return $tpl;
+        }
+
+        if (file_exists(UNL_Templates::getDataDir().'/tpl_cache/Version4/'.$template)) {
+            return file_get_contents(UNL_Templates::getDataDir().'/tpl_cache/Version4/'.$template);
+        }
+
+
+        throw new Exception('Could not get the template file!');
+    }
+
+    function makeIncludeReplacements($html)
+    {
+        UNL_Templates::debug('Now making template include replacements.',
+                     'makeIncludeReplacements', 3);
+        $includes = array();
+        preg_match_all('<!--#include virtual="(/wdn/templates_4.0/[A-Za-z0-9\.\/_]+)" -->',
+                        $html, $includes);
+        UNL_Templates::debug(print_r($includes, true), 'makeIncludeReplacements', 3);
+
+        // Normally the templates will not need to have the dependency version replaced
+        static $dep_version = '';
+
+        foreach ($includes[1] as $include) {
+            UNL_Templates::debug('Replacing '.$include, 'makeIncludeReplacements', 3);
+            $file = UNL_Templates::$options['templatedependentspath'].$include;
+            if (!file_exists($file)) {
+
+                UNL_Templates::debug('File does not exist:'.$file, 'makeIncludeReplacements', 3);
+                // We'll grab the latest copy of the file from Github
+
+                if ($dep_version == '') {
+                    // Grab the dependency version from github
+                    $dep_version = file_get_contents('https://raw.github.com/unl/wdntemplates/master/VERSION_DEP');
+                }
+
+                $file = 'https://raw.github.com/unl/wdntemplates/master'.$include;
+            }
+            $html = str_replace(
+                        array('<!--#include virtual="'.$include.'" -->', '$DEP_VERSION$'),
+                        array(file_get_contents($file),                  $dep_version),
+                        $html
+                    );
+        }
+        return $html;
+    }
+}
diff --git a/lib/php/UNL/Templates/Version4/Debug.php b/lib/php/UNL/Templates/Version4/Debug.php
new file mode 100644
index 0000000000000000000000000000000000000000..13954092d9072806cfcaa6d3aac7ab1ef115827b
--- /dev/null
+++ b/lib/php/UNL/Templates/Version4/Debug.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Template Definition for fixed.dwt
+ */
+require_once 'UNL/Templates.php';
+
+class UNL_Templates_Version4_Debug extends UNL_Templates 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__template = 'Debug.tpl';                       // template name
+    public $doctitle = "<title>Use a descriptive page title | Optional Site Title (use for context) | University of Nebraska&ndash;Lincoln</title>";                       // string()  
+    public $head = "<!-- Place optional header elements here -->";                           // string()  
+    public $titlegraphic = "The Title of My Site";                   // string()  
+    public $breadcrumbs = "<ul> <li><a href=\"http://www.unl.edu/\" title=\"University of Nebraska&ndash;Lincoln\" class=\"wdn-icon-home\">UNL</a></li> <li><a href=\"#\" title=\"Site Title\">Site Title</a></li> <li>Home</li> </ul>";                    // string()  
+    public $navlinks = "<!--#include virtual=\"../sharedcode/navigation.html\" -->";                       // string()  
+    public $pagetitle = "<h1>Please Title Your Page Here</h1>";                      // string()  
+    public $maincontentarea = "<div class=\"wdn-band\"> <div class=\"wdn-inner-wrapper\"> <p>Impress your audience with awesome content!</p> </div> </div>";                // string()  
+    public $optionalfooter = "";                 // string()  
+    public $leftcollinks = "<!--#include virtual=\"../sharedcode/relatedLinks.html\" -->";                   // string()  
+    public $contactinfo = "<!--#include virtual=\"../sharedcode/footerContactInfo.html\" -->";                    // string()  
+    public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
+
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => 'debug',
+  ),
+);
+
+    /* Static get */
+    function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version4_Debug',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}
diff --git a/lib/php/UNL/Templates/Version4/Fixed.php b/lib/php/UNL/Templates/Version4/Fixed.php
new file mode 100644
index 0000000000000000000000000000000000000000..2d3af49030248875397b5f35871712620da7080b
--- /dev/null
+++ b/lib/php/UNL/Templates/Version4/Fixed.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Template Definition for fixed.dwt
+ */
+require_once 'UNL/Templates.php';
+
+class UNL_Templates_Version4_Fixed extends UNL_Templates 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__template = 'Fixed.tpl';                       // template name
+    public $doctitle = "<title>Use a descriptive page title | Optional Site Title (use for context) | University of Nebraska&ndash;Lincoln</title>";                       // string()  
+    public $head = "<!-- Place optional header elements here -->";                           // string()  
+    public $titlegraphic = "The Title of My Site";                   // string()  
+    public $breadcrumbs = "<ul> <li><a href=\"http://www.unl.edu/\" title=\"University of Nebraska&ndash;Lincoln\" class=\"wdn-icon-home\">UNL</a></li> <li><a href=\"#\" title=\"Site Title\">Site Title</a></li> <li>Home</li> </ul>";                    // string()  
+    public $navlinks = "<!--#include virtual=\"../sharedcode/navigation.html\" -->";                       // string()  
+    public $pagetitle = "<h1>Please Title Your Page Here</h1>";                      // string()  
+    public $maincontentarea = "<div class=\"wdn-band\"> <div class=\"wdn-inner-wrapper\"> <p>Impress your audience with awesome content!</p> </div> </div>";                // string()  
+    public $optionalfooter = "";                 // string()  
+    public $leftcollinks = "<!--#include virtual=\"../sharedcode/relatedLinks.html\" -->";                   // string()  
+    public $contactinfo = "<!--#include virtual=\"../sharedcode/footerContactInfo.html\" -->";                    // string()  
+    public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
+
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => '',
+  ),
+);
+
+    /* Static get */
+    function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version4_Fixed',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}
diff --git a/lib/php/UNL/Templates/Version4/Local.php b/lib/php/UNL/Templates/Version4/Local.php
new file mode 100644
index 0000000000000000000000000000000000000000..a40359852c8095b0e7a4a3220076b02fee96a89a
--- /dev/null
+++ b/lib/php/UNL/Templates/Version4/Local.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Template Definition for local.dwt
+ */
+require_once 'UNL/Templates.php';
+
+class UNL_Templates_Version4_Local extends UNL_Templates 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__template = 'Local.tpl';                       // template name
+    public $doctitle = "<title>Use a descriptive page title | Optional Site Title (use for context) | University of Nebraska&ndash;Lincoln</title>";                       // string()  
+    public $head = "<!-- Place optional header elements here -->";                           // string()  
+    public $titlegraphic = "The Title of My Site";                   // string()  
+    public $breadcrumbs = "<ul> <li><a href=\"http://www.unl.edu/\" title=\"University of Nebraska&ndash;Lincoln\" class=\"wdn-icon-home\">UNL</a></li> <li><a href=\"#\" title=\"Site Title\">Site Title</a></li> <li>Home</li> </ul>";                    // string()  
+    public $navlinks = "<!--#include virtual=\"../sharedcode/navigation.html\" -->";                       // string()  
+    public $pagetitle = "<h1>Please Title Your Page Here</h1>";                      // string()  
+    public $maincontentarea = "<div class=\"wdn-band\"> <div class=\"wdn-inner-wrapper\"> <p>Impress your audience with awesome content!</p> </div> </div>";                // string()  
+    public $optionalfooter = "";                 // string()  
+    public $leftcollinks = "<!--#include virtual=\"../sharedcode/relatedLinks.html\" -->";                   // string()  
+    public $contactinfo = "<!--#include virtual=\"../sharedcode/footerContactInfo.html\" -->";                    // string()  
+    public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
+
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => '',
+  ),
+);
+
+    /* Static get */
+    function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version4_Local',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}
diff --git a/lib/php/UNL/Templates/Version4/Unlaffiliate.php b/lib/php/UNL/Templates/Version4/Unlaffiliate.php
new file mode 100644
index 0000000000000000000000000000000000000000..7bf68c0325ffac40ca002edb9dcd12bbd0093688
--- /dev/null
+++ b/lib/php/UNL/Templates/Version4/Unlaffiliate.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Template Definition for unlaffiliate.dwt
+ */
+require_once 'UNL/Templates.php';
+
+class UNL_Templates_Version4_Unlaffiliate extends UNL_Templates 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__template = 'Unlaffiliate.tpl';                // template name
+    public $doctitle = "<title>Use a descriptive page title | Optional Site Title (use for context) | UNL Affiliate</title>";                       // string()  
+    public $head = "<!-- Place optional header elements here --> <link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"../sharedcode/affiliate.css\" /> <link href=\"../sharedcode/affiliate_imgs/favicon.ico\" rel=\"shortcut icon\" />";                           // string()  
+    public $titlegraphic = "The Title of My Site";                   // string()  
+    public $breadcrumbs = "<ul> <li><a href=\"http://www.throughtheeyes.org/\" title=\"Through the Eyes of the Child Initiative\">Home</a></li> </ul>";                    // string()  
+    public $navlinks = "<!--#include virtual=\"../sharedcode/navigation.html\" -->";                       // string()  
+    public $pagetitle = "<h1>Please Title Your Page Here</h1>";                      // string()  
+    public $maincontentarea = "<div class=\"wdn-band\"> <div class=\"wdn-inner-wrapper\"> <p>Impress your audience with awesome content!</p> </div> </div>";                // string()  
+    public $optionalfooter = "";                 // string()  
+    public $leftcollinks = "<!--#include virtual=\"../sharedcode/relatedLinks.html\" -->";                   // string()  
+    public $contactinfo = "<!--#include virtual=\"../sharedcode/footerContactInfo.html\" -->";                    // string()  
+    public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
+
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => '',
+  ),
+);
+
+    /* Static get */
+    function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version4_Unlaffiliate',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}
diff --git a/lib/php/UNL/Templates/Version4/Unlaffiliate_debug.php b/lib/php/UNL/Templates/Version4/Unlaffiliate_debug.php
new file mode 100644
index 0000000000000000000000000000000000000000..9905d431c90a7434ec0a5c65b3ca0c6b50854d86
--- /dev/null
+++ b/lib/php/UNL/Templates/Version4/Unlaffiliate_debug.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Template Definition for unlaffiliate_debug.dwt
+ */
+require_once 'UNL/Templates.php';
+
+class UNL_Templates_Version4_Unlaffiliate_debug extends UNL_Templates 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__template = 'Unlaffiliate_debug.tpl';          // template name
+    public $doctitle = "<title>Use a descriptive page title | Optional Site Title (use for context) | UNL Affiliate</title>";                       // string()  
+    public $head = "<!-- Place optional header elements here --> <link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"../sharedcode/affiliate.css\" /> <link href=\"../sharedcode/affiliate_imgs/favicon.ico\" rel=\"shortcut icon\" />";                           // string()  
+    public $titlegraphic = "The Title of My Site";                   // string()  
+    public $breadcrumbs = "<ul> <li><a href=\"http://www.throughtheeyes.org/\" title=\"Through the Eyes of the Child Initiative\">Home</a></li> </ul>";                    // string()  
+    public $navlinks = "<!--#include virtual=\"../sharedcode/navigation.html\" -->";                       // string()  
+    public $pagetitle = "<h1>Please Title Your Page Here</h1>";                      // string()  
+    public $maincontentarea = "<div class=\"wdn-band\"> <div class=\"wdn-inner-wrapper\"> <p>Impress your audience with awesome content!</p> </div> </div>";                // string()  
+    public $optionalfooter = "";                 // string()  
+    public $leftcollinks = "<!--#include virtual=\"../sharedcode/relatedLinks.html\" -->";                   // string()  
+    public $contactinfo = "<!--#include virtual=\"../sharedcode/footerContactInfo.html\" -->";                    // string()  
+    public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
+
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => 'debug',
+  ),
+);
+
+    /* Static get */
+    function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version4_Unlaffiliate_debug',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}
diff --git a/lib/php/UNL/Templates/Version4/Unlaffiliate_local.php b/lib/php/UNL/Templates/Version4/Unlaffiliate_local.php
new file mode 100644
index 0000000000000000000000000000000000000000..13681f492778e8db79f604babd39f5270f5e37c0
--- /dev/null
+++ b/lib/php/UNL/Templates/Version4/Unlaffiliate_local.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Template Definition for unlaffiliate_local.dwt
+ */
+require_once 'UNL/Templates.php';
+
+class UNL_Templates_Version4_Unlaffiliate_local extends UNL_Templates 
+{
+    ###START_AUTOCODE
+    /* the code below is auto generated do not remove the above tag */
+
+    public $__template = 'Unlaffiliate_local.tpl';          // template name
+    public $doctitle = "<title>Use a descriptive page title | Optional Site Title (use for context) | UNL Affiliate</title>";                       // string()  
+    public $head = "<!-- Place optional header elements here --> <link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"../sharedcode/affiliate.css\" /> <link href=\"../sharedcode/affiliate_imgs/favicon.ico\" rel=\"shortcut icon\" />";                           // string()  
+    public $titlegraphic = "The Title of My Site";                   // string()  
+    public $breadcrumbs = "<ul> <li><a href=\"http://www.throughtheeyes.org/\" title=\"Through the Eyes of the Child Initiative\">Home</a></li> </ul>";                    // string()  
+    public $navlinks = "<!--#include virtual=\"../sharedcode/navigation.html\" -->";                       // string()  
+    public $pagetitle = "<h1>Please Title Your Page Here</h1>";                      // string()  
+    public $maincontentarea = "<div class=\"wdn-band\"> <div class=\"wdn-inner-wrapper\"> <p>Impress your audience with awesome content!</p> </div> </div>";                // string()  
+    public $optionalfooter = "";                 // string()  
+    public $leftcollinks = "<!--#include virtual=\"../sharedcode/relatedLinks.html\" -->";                   // string()  
+    public $contactinfo = "<!--#include virtual=\"../sharedcode/footerContactInfo.html\" -->";                    // string()  
+    public $footercontent = "<!--#include virtual=\"../sharedcode/footer.html\" -->";                  // string()  
+
+    public $__params = array (
+  'class' => 
+  array (
+    'name' => 'class',
+    'type' => 'text',
+    'value' => '',
+  ),
+);
+
+    /* Static get */
+    function staticGet($k,$v=NULL) { return UNL_DWT::staticGet('UNL_Templates_Version4_Unlaffiliate_local',$k,$v); }
+
+    /* the code above is auto generated do not remove the tag below */
+    ###END_AUTOCODE
+}