?> </th> </tr> </thead> <tbody> <?php foreach ($recent_jobs as $jobs) { $timestamp = wskl_get_from_assoc($jobs, 'timestamp'); $total_notified = wskl_get_from_assoc($jobs, 'total_notified'); $total_disabled = wskl_get_from_assoc($jobs, 'total_disabled'); $notification_spent = wskl_get_from_assoc($jobs, 'notification_spent'); $deactivation_spent = wskl_get_from_assoc($jobs, 'deactivation_spent'); ?> <tr> <td><?php echo wskl_datetime_string($timestamp); ?> </td> <td><?php printf(_n('%s명', '%s명', $total_notified, 'wskl'), $total_notified); ?> <?php printf('(%.03fms)', $notification_spent * 1000); ?> </td> <td><?php printf(_n('%s명', '%s명', $total_disabled, 'wskl'), $total_disabled); ?> <?php
private function format_datetime($timestamp) { if (!$timestamp) { return __('기록 없음', 'wskl'); } return wskl_datetime_string($timestamp, TRUE); }