| @@ 290-293 (lines=4) @@ | ||
| 287 | 'item_id' => $item_id,  | 
                                |
| 288 | ];  | 
                                |
| 289 | ||
| 290 |         if ($this->use_captcha == TRUE) { | 
                                |
| 291 | $this->dx_auth->captcha();  | 
                                |
| 292 | $data['cap_image'] = $this->dx_auth->get_captcha_image();  | 
                                |
| 293 | }  | 
                                |
| 294 | ||
| 295 |         ($hook = get_hook('comments_read_com_tpl')) ? eval($hook) : NULL; | 
                                |
| 296 | ||
| @@ 68-71 (lines=4) @@ | ||
| 65 | 'enable_comments' => $this->enable_comments,  | 
                                |
| 66 | ];  | 
                                |
| 67 | ||
| 68 |         if ($this->use_captcha == TRUE) { | 
                                |
| 69 | $this->dx_auth->captcha();  | 
                                |
| 70 | $data['cap_image'] = $this->dx_auth->get_captcha_image();  | 
                                |
| 71 | }  | 
                                |
| 72 | return $data;  | 
                                |
| 73 | }  | 
                                |
| 74 | ||
| @@ 125-128 (lines=4) @@ | ||
| 122 | 'enable_comments' => $this->enable_comments,  | 
                                |
| 123 | ];  | 
                                |
| 124 | ||
| 125 |         if ($this->use_captcha == TRUE) { | 
                                |
| 126 | $this->dx_auth->captcha();  | 
                                |
| 127 | $data['cap_image'] = $this->dx_auth->get_captcha_image();  | 
                                |
| 128 | }  | 
                                |
| 129 |         ($hook = get_hook('comments_read_com_tpl')) ? eval($hook) : NULL; | 
                                |
| 130 | ||
| 131 | $comments = $this->_fetchComments($data);  | 
                                |
| @@ 187-190 (lines=4) @@ | ||
| 184 |                  'visibleMainForm'    => $this->input->post('visibleMainForm'), | 
                                |
| 185 | ];  | 
                                |
| 186 | ||
| 187 |         if ($this->use_captcha == TRUE && !$this->dx_auth->is_admin()) { | 
                                |
| 188 | $this->dx_auth->captcha();  | 
                                |
| 189 | $data['cap_image'] = $this->dx_auth->get_captcha_image();  | 
                                |
| 190 | }  | 
                                |
| 191 |         ($hook = get_hook('comments_read_com_tpl')) ? eval($hook) : NULL; | 
                                |
| 192 | ||
| 193 | $comments = $this->_fetchComments($data);  | 
                                |