- 'sw' => $SW,
- 'id' => $id,
- 'uid' => ADMIN_USER_PROFILE_LINK($uid),
- 'start' => MAKE_DATETIME($start, "3"),
- 'end' => MAKE_DATETIME($end, "3"),
- 'comments' => wordwrap($comments, 15),
- 'status' => TRANSLATE_STATUS($status),
- 'last' => MAKE_DATETIME($last, "3"),
+ 'id' => $content['id'],
+ 'userid' => $content['userid'],
+ 'start' => generateDateTime($content['holiday_start'], 3),
+ 'end' => generateDateTime($content['holiday_end'], 3),
+ 'comments' => wordwrap($content['comments'], 15),
+ 'status' => $content['status'],
+ 'last_online' => generateDateTime($content['last_online'], 3),