@@ 260-264 (lines=5) @@ | ||
257 | $res = get_html_resource(RES_EVENT_COMMENT_ADDED_ID, $locale); |
|
258 | break; |
|
259 | ||
260 | case EVENT_FILE_ATTACHED: |
|
261 | $rs2 = dal_query('attachs/fndk.sql', $event_id); |
|
262 | $name = ($rs2->rows == 0 ? '?' : $rs2->fetch('attachment_name')); |
|
263 | $res = ustrprocess(get_html_resource(RES_EVENT_FILE_ATTACHED_ID, $locale), ustr2html($name)); |
|
264 | break; |
|
265 | ||
266 | case EVENT_FILE_REMOVED: |
|
267 | $rs2 = dal_query('attachs/fndid.sql', $event_param); |
|
@@ 266-270 (lines=5) @@ | ||
263 | $res = ustrprocess(get_html_resource(RES_EVENT_FILE_ATTACHED_ID, $locale), ustr2html($name)); |
|
264 | break; |
|
265 | ||
266 | case EVENT_FILE_REMOVED: |
|
267 | $rs2 = dal_query('attachs/fndid.sql', $event_param); |
|
268 | $name = ($rs2->rows == 0 ? '?' : $rs2->fetch('attachment_name')); |
|
269 | $res = ustrprocess(get_html_resource(RES_EVENT_FILE_REMOVED_ID, $locale), ustr2html($name)); |
|
270 | break; |
|
271 | ||
272 | case EVENT_RECORD_CLONED: |
|
273 | $res = ustrprocess(get_html_resource(RES_EVENT_RECORD_CLONED_ID, $locale), str_pad($event_param, 3, '0', STR_PAD_LEFT)); |