From b59094355a1878b416f79b329b3d78868b64a23c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 9 Jul 2003 18:39:46 +0000 Subject: - Made the tracker module link to your own posts. Patch 79 from Gerhard. - Added a permalink to the Xtemplate theme. Requested by Scott. - Added pager support to the locale module. --- themes/xtemplate/xtemplate.theme | 3 ++- themes/xtemplate/xtemplate.xtmpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'themes/xtemplate') diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme index afea90bcc..65ccbf9ee 100644 --- a/themes/xtemplate/xtemplate.theme +++ b/themes/xtemplate/xtemplate.theme @@ -31,7 +31,8 @@ class Theme_xtemplate extends BaseTheme { function node($node, $main = 0) { - $this->template->assign(array ( + $this->template->assign(array( + "link" => url("node/view/$node->nid"), "title" => ucfirst($node->title), "author" => format_name($node), "date" => format_date($node->created), diff --git a/themes/xtemplate/xtemplate.xtmpl b/themes/xtemplate/xtemplate.xtmpl index ae673efb8..9b0233426 100644 --- a/themes/xtemplate/xtemplate.xtmpl +++ b/themes/xtemplate/xtemplate.xtmpl @@ -46,7 +46,7 @@
-
{title}
+ Submitted by {author} on {date}. {taxonomy}
{content}
-- cgit v1.2.3