diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-03-12 13:01:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-03-12 13:01:10 +0000 |
commit | 66b99866b031756a581d4200a0ed89a1b519aae4 (patch) | |
tree | f9b1633b257a26ab95d48223c33dcd7a4f672aa5 /themes | |
parent | 3f82b01def951235b50708fc0a1bdd74423a43f1 (diff) | |
download | brdo-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.php | 8 |
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))); +} + |