@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | throw new \phpbb\exception\http_exception(404, 'ALBUM_NOT_EXIST'); |
127 | 127 | } |
128 | 128 | |
129 | - if ($extended_info && !isset($row['contest_id'])) |
|
129 | + if ($extended_info && !isset($row['contest_id'])) |
|
130 | 130 | { |
131 | 131 | $row['contest_id'] = 0; |
132 | 132 | $row['contest_rates_start'] = 0; |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | |
340 | 340 | // Get the album_user_id, so we can keep the user_colour |
341 | 341 | $sql = 'SELECT album_user_id |
342 | - FROM ' . $this->albums_table .' |
|
342 | + FROM ' . $this->albums_table . ' |
|
343 | 343 | WHERE album_id = ' . (int) $album_id; |
344 | 344 | $result = $this->db->sql_query($sql); |
345 | 345 | $album_user_id = $this->db->sql_fetchfield('album_user_id'); |
@@ -347,7 +347,7 @@ discard block |
||
347 | 347 | |
348 | 348 | // Number of not unapproved images |
349 | 349 | $sql = 'SELECT COUNT(image_id) images |
350 | - FROM ' . $this->images_table .' |
|
350 | + FROM ' . $this->images_table . ' |
|
351 | 351 | WHERE image_status <> ' . (int) $this->block->get_image_status_unapproved() . ' |
352 | 352 | AND image_status <> ' . (int) $this->block->get_image_status_orphan() . ' |
353 | 353 | AND image_album_id = ' . (int) $album_id; |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | |
358 | 358 | // Number of total images |
359 | 359 | $sql = 'SELECT COUNT(image_id) images_real |
360 | - FROM ' . $this->images_table .' |
|
360 | + FROM ' . $this->images_table . ' |
|
361 | 361 | WHERE image_status <> ' . (int) $this->block->get_image_status_orphan() . ' |
362 | 362 | AND image_album_id = ' . (int) $album_id; |
363 | 363 | $result = $this->db->sql_query($sql); |
@@ -366,7 +366,7 @@ discard block |
||
366 | 366 | |
367 | 367 | // Data of the last not unapproved image |
368 | 368 | $sql = 'SELECT image_id, image_time, image_name, image_username, image_user_colour, image_user_id |
369 | - FROM ' . $this->images_table .' |
|
369 | + FROM ' . $this->images_table . ' |
|
370 | 370 | WHERE image_status <> ' . (int) $this->block->get_image_status_unapproved() . ' |
371 | 371 | AND image_status <> ' . (int) $this->block->get_image_status_orphan() . ' |
372 | 372 | AND image_album_id = ' . (int) $album_id . ' |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | } |
406 | 406 | $this->db->sql_freeresult($result); |
407 | 407 | |
408 | - $sql = 'UPDATE ' . $this->albums_table .' SET ' . $this->db->sql_build_array('UPDATE', $sql_ary) . ' |
|
408 | + $sql = 'UPDATE ' . $this->albums_table . ' SET ' . $this->db->sql_build_array('UPDATE', $sql_ary) . ' |
|
409 | 409 | WHERE album_id = ' . (int) $album_id; |
410 | 410 | $this->db->sql_query($sql); |
411 | 411 | |
@@ -435,7 +435,7 @@ discard block |
||
435 | 435 | 'album_last_username' => '', |
436 | 436 | 'album_last_user_colour' => $user_colour, |
437 | 437 | ); |
438 | - $this->db->sql_query('INSERT INTO ' . $this->albums_table. ' ' . $this->db->sql_build_array('INSERT', $album_data)); |
|
438 | + $this->db->sql_query('INSERT INTO ' . $this->albums_table . ' ' . $this->db->sql_build_array('INSERT', $album_data)); |
|
439 | 439 | $personal_album_id = $this->db->sql_nextid(); |
440 | 440 | |
441 | 441 | $gallery_user->update_data(array( |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | public $album_mode; |
35 | 35 | |
36 | 36 | public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\controller\helper $helper, |
37 | - \phpbb\db\driver\driver_interface $db, \phpbb\pagination $pagination, |
|
37 | + \phpbb\db\driver\driver_interface $db, \phpbb\pagination $pagination, |
|
38 | 38 | \phpbb\request\request $request, \phpbb\template\template $template, |
39 | 39 | \phpbb\user $user, \phpbb\language\language $language, \phpbbgallery\core\auth\auth $gallery_auth, |
40 | 40 | \phpbbgallery\core\user $gallery_user, \phpbbgallery\core\misc $misc, |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | |
95 | 95 | $sql = 'SELECT a2.* |
96 | 96 | FROM ' . $this->table_albums . ' a1 |
97 | - LEFT JOIN ' . $this->table_albums . ' a2 ON (' . $condition .') AND a2.album_user_id = ' . (int) $branch_user_id .' |
|
97 | + LEFT JOIN ' . $this->table_albums . ' a2 ON (' . $condition . ') AND a2.album_user_id = ' . (int) $branch_user_id . ' |
|
98 | 98 | WHERE a1.album_id = ' . (int) $album_id . ' |
99 | 99 | AND a1.album_user_id = ' . (int) $branch_user_id . ' |
100 | 100 | ORDER BY a2.left_id ' . (($order == 'descending') ? 'ASC' : 'DESC'); |
@@ -177,9 +177,9 @@ discard block |
||
177 | 177 | 'ALBUM_ID' => $album_data['album_id'], |
178 | 178 | 'ALBUM_NAME' => $album_data['album_name'], |
179 | 179 | 'ALBUM_DESC' => generate_text_for_display($album_data['album_desc'], $album_data['album_desc_uid'], $album_data['album_desc_bitfield'], $album_data['album_desc_options']), |
180 | - 'ALBUM_CONTEST_START' => ($album_data['album_type'] == \phpbbgallery\core\block::TYPE_CONTEST) ? $this->language->lang('CONTEST_START' . ((($album_data['contest_start']) < time())? 'ED' : 'S'), $this->user->format_date(($album_data['contest_start']), false, true)) : '', |
|
181 | - 'ALBUM_CONTEST_RATING' => ($album_data['album_type'] == \phpbbgallery\core\block::TYPE_CONTEST) ? $this->language->lang('CONTEST_RATING_START' . ((($album_data['contest_start'] + $album_data['contest_rating']) < time())? 'ED' : 'S'), $this->user->format_date(($album_data['contest_start'] + $album_data['contest_rating']), false, true)) : '', |
|
182 | - 'ALBUM_CONTEST_END' => ($album_data['album_type'] == \phpbbgallery\core\block::TYPE_CONTEST) ? $this->language->lang('CONTEST_END' . ((($album_data['contest_start'] + $album_data['contest_end']) < time())? 'ED' : 'S'), $this->user->format_date(($album_data['contest_start'] + $album_data['contest_end']), false, true)) : '', |
|
180 | + 'ALBUM_CONTEST_START' => ($album_data['album_type'] == \phpbbgallery\core\block::TYPE_CONTEST) ? $this->language->lang('CONTEST_START' . ((($album_data['contest_start']) < time()) ? 'ED' : 'S'), $this->user->format_date(($album_data['contest_start']), false, true)) : '', |
|
181 | + 'ALBUM_CONTEST_RATING' => ($album_data['album_type'] == \phpbbgallery\core\block::TYPE_CONTEST) ? $this->language->lang('CONTEST_RATING_START' . ((($album_data['contest_start'] + $album_data['contest_rating']) < time()) ? 'ED' : 'S'), $this->user->format_date(($album_data['contest_start'] + $album_data['contest_rating']), false, true)) : '', |
|
182 | + 'ALBUM_CONTEST_END' => ($album_data['album_type'] == \phpbbgallery\core\block::TYPE_CONTEST) ? $this->language->lang('CONTEST_END' . ((($album_data['contest_start'] + $album_data['contest_end']) < time()) ? 'ED' : 'S'), $this->user->format_date(($album_data['contest_start'] + $album_data['contest_end']), false, true)) : '', |
|
183 | 183 | 'U_VIEW_ALBUM' => $this->helper->route('phpbbgallery_core_album', array('album_id' => $album_data['album_id'])), |
184 | 184 | )); |
185 | 185 | |
@@ -691,9 +691,9 @@ discard block |
||
691 | 691 | // phpbb_ext_gallery_core_image::generate_link('thumbnail', $phpbb_ext_gallery->config->get('link_thumbnail'), $lastimage_image_id, $lastimage_name, $lastimage_album_id); |
692 | 692 | $lastimage_uc_thumbnail = $row['album_image'] ? generate_board_url() . '/' . $row['album_image'] : $this->helper->route('phpbbgallery_core_image_file_mini', array('image_id' => $row['album_last_image_id'])); |
693 | 693 | // phpbb_ext_gallery_core_image::generate_link('image_name', $phpbb_ext_gallery->config->get('link_image_name'), $lastimage_image_id, $lastimage_name, $lastimage_album_id); |
694 | - $lastimage_uc_name = '';//@todo phpbb_ext_gallery_core_image::generate_link('image_name', $phpbb_ext_gallery->config->get('link_image_name'), $lastimage_image_id, $lastimage_name, $lastimage_album_id); |
|
694 | + $lastimage_uc_name = ''; //@todo phpbb_ext_gallery_core_image::generate_link('image_name', $phpbb_ext_gallery->config->get('link_image_name'), $lastimage_image_id, $lastimage_name, $lastimage_album_id); |
|
695 | 695 | // phpbb_ext_gallery_core_image::generate_link('lastimage_icon', $phpbb_ext_gallery->config->get('link_image_icon'), $lastimage_image_id, $lastimage_name, $lastimage_album_id); |
696 | - $lastimage_uc_icon = '';//@todo phpbb_ext_gallery_core_image::generate_link('lastimage_icon', $phpbb_ext_gallery->config->get('link_image_icon'), $lastimage_image_id, $lastimage_name, $lastimage_album_id); |
|
696 | + $lastimage_uc_icon = ''; //@todo phpbb_ext_gallery_core_image::generate_link('lastimage_icon', $phpbb_ext_gallery->config->get('link_image_icon'), $lastimage_image_id, $lastimage_name, $lastimage_album_id); |
|
697 | 697 | } |
698 | 698 | else |
699 | 699 | { |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | } |
167 | 167 | else |
168 | 168 | { |
169 | - $contest_data['contest_start'] = gmmktime((int) $m[4], (int) $m[5], 0, (int) $m[2], (int) $m[3], (int) $m[1]) - $time->getOffset();// - $offset; |
|
169 | + $contest_data['contest_start'] = gmmktime((int) $m[4], (int) $m[5], 0, (int) $m[2], (int) $m[3], (int) $m[1]) - $time->getOffset(); // - $offset; |
|
170 | 170 | } |
171 | 171 | if (!preg_match('#(\\d{4})-(\\d{1,2})-(\\d{1,2}) (\\d{1,2}):(\\d{2})#', $contest_data['contest_rating'], $m)) |
172 | 172 | { |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | } |
176 | 176 | else if (!$start_date_error) |
177 | 177 | { |
178 | - $contest_data['contest_rating'] = gmmktime($m[4], $m[5], 0, $m[2], $m[3], $m[1]) - $contest_data['contest_start'] - $time->getOffset();//- $offset; |
|
178 | + $contest_data['contest_rating'] = gmmktime($m[4], $m[5], 0, $m[2], $m[3], $m[1]) - $contest_data['contest_start'] - $time->getOffset(); //- $offset; |
|
179 | 179 | } |
180 | 180 | if (!preg_match('#(\\d{4})-(\\d{1,2})-(\\d{1,2}) (\\d{1,2}):(\\d{2})#', $contest_data['contest_end'], $m)) |
181 | 181 | { |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | } |
185 | 185 | else if (!$start_date_error) |
186 | 186 | { |
187 | - $contest_data['contest_end'] = gmmktime($m[4], $m[5], 0, $m[2], $m[3], $m[1]) - $contest_data['contest_start'] - $time->getOffset();//- $offset; |
|
187 | + $contest_data['contest_end'] = gmmktime($m[4], $m[5], 0, $m[2], $m[3], $m[1]) - $contest_data['contest_start'] - $time->getOffset(); //- $offset; |
|
188 | 188 | } |
189 | 189 | if (!$start_date_error && !$date_error) |
190 | 190 | { |
@@ -710,7 +710,7 @@ discard block |
||
710 | 710 | $album_data = $this->gallery_album->get_info($album_id); |
711 | 711 | |
712 | 712 | $sql = 'UPDATE ' . $this->albums_table . ' |
713 | - SET parent_id = ' . (int) $subalbums_to_id .' |
|
713 | + SET parent_id = ' . (int) $subalbums_to_id . ' |
|
714 | 714 | WHERE parent_id = ' . (int) $album_id . ' |
715 | 715 | AND album_user_id = ' . (int) $this->user_id; |
716 | 716 | $this->db->sql_query($sql); |
@@ -738,13 +738,13 @@ discard block |
||
738 | 738 | // Resync tree |
739 | 739 | $sql = 'UPDATE ' . $this->albums_table . ' |
740 | 740 | SET right_id = right_id - ' . (int) $diff . ' |
741 | - WHERE left_id < ' . (int) $album_data['right_id'] . ' AND right_id > ' . (int) $album_data['right_id']. ' |
|
741 | + WHERE left_id < ' . (int) $album_data['right_id'] . ' AND right_id > ' . (int) $album_data['right_id'] . ' |
|
742 | 742 | AND album_user_id = ' . (int) $this->user_id; |
743 | 743 | $this->db->sql_query($sql); |
744 | 744 | |
745 | 745 | $sql = 'UPDATE ' . $this->albums_table . ' |
746 | 746 | SET left_id = left_id - ' . (int) $diff . ', right_id = right_id - ' . (int) $diff . ' |
747 | - WHERE left_id > ' . (int) $album_data['right_id']. ' |
|
747 | + WHERE left_id > ' . (int) $album_data['right_id'] . ' |
|
748 | 748 | AND album_user_id = ' . (int) $this->user_id; |
749 | 749 | $this->db->sql_query($sql); |
750 | 750 | |
@@ -1037,7 +1037,7 @@ discard block |
||
1037 | 1037 | // Now do the dirty job |
1038 | 1038 | $sql = 'UPDATE ' . $this->albums_table . ' |
1039 | 1039 | SET left_id = left_id + CASE |
1040 | - WHEN left_id BETWEEN ' . (int) $move_up_left . ' AND ' . (int) $move_up_right . ' THEN -' .(int) $diff_up . ' |
|
1040 | + WHEN left_id BETWEEN ' . (int) $move_up_left . ' AND ' . (int) $move_up_right . ' THEN -' . (int) $diff_up . ' |
|
1041 | 1041 | ELSE ' .(int) $diff_down . ' |
1042 | 1042 | END, |
1043 | 1043 | right_id = right_id + CASE |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | $this->template->assign_block_vars('commentrow', array( |
311 | 311 | 'COMMENT_ID' => (int) $var['comment_id'], |
312 | 312 | 'U_DELETE' => ($this->gallery_auth->acl_check('m_comments', $album_tmp['album_id'], $album_tmp['album_user_id']) || ($this->gallery_auth->acl_check('c_delete', $album_tmp['album_id'], $album_tmp['album_user_id']) && ($var['comment_user_id'] == $this->user->data['user_id']) && $this->user->data['is_registered'])) ? $this->helper->route('phpbbgallery_core_comment_delete', array('image_id' => $var['comment_image_id'], 'comment_id' => $var['comment_id'])) : false, |
313 | - 'U_EDIT' => $this->gallery_auth->acl_check('c_edit', $album_tmp['album_id'], $album_tmp['album_user_id'])? $this->helper->route('phpbbgallery_core_comment_edit', array('image_id' => $var['comment_image_id'], 'comment_id' => $var['comment_id'])) : false, |
|
313 | + 'U_EDIT' => $this->gallery_auth->acl_check('c_edit', $album_tmp['album_id'], $album_tmp['album_user_id']) ? $this->helper->route('phpbbgallery_core_comment_edit', array('image_id' => $var['comment_image_id'], 'comment_id' => $var['comment_id'])) : false, |
|
314 | 314 | 'U_QUOTE' => ($this->gallery_auth->acl_check('c_post', $album_tmp['album_id'], $album_tmp['album_user_id'])) ? $this->helper->route('phpbbgallery_core_comment_add', array('image_id' => $var['comment_image_id'], 'comment_id' => $var['comment_id'])) : false, |
315 | 315 | 'U_COMMENT' => $this->helper->route('phpbbgallery_core_image', array('image_id' => $var['comment_image_id'])) . '#comment_' . $var['comment_id'], |
316 | 316 | 'POST_AUTHOR_FULL' => $this->user_loader->get_username($var['comment_user_id'], 'full'), |
@@ -443,7 +443,7 @@ discard block |
||
443 | 443 | if ($user > 0) |
444 | 444 | { |
445 | 445 | $this->template->assign_block_vars('imageblock', array( |
446 | - 'BLOCK_NAME' => $block_name ? $block_name : '' , |
|
446 | + 'BLOCK_NAME' => $block_name ? $block_name : '', |
|
447 | 447 | 'U_BLOCK' => $u_block ? $u_block : $this->helper->route('phpbbgallery_core_search_egosearch'), |
448 | 448 | )); |
449 | 449 | } |
@@ -543,7 +543,7 @@ discard block |
||
543 | 543 | $this->db->sql_freeresult($result); |
544 | 544 | $count = $row['count']; |
545 | 545 | $sql_array['SELECT'] = '* , a.album_name, a.album_status, a.album_user_id, a.album_id'; |
546 | - $sql_array['LEFT_JOIN'] = array( |
|
546 | + $sql_array['LEFT_JOIN'] = array( |
|
547 | 547 | array( |
548 | 548 | 'FROM' => array($this->albums_table => 'a'), |
549 | 549 | 'ON' => 'a.album_id = i.image_album_id', |
@@ -62,16 +62,16 @@ discard block |
||
62 | 62 | * @param $php_ext |
63 | 63 | */ |
64 | 64 | public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\event\dispatcher $dispatcher, \phpbb\user $user, |
65 | - \phpbb\profilefields\manager $user_cpf, \phpbb\config\config $config, \phpbb\auth\auth $auth, |
|
65 | + \phpbb\profilefields\manager $user_cpf, \phpbb\config\config $config, \phpbb\auth\auth $auth, |
|
66 | 66 | $table_name, $root_path, $php_ext) |
67 | 67 | { |
68 | 68 | $this->db = $db; |
69 | - $this->dispatcher = $dispatcher; |
|
69 | + $this->dispatcher = $dispatcher; |
|
70 | 70 | $this->user = $user; |
71 | 71 | $this->user_cpf = $user_cpf; |
72 | 72 | $this->config = $config; |
73 | 73 | $this->auth = $auth; |
74 | - $this->gallery_users_table = $table_name; |
|
74 | + $this->gallery_users_table = $table_name; |
|
75 | 75 | $this->root_path = $root_path; |
76 | 76 | $this->php_ext = $php_ext; |
77 | 77 | } |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | public function set_user_id($user_id, $load = true) |
86 | 86 | { |
87 | - $this->user_id = (int) $user_id; |
|
87 | + $this->user_id = (int) $user_id; |
|
88 | 88 | if ($load) |
89 | 89 | { |
90 | 90 | $this->load_data(); |
@@ -107,15 +107,15 @@ discard block |
||
107 | 107 | */ |
108 | 108 | public function load_data() |
109 | 109 | { |
110 | - $this->entry_exists = false; |
|
110 | + $this->entry_exists = false; |
|
111 | 111 | $sql = 'SELECT * |
112 | 112 | FROM ' . $this->gallery_users_table . ' |
113 | 113 | WHERE user_id = ' . (int) $this->user_id; |
114 | 114 | $result = $this->db->sql_query($sql, 30); |
115 | 115 | if ($row = $this->db->sql_fetchrow($result)) |
116 | 116 | { |
117 | - $this->data = $this->validate_data($row); |
|
118 | - $this->entry_exists = true; |
|
117 | + $this->data = $this->validate_data($row); |
|
118 | + $this->entry_exists = true; |
|
119 | 119 | } |
120 | 120 | $this->db->sql_freeresult($result); |
121 | 121 | |
@@ -646,7 +646,7 @@ discard block |
||
646 | 646 | while ($row = $this->db->sql_fetchrow($result)) |
647 | 647 | { |
648 | 648 | //var_dump($row); |
649 | - if($row['personal_album_id'] > 0) |
|
649 | + if ($row['personal_album_id'] > 0) |
|
650 | 650 | { |
651 | 651 | $set_array[$row['user_id']] = $row['personal_album_id']; |
652 | 652 | } |
@@ -655,7 +655,7 @@ discard block |
||
655 | 655 | $updated_rows = 0; |
656 | 656 | if (count($set_array) > 0) |
657 | 657 | { |
658 | - foreach($set_array as $uid => $album_id) |
|
658 | + foreach ($set_array as $uid => $album_id) |
|
659 | 659 | { |
660 | 660 | // Fill album CPF. |
661 | 661 | $cpf_vars = array( |
@@ -294,13 +294,13 @@ |
||
294 | 294 | |
295 | 295 | if (($this->image_size['height'] / $max_height) > ($this->image_size['width'] / $max_width)) |
296 | 296 | { |
297 | - $this->thumb_height = $max_height; |
|
298 | - $this->thumb_width = round($max_width * (($this->image_size['width'] / $max_width) / ($this->image_size['height'] / $max_height))); |
|
297 | + $this->thumb_height = $max_height; |
|
298 | + $this->thumb_width = round($max_width * (($this->image_size['width'] / $max_width) / ($this->image_size['height'] / $max_height))); |
|
299 | 299 | } |
300 | 300 | else |
301 | 301 | { |
302 | - $this->thumb_height = round($max_height * (($this->image_size['height'] / $max_height) / ($this->image_size['width'] / $max_width))); |
|
303 | - $this->thumb_width = $max_width; |
|
302 | + $this->thumb_height = round($max_height * (($this->image_size['height'] / $max_height) / ($this->image_size['width'] / $max_width))); |
|
303 | + $this->thumb_width = $max_width; |
|
304 | 304 | } |
305 | 305 | |
306 | 306 | $image_copy = (($this->gd_version == self::GDLIB1) ? @imagecreate($this->thumb_width, $this->thumb_height + $additional_height) : @imagecreatetruecolor($this->thumb_width, $this->thumb_height + $additional_height)); |
@@ -122,13 +122,13 @@ |
||
122 | 122 | } |
123 | 123 | if ($recent) |
124 | 124 | { |
125 | - $block_name = $this->language->lang('RECENT_IMAGES'); |
|
125 | + $block_name = $this->language->lang('RECENT_IMAGES'); |
|
126 | 126 | $u_block = ' '; |
127 | 127 | $this->gallery_search->recent($this->gallery_config->get('rrc_profile_items'), -1, $event['member']['user_id'], 'rrc_profile_display', $block_name, $u_block); |
128 | 128 | } |
129 | 129 | if ($random) |
130 | 130 | { |
131 | - $block_name = $this->language->lang('RANDOM_IMAGES'); |
|
131 | + $block_name = $this->language->lang('RANDOM_IMAGES'); |
|
132 | 132 | $u_block = ' '; |
133 | 133 | $this->gallery_search->random($this->gallery_config->get('rrc_profile_items'), $event['member']['user_id'], 'rrc_profile_display', $block_name, $u_block); |
134 | 134 | } |
@@ -159,7 +159,7 @@ |
||
159 | 159 | 'GALLERY_RESYNC_ALBUMS_TO_CPF_EXPAIN' => 'Diese Aktion wird alle persönlichen Alben auf dem Toplevel als kontaktbasierte selbsterstellt Profilfelder resynchronisieren . <br> WARNUNG! Dies kann beim Vorhandensein sehr vieler solcher Alben sehr lange dauern!', |
160 | 160 | 'GALLERY_RESYNC_ALBUMS_TO_CPF_CONFIRM' => 'Bist Du sicher, dass Du den Resync aller persönlichen Alben auf dem Toplevel als kontaktbasierte selbsterstellte Profilfelder durchführen willst?', |
161 | 161 | 'GALLERY_STATS' => 'Galerie Statistik', |
162 | - 'GALLERY_VERSION' => 'Version der phpBB Gallery',//ja mit ll und y, da es sich um den MOD-Namen handelt |
|
162 | + 'GALLERY_VERSION' => 'Version der phpBB Gallery', //ja mit ll und y, da es sich um den MOD-Namen handelt |
|
163 | 163 | 'GD_VERSION' => 'GD Version optimieren', |
164 | 164 | 'GENERAL_ALBUM_SETTINGS' => 'Allgemeine Albumseinstellungen', |
165 | 165 | 'GIF_ALLOWED' => 'Es ist erlaubt GIF-Dateien hochzuladen', |
@@ -94,7 +94,7 @@ |
||
94 | 94 | 'comment_time' => time(), |
95 | 95 | ); |
96 | 96 | |
97 | - $this->db->sql_query('INSERT INTO ' .$this->comments_table .' ' . $this->db->sql_build_array('INSERT', $data)); |
|
97 | + $this->db->sql_query('INSERT INTO ' . $this->comments_table . ' ' . $this->db->sql_build_array('INSERT', $data)); |
|
98 | 98 | $newest_comment_id = (int) $this->db->sql_nextid(); |
99 | 99 | $this->config->inc('num_comments', 1); |
100 | 100 |