diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-17 05:26:11 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-17 05:26:11 +0000 |
commit | 8448a0fc84ba25e6fd949b8162e3d1c96948d808 (patch) | |
tree | f25ba419b76412d0d072e9e9c9ffa7cbbfb36885 /lib/class/user.class.php | |
parent | d23122dffafa40415b1496c240ebd0b27619ef0f (diff) | |
download | ampache-8448a0fc84ba25e6fd949b8162e3d1c96948d808.tar.gz ampache-8448a0fc84ba25e6fd949b8162e3d1c96948d808.tar.bz2 ampache-8448a0fc84ba25e6fd949b8162e3d1c96948d808.zip |
added shoutbox functionality, only linked from song and album right now also interface for adding could use some improvement and also needs some management stuff to remove stickies etc
Diffstat (limited to 'lib/class/user.class.php')
-rw-r--r-- | lib/class/user.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/class/user.class.php b/lib/class/user.class.php index f8d34c5c..1755aa11 100644 --- a/lib/class/user.class.php +++ b/lib/class/user.class.php @@ -620,6 +620,9 @@ class User { if (!$this->create_date) { $this->f_create_date = _('Unknown'); } else { $this->f_create_date = date("m\/d\/Y - H:i",$this->create_date); } + // Base link + $this->f_link = '<a href="' . Config::get('web_path') . '/stats.php?action=show_user&user_id=' . $this->id . '">' . $this->fullname . '</a>'; + /* Calculate their total Bandwidth Useage */ $sql = "SELECT `song`.`size` FROM `song` LEFT JOIN `object_count` ON `song`.`id`=`object_count`.`object_id` " . "WHERE `object_count`.`user`='$this->id' AND `object_count`.`object_type`='song'"; |