@@ -502,7 +502,7 @@ |
||
| 502 | 502 | |
| 503 | 503 | // ok ... redirect the get-data |
| 504 | 504 | $target = ($opt['page']['https']['force_login'] ? 'https' : $opt['page']['protocol']) |
| 505 | - . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; |
|
| 505 | + . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; |
|
| 506 | 506 | $this->redirect('login.php?target=' . urlencode($target)); |
| 507 | 507 | } |
| 508 | 508 | |
@@ -187,9 +187,9 @@ discard block |
||
| 187 | 187 | |
| 188 | 188 | return $this->render( |
| 189 | 189 | 'backend/support/searchedCaches.html.twig', [ |
| 190 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 191 | - 'foundCaches' => $fetchedCaches |
|
| 192 | - ] |
|
| 190 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 191 | + 'foundCaches' => $fetchedCaches |
|
| 192 | + ] |
|
| 193 | 193 | ); |
| 194 | 194 | } |
| 195 | 195 | |
@@ -211,9 +211,9 @@ discard block |
||
| 211 | 211 | |
| 212 | 212 | return $this->render( |
| 213 | 213 | 'backend/support/reportedCaches.html.twig', [ |
| 214 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 215 | - 'reportedCaches_by_id' => $fetchedReports |
|
| 216 | - ] |
|
| 214 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 215 | + 'reportedCaches_by_id' => $fetchedReports |
|
| 216 | + ] |
|
| 217 | 217 | ); |
| 218 | 218 | } |
| 219 | 219 | |
@@ -233,10 +233,10 @@ discard block |
||
| 233 | 233 | |
| 234 | 234 | return $this->render( |
| 235 | 235 | 'backend/support/bonusCaches.html.twig', [ |
| 236 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 237 | - 'supportAssignBonusCacheForm' => $formAssignBonusCache->createView(), |
|
| 238 | - 'bonusCaches_by_id' => $fetchedBonuscaches |
|
| 239 | - ] |
|
| 236 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 237 | + 'supportAssignBonusCacheForm' => $formAssignBonusCache->createView(), |
|
| 238 | + 'bonusCaches_by_id' => $fetchedBonuscaches |
|
| 239 | + ] |
|
| 240 | 240 | ); |
| 241 | 241 | } |
| 242 | 242 | |
@@ -259,10 +259,10 @@ discard block |
||
| 259 | 259 | |
| 260 | 260 | return $this->render( |
| 261 | 261 | 'backend/support/bonusCachesAssignment.html.twig', [ |
| 262 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 263 | - 'bonus_Cache' => $wpID, |
|
| 264 | - 'caches_by_owner' => $fetchedOwnerCaches |
|
| 265 | - ] |
|
| 262 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 263 | + 'bonus_Cache' => $wpID, |
|
| 264 | + 'caches_by_owner' => $fetchedOwnerCaches |
|
| 265 | + ] |
|
| 266 | 266 | ); |
| 267 | 267 | } |
| 268 | 268 | |
@@ -290,10 +290,10 @@ discard block |
||
| 290 | 290 | |
| 291 | 291 | return $this->render( |
| 292 | 292 | 'backend/support/bonusCachesAssignment.html.twig', [ |
| 293 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 294 | - 'bonus_Cache' => $toBonusCache, |
|
| 295 | - 'caches_by_owner' => $fetchedOwnerCaches |
|
| 296 | - ] |
|
| 293 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 294 | + 'bonus_Cache' => $toBonusCache, |
|
| 295 | + 'caches_by_owner' => $fetchedOwnerCaches |
|
| 296 | + ] |
|
| 297 | 297 | ); |
| 298 | 298 | } |
| 299 | 299 | |
@@ -401,10 +401,10 @@ discard block |
||
| 401 | 401 | |
| 402 | 402 | return $this->render( |
| 403 | 403 | 'backend/support/databaseQueries.html.twig', [ |
| 404 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 405 | - 'SQLFlexForm' => $formSQLFlex->createView(), |
|
| 406 | - 'suppSQLqueryFlex' => $fetchedInformation |
|
| 407 | - ] |
|
| 404 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 405 | + 'SQLFlexForm' => $formSQLFlex->createView(), |
|
| 406 | + 'suppSQLqueryFlex' => $fetchedInformation |
|
| 407 | + ] |
|
| 408 | 408 | ); |
| 409 | 409 | } |
| 410 | 410 | |
@@ -541,16 +541,16 @@ discard block |
||
| 541 | 541 | |
| 542 | 542 | return $this->render( |
| 543 | 543 | 'backend/support/occ.html.twig', [ |
| 544 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 545 | - 'supportCommentFormUser' => $formCommentUser->createView(), |
|
| 546 | - 'supportCommentFormCache' => $formCommentCache->createView(), |
|
| 547 | - 'occ_cache_data' => $fetchedCacheData, |
|
| 548 | - 'occ_cache_comments' => $fetchedCacheComments, |
|
| 549 | - 'occ_cache_infos' => $fetchedCacheInfos, |
|
| 550 | - 'occ_user_data' => $fetchedUserData, |
|
| 551 | - 'occ_user_comments' => $fetchedUserComments, |
|
| 552 | - 'occ_user_relations' => $fetchedUserRelations |
|
| 553 | - ] |
|
| 544 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 545 | + 'supportCommentFormUser' => $formCommentUser->createView(), |
|
| 546 | + 'supportCommentFormCache' => $formCommentCache->createView(), |
|
| 547 | + 'occ_cache_data' => $fetchedCacheData, |
|
| 548 | + 'occ_cache_comments' => $fetchedCacheComments, |
|
| 549 | + 'occ_cache_infos' => $fetchedCacheInfos, |
|
| 550 | + 'occ_user_data' => $fetchedUserData, |
|
| 551 | + 'occ_user_comments' => $fetchedUserComments, |
|
| 552 | + 'occ_user_relations' => $fetchedUserRelations |
|
| 553 | + ] |
|
| 554 | 554 | ); |
| 555 | 555 | } |
| 556 | 556 | |
@@ -682,10 +682,10 @@ discard block |
||
| 682 | 682 | |
| 683 | 683 | return $this->render( |
| 684 | 684 | 'backend/support/userDetails.html.twig', [ |
| 685 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 686 | - 'supportUserAccountActions' => $formActions->createView(), |
|
| 687 | - 'user_account_details' => $fetchedUserDetails |
|
| 688 | - ] |
|
| 685 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 686 | + 'supportUserAccountActions' => $formActions->createView(), |
|
| 687 | + 'user_account_details' => $fetchedUserDetails |
|
| 688 | + ] |
|
| 689 | 689 | ); |
| 690 | 690 | } |
| 691 | 691 | |
@@ -781,9 +781,9 @@ discard block |
||
| 781 | 781 | |
| 782 | 782 | return $this->render( |
| 783 | 783 | 'backend/support/databaseQueries.html.twig', [ |
| 784 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 785 | - 'suppSQLquery1' => $qb->executeQuery()->fetchAllAssociative() |
|
| 786 | - ] |
|
| 784 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 785 | + 'suppSQLquery1' => $qb->executeQuery()->fetchAllAssociative() |
|
| 786 | + ] |
|
| 787 | 787 | ); |
| 788 | 788 | } |
| 789 | 789 | |
@@ -809,9 +809,9 @@ discard block |
||
| 809 | 809 | |
| 810 | 810 | return $this->render( |
| 811 | 811 | 'backend/support/databaseQueries.html.twig', [ |
| 812 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 813 | - 'suppSQLquery2' => $qb->executeQuery()->fetchAllAssociative() |
|
| 814 | - ] |
|
| 812 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 813 | + 'suppSQLquery2' => $qb->executeQuery()->fetchAllAssociative() |
|
| 814 | + ] |
|
| 815 | 815 | ); |
| 816 | 816 | } |
| 817 | 817 | |
@@ -844,9 +844,9 @@ discard block |
||
| 844 | 844 | |
| 845 | 845 | return $this->render( |
| 846 | 846 | 'backend/support/databaseQueries.html.twig', [ |
| 847 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 848 | - 'suppSQLquery4' => $qb->executeQuery()->fetchAllAssociative() |
|
| 849 | - ] |
|
| 847 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 848 | + 'suppSQLquery4' => $qb->executeQuery()->fetchAllAssociative() |
|
| 849 | + ] |
|
| 850 | 850 | ); |
| 851 | 851 | } |
| 852 | 852 | |
@@ -863,9 +863,9 @@ discard block |
||
| 863 | 863 | |
| 864 | 864 | return $this->render( |
| 865 | 865 | 'backend/support/databaseQueries.html.twig', [ |
| 866 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 867 | - 'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll() |
|
| 868 | - ] |
|
| 866 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 867 | + 'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll() |
|
| 868 | + ] |
|
| 869 | 869 | ); |
| 870 | 870 | } |
| 871 | 871 | |
@@ -909,9 +909,9 @@ discard block |
||
| 909 | 909 | |
| 910 | 910 | return $this->render( |
| 911 | 911 | 'backend/support/databaseQueries.html.twig', [ |
| 912 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 913 | - 'suppSQLquery6' => $qb_caches_list |
|
| 914 | - ] |
|
| 912 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 913 | + 'suppSQLquery6' => $qb_caches_list |
|
| 914 | + ] |
|
| 915 | 915 | ); |
| 916 | 916 | } |
| 917 | 917 | |
@@ -1030,15 +1030,15 @@ discard block |
||
| 1030 | 1030 | |
| 1031 | 1031 | return $this->render( |
| 1032 | 1032 | 'backend/support/occ_gpx_import.html.twig', [ |
| 1033 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 1034 | - 'supportUploadGPXForm' => $formUpload->createView(), |
|
| 1035 | - 'amountProcessedCaches' => $amountProcessedCaches, |
|
| 1036 | - 'amountAssignedCaches' => $amountAssignedCaches, |
|
| 1037 | - 'amountUpdatedCaches' => $amountUpdatedCaches, |
|
| 1038 | - 'listOfAmbiguousCaches' => $listOfAmbiguousCaches, |
|
| 1039 | - 'fetchedListingInfos' => $fetchedListingInfos, |
|
| 1040 | - 'differencesDetected' => $differencesDetected |
|
| 1041 | - ] |
|
| 1033 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 1034 | + 'supportUploadGPXForm' => $formUpload->createView(), |
|
| 1035 | + 'amountProcessedCaches' => $amountProcessedCaches, |
|
| 1036 | + 'amountAssignedCaches' => $amountAssignedCaches, |
|
| 1037 | + 'amountUpdatedCaches' => $amountUpdatedCaches, |
|
| 1038 | + 'listOfAmbiguousCaches' => $listOfAmbiguousCaches, |
|
| 1039 | + 'fetchedListingInfos' => $fetchedListingInfos, |
|
| 1040 | + 'differencesDetected' => $differencesDetected |
|
| 1041 | + ] |
|
| 1042 | 1042 | ); |
| 1043 | 1043 | } |
| 1044 | 1044 | |
@@ -1205,11 +1205,11 @@ discard block |
||
| 1205 | 1205 | ] as $checkItem) { |
| 1206 | 1206 | if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) { |
| 1207 | 1207 | $newComment .= $checkItem |
| 1208 | - . ' changed from ' |
|
| 1209 | - . $fetchedExistingSupportListingInfoArray[$checkItem] |
|
| 1210 | - . ' to ' |
|
| 1211 | - . $wpt[$checkItem] |
|
| 1212 | - . PHP_EOL; |
|
| 1208 | + . ' changed from ' |
|
| 1209 | + . $fetchedExistingSupportListingInfoArray[$checkItem] |
|
| 1210 | + . ' to ' |
|
| 1211 | + . $wpt[$checkItem] |
|
| 1212 | + . PHP_EOL; |
|
| 1213 | 1213 | } |
| 1214 | 1214 | } |
| 1215 | 1215 | |