summaryrefslogtreecommitdiff
path: root/example/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'example/index.php')
-rw-r--r--example/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/index.php b/example/index.php
index 3d2b1ca..14ca576 100644
--- a/example/index.php
+++ b/example/index.php
@@ -52,6 +52,10 @@ $ste->vars["articles"] = array(
array("author" => "baz", "title" => "whatever...", "timestamp" => 1316550000, "excerpt" => "...", "full" => "..........")
);
+$ste->vars["foo"] = "baz";
+$ste->vars["bar"] = "lol";
+$ste->vars["baz"] = array("lol" => "cool");
+
# Execute the template and output the result
echo $ste->exectemplate("articles.html");