summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_block_log_entries.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-23 21:38:01 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-23 21:38:01 -0800
commited5b07b335d8bd1520f3b54bf28272f853bbfbfb (patch)
tree45c511ca0ad64142c5de7be64fa508b469bb89ad /modules/gallery/views/admin_block_log_entries.html.php
parenta1a3d4f59568dc7de2b309796752a49242fde6f0 (diff)
Create a user profile page that is used as a landing page when referencing a user in messages or pages.
Partial fix for ticket #889 and a fix for #931.
Diffstat (limited to 'modules/gallery/views/admin_block_log_entries.html.php')
-rw-r--r--modules/gallery/views/admin_block_log_entries.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/admin_block_log_entries.html.php b/modules/gallery/views/admin_block_log_entries.html.php
index 780ff2d0..90ce88a7 100644
--- a/modules/gallery/views/admin_block_log_entries.html.php
+++ b/modules/gallery/views/admin_block_log_entries.html.php
@@ -2,7 +2,7 @@
<ul>
<? foreach ($entries as $entry): ?>
<li class="<?= log::severity_class($entry->severity) ?>" style="direction: ltr">
- <a href="<?= url::site("user/$entry->user_id") ?>"><?= html::clean($entry->user->name) ?></a>
+ <a href="<?= user_profile::url($entryr->id) ?>"><?= html::clean($entry->user->name) ?></a>
<?= gallery::date_time($entry->timestamp) ?>
<?= $entry->message ?>
<?= $entry->html ?>