summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-03-12 13:01:10 +0000
committerDries Buytaert <dries@buytaert.net>2007-03-12 13:01:10 +0000
commit66b99866b031756a581d4200a0ed89a1b519aae4 (patch)
treef9b1633b257a26ab95d48223c33dcd7a4f672aa5 /themes
parent3f82b01def951235b50708fc0a1bdd74423a43f1 (diff)
downloadbrdo-66b99866b031756a581d4200a0ed89a1b519aae4.tar.gz
brdo-66b99866b031756a581d4200a0ed89a1b519aae4.tar.bz2
- Patch #126128 by chx and Steven: menu fixes and enhancements. Yay.
Diffstat (limited to 'themes')
-rw-r--r--themes/garland/template.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/garland/template.php b/themes/garland/template.php
index 84f136d7c..d3f89de16 100644
--- a/themes/garland/template.php
+++ b/themes/garland/template.php
@@ -86,3 +86,11 @@ function phptemplate_menu_local_tasks() {
return $output;
}
+
+function garland_username($object) {
+ return _phptemplate_callback('username',
+ array(
+ 'username' => check_plain($object->name),
+ 'userpage' => l($object->name, 'user/'. $object->uid)));
+}
+