return htmlspecialchars(implode(' & ', explode("\n", $this->rawname)));
}
+ function html()
+ {
+ return $this->name ?: $this->login;
+ }
+
function admin()
{
return @file_exists("{$this->dir}/.admin");
if (!$replymeta) continue;
$replydate = str_split($replymeta[1], 2);
$replydate[1] = $replydate[0] . $replydate[1];
+ $replyuser = new User("profile/{$replymeta[2]}");
print '<li>';
printf('<strong>%s</strong> <small class=date>%s</small>',
- $replymeta[2], showdate($replydate)
+ $replyuser->html, showdate($replydate)
);
printf("<blockquote>%s</blockquote>\n", file_get_contents($reply));
print "</li>\n";