From 3e238c7f2d968e2e3091c507a33a9e69b73f1c15 Mon Sep 17 00:00:00 2001 From: habarnam Date: Sun, 18 May 2008 13:52:58 +0300 Subject: [PATCH] + added the tsurl object that we'll use for url generating --- _pages/index/code.php | 2 +- _pages/index/pages/main.tpl | 3 +- _res/_libs/tsurl.class.php | 72 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 2 deletions(-) create mode 100644 _res/_libs/tsurl.class.php diff --git a/_pages/index/code.php b/_pages/index/code.php index 0ffe851..d5dab40 100644 --- a/_pages/index/code.php +++ b/_pages/index/code.php @@ -56,7 +56,7 @@ class index extends tsPage{ $user['actions'] = $actions; $this->varArray['sidebar'] = dirname(__FILE__).'/pages/sidebar.tpl'; - $this->varArray['user'] = $user; + $this->varArray['user'] = $user; // ?? FIXME } private function getAll ($start, $end) { diff --git a/_pages/index/pages/main.tpl b/_pages/index/pages/main.tpl index d94b2c3..2156807 100644 --- a/_pages/index/pages/main.tpl +++ b/_pages/index/pages/main.tpl @@ -13,7 +13,8 @@
-{$post.post_body} +{$post.post_body} +