diff --git a/demo/configs/test.conf b/demo/configs/test.conf
deleted file mode 100644
index 80cfea45..00000000
--- a/demo/configs/test.conf
+++ /dev/null
@@ -1,22 +0,0 @@
-title = Welcome to Smarty!
-cutoff_size = 40
-bold = false
-pageTitle = "This is mine"
-bodyBgColor = '#eeeeee'
-tableBorderSize = 3
-tableBgColor = "#bbbbbb"
-rowBgColor = #cccccc
-
-Intro = """This is a value that spans more
- than one line. you must enclose
- it in triple quotes."""
-
-Quote1 = """'value should contain a
-sigle quote'"""
-
-Quote2 = """ "value should contain a " double quote" """
-
-[setup]
-bold = true
-
-[params]
diff --git a/demo/templates/header.tpl b/demo/templates/header.tpl
deleted file mode 100644
index f161a929..00000000
--- a/demo/templates/header.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-This is the header
-
-gee is {$gee} foo is {$foo}
-
-done with header
diff --git a/demo/templates/include.tpl b/demo/templates/include.tpl
deleted file mode 100644
index 56088dc5..00000000
--- a/demo/templates/include.tpl
+++ /dev/null
@@ -1,3 +0,0 @@
-
-Include file
-
{assign var=inc value='assign include'}{$inc}
diff --git a/demo/templates/index.tpl b/demo/templates/index.tpl
deleted file mode 100644
index 2398756f..00000000
--- a/demo/templates/index.tpl
+++ /dev/null
@@ -1,10 +0,0 @@
-This is an example of a compiled template.
-
-$foo = {$foo}
-$foo[0] = {$foo[0]}
-$foo[1] = {$foo[1]}
-$foo[2] = {$foo[2]}
-
-function:
-
-End Test
diff --git a/demo/templates/nocache_inc.tpl b/demo/templates/nocache_inc.tpl
deleted file mode 100644
index 81f5c359..00000000
--- a/demo/templates/nocache_inc.tpl
+++ /dev/null
@@ -1,2 +0,0 @@
-
This is from nocache_inc.tpl
-
cached time is {time()}
diff --git a/demo/templates/test_debug.tpl b/demo/templates/test_debug.tpl
deleted file mode 100644
index b55eeb49..00000000
--- a/demo/templates/test_debug.tpl
+++ /dev/null
@@ -1,3 +0,0 @@
-
-Test debug
-{debug}
diff --git a/demo/templates/test_if.tpl b/demo/templates/test_if.tpl
deleted file mode 100644
index d7a00d49..00000000
--- a/demo/templates/test_if.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-Test of if tags
-{foreach item=value from=$values}
-Value of {$value} is {if $value<10} less then 10 {elseif ($value GT 100) AND ($value <= 500)} something between 100 and 500 {else} somthing else {/if}
-{/foreach}
-
diff --git a/demo/templates/test_inc.tpl b/demo/templates/test_inc.tpl
deleted file mode 100644
index 068017e7..00000000
--- a/demo/templates/test_inc.tpl
+++ /dev/null
@@ -1,25 +0,0 @@
-Test of { include } and local/global variable scope
-
the original value of $foo = {$foo}
-
-{assign var=foo2 value='yzx'}
-
foo2 before { include } = {$foo2}
-{include file='test_inc2.tpl'}
-
-
Here we are back in test_inc.tpl
-
$foo has its old value = {$foo}
-
this is $foo2 a global variable created in test_inc2.tpl = {$foo2}
-
{if isset($foo3)} $foo3 must be unknow here {/if}
-
-
Test include with parent scope
-{include file='test_inc2.tpl' scope='parent'}
-
Here we are back in test_inc.tpl
-
$foo has its new value = {$foo}
-
this is $foo2 a global variable created in test_inc2.tpl = {$foo2}
-
this is $foo3 a normal variable created in test_inc2.tpl = {$foo3}
-
-
Test include with root scope
-{include file='test_inc2.tpl' scope='root'}
-
Here we are back in test_inc.tpl
-
$foo has its new value = {$foo}
-
this is $foo2 a global variable created in test_inc2.tpl = {$foo2}
-
this is $foo3 a normal variable created in test_inc2.tpl = {$foo3}
diff --git a/demo/templates/test_inc2.tpl b/demo/templates/test_inc2.tpl
deleted file mode 100644
index c4b0ef65..00000000
--- a/demo/templates/test_inc2.tpl
+++ /dev/null
@@ -1,6 +0,0 @@
-
Here starts test_inc2.tpl
-
$foo in test_inc2 before changing = {$foo}
-{assign var=foo value="bah"}
-
$foo in test_inc2 after changing = {$foo}
-{assign var=foo2 value="bla" global=true}
-{assign var=foo3 value="foo3 was set"}
diff --git a/demo/templates/test_insert.tpl b/demo/templates/test_insert.tpl
deleted file mode 100644
index 84d9074b..00000000
--- a/demo/templates/test_insert.tpl
+++ /dev/null
@@ -1,3 +0,0 @@
-Test of { insert }
-
{insert name='test' foo='bar'}
-
insert with assign {insert name='test' foo='bar' assign=var}{$var}
diff --git a/demo/templates/test_nocache.tpl b/demo/templates/test_nocache.tpl
deleted file mode 100644
index 39aba1ff..00000000
--- a/demo/templates/test_nocache.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-Test caching and nocache attribute
-
cached time is {time()}
-
nocached time by '{time() nocache=true}' {time() nocache=true}
-
-
calling '{include file="nocache_inc.tpl" caching_lifetime=25}' {include file="nocache_inc.tpl" caching_lifetime=25}
-
-
calling '{include file="nocache_inc.tpl" nocache=true}' {include file="nocache_inc.tpl" nocache=true}
-{nocache}
-{assign var=a value=1}
-
{if $a < 5}{$a|truncate} lt 5{else}a ge 5{/if}
-{/nocache}
\ No newline at end of file
diff --git a/demo/templates/test_nocache2.tpl b/demo/templates/test_nocache2.tpl
deleted file mode 100644
index 9da14b6d..00000000
--- a/demo/templates/test_nocache2.tpl
+++ /dev/null
@@ -1,9 +0,0 @@
-Test caching and nocache attribute
-
cached time is {$t1}
-
nocached time is {$t2}
-
-{$t1+$t1} {$t1+$t2}
-
-{nocache}
-{for $i=0;$i<10;$i++}{$i}{/for}
-{/nocache}
diff --git a/demo/templates/test_object.tpl b/demo/templates/test_object.tpl
deleted file mode 100644
index 63004556..00000000
--- a/demo/templates/test_object.tpl
+++ /dev/null
@@ -1,6 +0,0 @@
-
-Test methode chaining
-{assign var=x value=33}
-
{assign var=x2 value=10}{$person->object->setName('peter')->setAge($x+4)->introduce()}
-
{$person->object->setAge($x+$x2)->setName('paul')->introduce()}
-
diff --git a/demo/templates/test_object2.tpl b/demo/templates/test_object2.tpl
deleted file mode 100644
index 8d573d19..00000000
--- a/demo/templates/test_object2.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-
-Test registered object
-
{/test->hello}
-
{/test->hello p1=1 p2=2}
-
diff --git a/demo/templates/test_parser.tpl b/demo/templates/test_parser.tpl
deleted file mode 100644
index 3250958d..00000000
--- a/demo/templates/test_parser.tpl
+++ /dev/null
@@ -1,7 +0,0 @@
-Input form for parser testing
-
SMARTY SMOKE TEST - -VARIABLE TESTS: - -$foo is {$foo} - -$baz[1] is {$baz[1]} - -$blah['b'] is {$blah['b']} - -$blah[$baz[1]] is {$blah[$baz[1]]} - -$foo.$baz[1] is {$foo.$baz[1]} - -$foo.$foo is {$foo.$foo} - -{"foo"} - -OBJECT TESTS: - -$myobj->foo is {$myobj->foo} - -$myobj->test is {$myobj->test} -$myobj->test() is {$myobj->test()} -$myobj->test(1) is {$myobj->test(1)} -$myobj->test(1,'two') is {$myobj->test(1,'two')} -$myobj->test(count($baz)) is {$myobj->test(count($baz))} -$myobj->test($myobj->test(count($baz))) is {$myobj->test($myobj->test(count($baz)))} -$myobj->test($foo|escape) is {$myobj->test($foo|escape)} - -PHP TESTS: - - -COMMENT TESTS: - -{* this is a comment *} -{* another $foo comment *} -{* another =$foo?> comment *} -{* multi line - comment *} -{* /* foo */ *} -A{* comment *}B -C -D{* comment *} -{* comment *}E -F -G{* multi - line *}H -I{* multi -line *} -J - -ASSIGN: - -A -{assign var=zoo value="blah"} -B -C{assign var=zoo value="blah"}D -E{assign var=zoo value="blah"} -F -G -{assign var=zoo value="blah"}H -{assign var=zoo value="joe{$myobj->test(1)}bar"} - -zoo is {$zoo} - -SPACING TESTS: - -{$foo} - -{$foo}{$foo} - -A{$foo} - -A{$foo}B - -{$foo}B - -IF TESTS: - -{if $foo eq "baz"} - IS BAZ -{elseif $foo == "lala"} - IS LALA -{else} - IS NONE -{/if} - -{if $myint+5 EQ 9} - IS NINE -{else} - IS NOT NINE -{/if} - -{if $myint + 5 eq 9} - IS NINE -{else} - IS NOT NINE -{/if} - -{if count($baz)-2 eq 1} - IS ONE -{else} - IS NOT ONE -{/if} - -{if $foo.$foo2 eq "barbar2"} - IS BARBAR2 -{else} - IS NOT BARBAR2 -{/if} - -{if $not_logged} - NOT LOGGED -{/if} - -{if "joe{$myobj->test(1)}bar"} - FOO -{/if} - -TEST INCLUDE: - -{include file="header.tpl" gee="joe"} -{include file="header.tpl" gee="joe $foo bar"} -{include file="header.tpl" gee="joe{$foo}bar"} -{include file="header.tpl" gee="joe{$foo.$foo}bar"} -{include file="header.tpl" gee="joe{$myobj->test(1)}bar"} -{include file=$includeme} -{include file=$includeme gee="joe"} -{include file="{$top}.tpl"} - -JAVSCRIPT TEST - - - -MATH TESTS: - -$one+2 is {$one+2} -$one + 2 - $one is {$one + 2 - $one} -$one*$one is {$one*$one} -$one/$one is {$one/$one} -abs(-$one) is {abs(-$one)} - -$footest is {$footest} - -FOREACH TESTS: - -{foreach from=$blah key="idx" item="val"} - $idx/$val is {$idx}/{$val} -{/foreach} - -TEST FINISHED -