themable user links

This commit is contained in:
Shish
2009-08-03 10:46:40 +01:00
parent 43d9161d6b
commit 63be20458d
4 changed files with 13 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ class UserBlockBuildingEvent extends Event {
public function add_link($name, $link, $position=50) {
while(isset($this->parts[$position])) $position++;
$this->parts[$position] = "<a href='$link'>$name</a>";
$this->parts[$position] = array("name" => $name, "link" => $link);
}
}