From 741557867424011da77f9176befa913a4d1e31d8 Mon Sep 17 00:00:00 2001 From: shish Date: Fri, 18 May 2007 01:33:47 +0000 Subject: [PATCH] link to search by user from their page git-svn-id: file:///home/shish/svn/shimmie2/trunk@119 7f39781d-f577-437e-ae19-be835c7a54ca --- core/ext/user.ext.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/ext/user.ext.php b/core/ext/user.ext.php index cd957eb9..009821c9 100644 --- a/core/ext/user.ext.php +++ b/core/ext/user.ext.php @@ -331,9 +331,12 @@ class UserPage extends Extension { $h_image_rate = sprintf("%3.1f", ($i_image_count / $i_days_old2)); $h_comment_rate = sprintf("%3.1f", ($i_comment_count / $i_days_old2)); + $h_name = html_escape($duser->name); + $images_link = make_link("index", "search=poster%3D$h_name"); + return " Join date: $h_join_date ($i_days_old days old) -
Images uploaded: $i_image_count ($h_image_rate / day) +
Images uploaded: $i_image_count ($h_image_rate / day)
Comments made: $i_comment_count ($h_comment_rate / day) "; }