diff --git a/updates.php b/updates.php index ce61002..dec762e 100644 --- a/updates.php +++ b/updates.php @@ -7,10 +7,17 @@ if(array_key_exists("days", $_GET)) { $l = 15; } -$title = 'Updates in the last '.$l.' days'; +if(array_key_exists("user", $_GET)) { + $u = intval($_GET['user']); + $user_info = get_userdata($u); +} else { + $u = False; +} + +$title = 'Updates in the last '.$l.' days'.($u?' by '.$user_info->display_name:''); include('include/header.php'); echo "