gruffen commited on 2011-04-01 15:58:36
Showing 2 changed files, with 4 additions and 0 deletions.
... | ... |
@@ -163,6 +163,10 @@ function shd_load_action_log_entries($start = 0, $items_per_page = 10, $sort = ' |
163 | 163 |
'can_remove' => empty($context['waittime']) ? false : ($row['log_time'] < $context['waittime']), |
164 | 164 |
); |
165 | 165 |
|
166 |
+ // We want to use a generic icon for custom fields changes. |
|
167 |
+ if (strpos($row['action'], 'cf_') === 0) |
|
168 |
+ $actions[$row['id_action']]['action_icon'] = 'log_cfchange.png'; |
|
169 |
+ |
|
166 | 170 |
if (shd_allowed_to('shd_view_ip_any') || ($row['id_member'] == $user_info['id'] && shd_allowed_to('shd_view_ip_own'))) |
167 | 171 |
$actions[$row['id_action']]['member']['ip'] = !empty($row['ip']) ? $row['ip'] : $txt['shd_admin_actionlog_unknown']; |
168 | 172 |
} |
169 | 173 |