@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $phpbb_gallery_url = $phpbb_container->get('phpbbgallery.core.url'); |
| 31 | 31 | $phpbb_gallery_url->_include('functions_display', 'phpbb'); |
| 32 | 32 | |
| 33 | - $phpbb_ext_gallery_core_album =$phpbb_container->get('phpbbgallery.core.album'); |
|
| 33 | + $phpbb_ext_gallery_core_album = $phpbb_container->get('phpbbgallery.core.album'); |
|
| 34 | 34 | |
| 35 | 35 | $phpbb_ext_gallery_core_auth = $phpbb_container->get('phpbbgallery.core.auth'); |
| 36 | 36 | |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | |
| 155 | 155 | function initialise_album() |
| 156 | 156 | { |
| 157 | - global $cache, $db, $user, $phpbb_ext_gallery_core_auth, $phpbb_ext_gallery_core_album, $phpbb_ext_gallery_config, $albums_table, $phpbb_ext_gallery_user; |
|
| 157 | + global $cache, $db, $user, $phpbb_ext_gallery_core_auth, $phpbb_ext_gallery_core_album, $phpbb_ext_gallery_config, $albums_table, $phpbb_ext_gallery_user; |
|
| 158 | 158 | global $request, $users_table, $phpbb_container; |
| 159 | 159 | |
| 160 | 160 | // we will have to initialise $phpbb_ext_gallery_user |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | |
| 449 | 449 | $this->language = $phpbb_container->get('language'); |
| 450 | 450 | |
| 451 | - $phpbb_gallery_url->_include(array('bbcode','message_parser'), 'phpbb'); |
|
| 451 | + $phpbb_gallery_url->_include(array('bbcode', 'message_parser'), 'phpbb'); |
|
| 452 | 452 | |
| 453 | 453 | $album_id = $request->variable('album_id', 0); |
| 454 | 454 | $phpbb_ext_gallery_core_album->check_user($album_id); |
@@ -837,7 +837,7 @@ discard block |
||
| 837 | 837 | $sql = 'UPDATE ' . $albums_table . " |
| 838 | 838 | SET right_id = right_id - $delete_id |
| 839 | 839 | WHERE right_id > $right_id |
| 840 | - AND album_user_id = ". (int) $user->data['user_id']; |
|
| 840 | + AND album_user_id = " . (int) $user->data['user_id']; |
|
| 841 | 841 | $db->sql_query($sql); |
| 842 | 842 | } |
| 843 | 843 | |
@@ -1021,9 +1021,9 @@ discard block |
||
| 1021 | 1021 | $db->sql_freeresult($result); |
| 1022 | 1022 | |
| 1023 | 1023 | // Subscribed images |
| 1024 | - $start = $request->variable('start', 0); |
|
| 1025 | - $images_per_page = $phpbb_ext_gallery_config->get('items_per_page'); |
|
| 1026 | - $total_images = 0; |
|
| 1024 | + $start = $request->variable('start', 0); |
|
| 1025 | + $images_per_page = $phpbb_ext_gallery_config->get('items_per_page'); |
|
| 1026 | + $total_images = 0; |
|
| 1027 | 1027 | |
| 1028 | 1028 | $sql = 'SELECT COUNT(image_id) as images |
| 1029 | 1029 | FROM ' . $watch_table . ' |
@@ -159,7 +159,7 @@ |
||
| 159 | 159 | 'GALLERY_RESYNC_ALBUMS_TO_CPF_EXPLAIN' => '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', |
@@ -138,13 +138,13 @@ discard block |
||
| 138 | 138 | ); |
| 139 | 139 | |
| 140 | 140 | /** |
| 141 | - * Event to send requested data |
|
| 142 | - * @event phpbbgallery.core.acp.albums.request_data |
|
| 143 | - * @var string action Action we are taking |
|
| 144 | - * @var int album_id Album we are doing it to |
|
| 145 | - * @var array album_data Album data for the album |
|
| 146 | - * @since 1.2.0 |
|
| 147 | - */ |
|
| 141 | + * Event to send requested data |
|
| 142 | + * @event phpbbgallery.core.acp.albums.request_data |
|
| 143 | + * @var string action Action we are taking |
|
| 144 | + * @var int album_id Album we are doing it to |
|
| 145 | + * @var array album_data Album data for the album |
|
| 146 | + * @since 1.2.0 |
|
| 147 | + */ |
|
| 148 | 148 | $vars = array('action', 'album_id', 'album_data'); |
| 149 | 149 | extract($phpbb_dispatcher->trigger_event('phpbbgallery.core.acp.albums.request_data', compact($vars))); |
| 150 | 150 | |
@@ -387,13 +387,13 @@ discard block |
||
| 387 | 387 | ); |
| 388 | 388 | |
| 389 | 389 | /** |
| 390 | - * Event to send default data |
|
| 391 | - * |
|
| 392 | - * @event phpbbgallery.core.acp.albums.default_data |
|
| 393 | - * @var action action Action taken |
|
| 394 | - * @var array album_data Album data array |
|
| 395 | - * @since 1.2.0 |
|
| 396 | - */ |
|
| 390 | + * Event to send default data |
|
| 391 | + * |
|
| 392 | + * @event phpbbgallery.core.acp.albums.default_data |
|
| 393 | + * @var action action Action taken |
|
| 394 | + * @var array album_data Album data array |
|
| 395 | + * @since 1.2.0 |
|
| 396 | + */ |
|
| 397 | 397 | $vars = array('action', 'album_data'); |
| 398 | 398 | extract($phpbb_dispatcher->trigger_event('phpbbgallery.core.acp.albums.default_data', compact($vars))); |
| 399 | 399 | |
@@ -564,13 +564,13 @@ discard block |
||
| 564 | 564 | )); |
| 565 | 565 | |
| 566 | 566 | /** |
| 567 | - * Event after assigning data to template |
|
| 568 | - * |
|
| 569 | - * @event phpbbgallery.core.acp.albums.send_to_template |
|
| 570 | - * @var action action Action taken |
|
| 571 | - * @var array album_data Album data array |
|
| 572 | - * @since 1.2.0 |
|
| 573 | - */ |
|
| 567 | + * Event after assigning data to template |
|
| 568 | + * |
|
| 569 | + * @event phpbbgallery.core.acp.albums.send_to_template |
|
| 570 | + * @var action action Action taken |
|
| 571 | + * @var array album_data Album data array |
|
| 572 | + * @since 1.2.0 |
|
| 573 | + */ |
|
| 574 | 574 | $vars = array('action', 'album_data'); |
| 575 | 575 | extract($phpbb_dispatcher->trigger_event('phpbbgallery.core.acp.albums.send_to_template', compact($vars))); |
| 576 | 576 | |