more livefeed tweaks - put the URL first for consistency
This commit is contained in:
parent
6181d59975
commit
16f1c06734
1 changed files with 15 additions and 4 deletions
|
@ -20,13 +20,24 @@ class LiveFeed extends Extension {
|
|||
}
|
||||
|
||||
public function onImageAddition($event) {
|
||||
$this->msg("Image posted: ".make_http(make_link("post/view/".$event->image->id)));
|
||||
#$this->msg("- tagged ".$event->image->get_tag_list());
|
||||
$this->msg(
|
||||
make_http(make_link("post/view/".$event->image->id))." - ".
|
||||
"new post by ".$event->user->name
|
||||
);
|
||||
}
|
||||
|
||||
public function onTagSet($event) {
|
||||
$this->msg(
|
||||
make_http(make_link("post/view/".$event->image->id))." - ".
|
||||
"tags set to: ".Tag::implode($event->tags)
|
||||
);
|
||||
}
|
||||
|
||||
public function onCommentPosting($event) {
|
||||
$this->msg("Comment posted on ".make_http(make_link("post/view/".$event->image_id))." :");
|
||||
$this->msg("- {$event->user->name}: {$event->comment}");
|
||||
$this->msg(
|
||||
make_http(make_link("post/view/".$event->image_id))." - ".
|
||||
$event->user->name . ": " . str_replace("\n", " ", $event->comment)
|
||||
);
|
||||
}
|
||||
|
||||
public function onImageInfoSet($event) {
|
||||
|
|
Reference in a new issue