@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | public function base($image_id, $page = 0) |
229 | 229 | { |
230 | 230 | |
231 | - $this->language->add_lang( array('gallery'), 'phpbbgallery/core'); |
|
231 | + $this->language->add_lang(array('gallery'), 'phpbbgallery/core'); |
|
232 | 232 | try |
233 | 233 | { |
234 | 234 | $sql = 'SELECT * |
@@ -508,8 +508,8 @@ discard block |
||
508 | 508 | $this->language->add_lang('posting'); |
509 | 509 | $this->url->_include('functions_posting', 'phpbb'); |
510 | 510 | |
511 | - $bbcode_status = ($this->config['allow_bbcode']) ? true : false; |
|
512 | - $smilies_status = ($this->config['allow_smilies']) ? true : false; |
|
511 | + $bbcode_status = ($this->config['allow_bbcode']) ? true : false; |
|
512 | + $smilies_status = ($this->config['allow_smilies']) ? true : false; |
|
513 | 513 | $img_status = ($bbcode_status) ? true : false; |
514 | 514 | $url_status = ($this->config['allow_post_links']) ? true : false; |
515 | 515 | $flash_status = false; |
@@ -667,7 +667,7 @@ discard block |
||
667 | 667 | if ($this->users_data_array[$poster_id]['sig'] && empty($this->users_data_array[$poster_id]['sig_parsed'])) |
668 | 668 | { |
669 | 669 | $parse_flags = ($this->users_data_array[$poster_id]['sig_bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0) | OPTION_FLAG_SMILIES; |
670 | - $user_cache[$poster_id]['sig'] = generate_text_for_display($this->users_data_array[$poster_id]['sig'], $this->users_data_array[$poster_id]['sig_bbcode_uid'], $this->users_data_array[$poster_id]['sig_bbcode_bitfield'], $parse_flags, true); |
|
670 | + $user_cache[$poster_id]['sig'] = generate_text_for_display($this->users_data_array[$poster_id]['sig'], $this->users_data_array[$poster_id]['sig_bbcode_uid'], $this->users_data_array[$poster_id]['sig_bbcode_bitfield'], $parse_flags, true); |
|
671 | 671 | $user_cache[$poster_id]['sig_parsed'] = true; |
672 | 672 | } |
673 | 673 | |
@@ -846,7 +846,7 @@ discard block |
||
846 | 846 | include_once($this->phpbb_root_path . 'includes/message_parser.' . $this->php_ext); |
847 | 847 | } |
848 | 848 | $message_parser = new \parse_message(); |
849 | - $message_parser->message = utf8_normalize_nfc($image_desc); |
|
849 | + $message_parser->message = utf8_normalize_nfc($image_desc); |
|
850 | 850 | if ($message_parser->message) |
851 | 851 | { |
852 | 852 | $message_parser->parse(true, true, true, true, false, true, true, true); |
@@ -1002,8 +1002,8 @@ discard block |
||
1002 | 1002 | { |
1003 | 1003 | include_once($this->phpbb_root_path . 'includes/message_parser.' . $this->php_ext); |
1004 | 1004 | } |
1005 | - $message_parser = new \parse_message(); |
|
1006 | - $message_parser->message = $disp_image_data['image_desc']; |
|
1005 | + $message_parser = new \parse_message(); |
|
1006 | + $message_parser->message = $disp_image_data['image_desc']; |
|
1007 | 1007 | $message_parser->decode_message($disp_image_data['image_desc_uid']); |
1008 | 1008 | |
1009 | 1009 | $page_title = $disp_image_data['image_name']; |