link to search by user from their page
git-svn-id: file:///home/shish/svn/shimmie2/trunk@119 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
c486fe279c
commit
7415578674
@ -331,9 +331,12 @@ class UserPage extends Extension {
|
|||||||
$h_image_rate = sprintf("%3.1f", ($i_image_count / $i_days_old2));
|
$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_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 "
|
return "
|
||||||
Join date: $h_join_date ($i_days_old days old)
|
Join date: $h_join_date ($i_days_old days old)
|
||||||
<br>Images uploaded: $i_image_count ($h_image_rate / day)
|
<br><a href='$images_link'>Images uploaded</a>: $i_image_count ($h_image_rate / day)
|
||||||
<br>Comments made: $i_comment_count ($h_comment_rate / day)
|
<br>Comments made: $i_comment_count ($h_comment_rate / day)
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user