summaryrefslogtreecommitdiff
path: root/themes/xtemplate
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-07-09 18:39:46 +0000
committerDries Buytaert <dries@buytaert.net>2003-07-09 18:39:46 +0000
commitb59094355a1878b416f79b329b3d78868b64a23c (patch)
tree6ed63b141a4b4a5e938c51feb57a7d201b12f7b6 /themes/xtemplate
parentbfd68e80eb57c5ba6deb7016e743b36b0acb5136 (diff)
downloadbrdo-b59094355a1878b416f79b329b3d78868b64a23c.tar.gz
brdo-b59094355a1878b416f79b329b3d78868b64a23c.tar.bz2
- 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.
Diffstat (limited to 'themes/xtemplate')
-rw-r--r--themes/xtemplate/xtemplate.theme3
-rw-r--r--themes/xtemplate/xtemplate.xtmpl2
2 files changed, 3 insertions, 2 deletions
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 @@
<!-- BEGIN: node -->
<div class="node">
- <div class="title">{title}</div>
+ <div class="title"><a href="{link}">{title}</a></div>
<span class="author">Submitted by {author} on {date}.</span>
<span class="taxonomy">{taxonomy}</span>
<div class="content">{content}</div>