@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function index(): Response |
| 15 | 15 | { |
| 16 | - return $this->render('kitchensink/index.html.twig'); |
|
| 16 | + return $this->render('kitchensink/index.html.twig'); |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |
@@ -19,19 +19,19 @@ |
||
| 19 | 19 | $builder |
| 20 | 20 | ->add( |
| 21 | 21 | 'content_support_searchfield', null, [ |
| 22 | - 'attr' => [ |
|
| 23 | - 'placeholder' => 'OC / GC / Name / Owner / %%%', |
|
| 24 | - 'autofocus' => 'autofocus', |
|
| 25 | - 'size' => '10%', |
|
| 26 | - 'minlength' => '3', |
|
| 27 | - 'maxlength' => '100', |
|
| 28 | - 'style' => 'width: 250px;' |
|
| 29 | - ], |
|
| 30 | - 'required' => true, |
|
| 31 | - 'disabled' => false, |
|
| 32 | - 'label' => false, |
|
| 33 | - 'trim' => true |
|
| 34 | - ] |
|
| 22 | + 'attr' => [ |
|
| 23 | + 'placeholder' => 'OC / GC / Name / Owner / %%%', |
|
| 24 | + 'autofocus' => 'autofocus', |
|
| 25 | + 'size' => '10%', |
|
| 26 | + 'minlength' => '3', |
|
| 27 | + 'maxlength' => '100', |
|
| 28 | + 'style' => 'width: 250px;' |
|
| 29 | + ], |
|
| 30 | + 'required' => true, |
|
| 31 | + 'disabled' => false, |
|
| 32 | + 'label' => false, |
|
| 33 | + 'trim' => true |
|
| 34 | + ] |
|
| 35 | 35 | ) |
| 36 | 36 | ->add( |
| 37 | 37 | 'search_All', SubmitType::class, [ |
@@ -19,21 +19,21 @@ |
||
| 19 | 19 | $builder |
| 20 | 20 | ->add( |
| 21 | 21 | 'button_account_inactive', SubmitType::class, [ |
| 22 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
| 23 | - 'label' => false |
|
| 24 | - ] |
|
| 22 | + 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
| 23 | + 'label' => false |
|
| 24 | + ] |
|
| 25 | 25 | ) |
| 26 | 26 | ->add( |
| 27 | 27 | 'button_GDPR_deletion', SubmitType::class, [ |
| 28 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
| 29 | - 'label' => false |
|
| 30 | - ] |
|
| 28 | + 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
| 29 | + 'label' => false |
|
| 30 | + ] |
|
| 31 | 31 | ) |
| 32 | 32 | ->add( |
| 33 | 33 | 'button_mark_email_invalid', SubmitType::class, [ |
| 34 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
| 35 | - 'label' => false |
|
| 36 | - ] |
|
| 34 | + 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
| 35 | + 'label' => false |
|
| 36 | + ] |
|
| 37 | 37 | ) |
| 38 | 38 | ->add( |
| 39 | 39 | 'check_Sure', CheckboxType::class, [ |
@@ -180,9 +180,9 @@ discard block |
||
| 180 | 180 | |
| 181 | 181 | return $this->render( |
| 182 | 182 | 'backend/support/searchedCaches.html.twig', [ |
| 183 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 184 | - 'foundCaches' => $fetchedCaches |
|
| 185 | - ] |
|
| 183 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 184 | + 'foundCaches' => $fetchedCaches |
|
| 185 | + ] |
|
| 186 | 186 | ); |
| 187 | 187 | } |
| 188 | 188 | |
@@ -201,9 +201,9 @@ discard block |
||
| 201 | 201 | |
| 202 | 202 | return $this->render( |
| 203 | 203 | 'backend/support/reportedCaches.html.twig', [ |
| 204 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 205 | - 'reportedCaches_by_id' => $fetchedReports |
|
| 206 | - ] |
|
| 204 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 205 | + 'reportedCaches_by_id' => $fetchedReports |
|
| 206 | + ] |
|
| 207 | 207 | ); |
| 208 | 208 | } |
| 209 | 209 | |
@@ -221,9 +221,9 @@ discard block |
||
| 221 | 221 | |
| 222 | 222 | return $this->render( |
| 223 | 223 | 'backend/support/bonusCaches.html.twig', [ |
| 224 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 225 | - 'bonusCaches_by_id' => $fetchedBonuscaches |
|
| 226 | - ] |
|
| 224 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 225 | + 'bonusCaches_by_id' => $fetchedBonuscaches |
|
| 226 | + ] |
|
| 227 | 227 | ); |
| 228 | 228 | } |
| 229 | 229 | |
@@ -264,10 +264,10 @@ discard block |
||
| 264 | 264 | |
| 265 | 265 | return $this->render( |
| 266 | 266 | 'backend/support/databaseQueries.html.twig', [ |
| 267 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 268 | - 'SQLFlexForm' => $formSQLFlex->createView(), |
|
| 269 | - 'suppSQLqueryFlex' => $fetchedInformation |
|
| 270 | - ] |
|
| 267 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 268 | + 'SQLFlexForm' => $formSQLFlex->createView(), |
|
| 269 | + 'suppSQLqueryFlex' => $fetchedInformation |
|
| 270 | + ] |
|
| 271 | 271 | ); |
| 272 | 272 | } |
| 273 | 273 | |
@@ -395,16 +395,16 @@ discard block |
||
| 395 | 395 | |
| 396 | 396 | return $this->render( |
| 397 | 397 | 'backend/support/occ.html.twig', [ |
| 398 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 399 | - 'supportCommentFormUser' => $formCommentUser->createView(), |
|
| 400 | - 'supportCommentFormCache' => $formCommentCache->createView(), |
|
| 401 | - 'occ_cache_data' => $fetchedCacheData, |
|
| 402 | - 'occ_cache_comments' => $fetchedCacheComments, |
|
| 403 | - 'occ_cache_infos' => $fetchedCacheInfos, |
|
| 404 | - 'occ_user_data' => $fetchedUserData, |
|
| 405 | - 'occ_user_comments' => $fetchedUserComments, |
|
| 406 | - 'occ_user_relations' => $fetchedUserRelations |
|
| 407 | - ] |
|
| 398 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 399 | + 'supportCommentFormUser' => $formCommentUser->createView(), |
|
| 400 | + 'supportCommentFormCache' => $formCommentCache->createView(), |
|
| 401 | + 'occ_cache_data' => $fetchedCacheData, |
|
| 402 | + 'occ_cache_comments' => $fetchedCacheComments, |
|
| 403 | + 'occ_cache_infos' => $fetchedCacheInfos, |
|
| 404 | + 'occ_user_data' => $fetchedUserData, |
|
| 405 | + 'occ_user_comments' => $fetchedUserComments, |
|
| 406 | + 'occ_user_relations' => $fetchedUserRelations |
|
| 407 | + ] |
|
| 408 | 408 | ); |
| 409 | 409 | } |
| 410 | 410 | |
@@ -528,10 +528,10 @@ discard block |
||
| 528 | 528 | |
| 529 | 529 | return $this->render( |
| 530 | 530 | 'backend/support/userDetails.html.twig', [ |
| 531 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 532 | - 'supportUserAccountActions' => $formActions->createView(), |
|
| 533 | - 'user_account_details' => $fetchedUserDetails |
|
| 534 | - ] |
|
| 531 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 532 | + 'supportUserAccountActions' => $formActions->createView(), |
|
| 533 | + 'user_account_details' => $fetchedUserDetails |
|
| 534 | + ] |
|
| 535 | 535 | ); |
| 536 | 536 | } |
| 537 | 537 | |
@@ -620,9 +620,9 @@ discard block |
||
| 620 | 620 | |
| 621 | 621 | return $this->render( |
| 622 | 622 | 'backend/support/databaseQueries.html.twig', [ |
| 623 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 624 | - 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
| 625 | - ] |
|
| 623 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 624 | + 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
| 625 | + ] |
|
| 626 | 626 | ); |
| 627 | 627 | } |
| 628 | 628 | |
@@ -646,9 +646,9 @@ discard block |
||
| 646 | 646 | |
| 647 | 647 | return $this->render( |
| 648 | 648 | 'backend/support/databaseQueries.html.twig', [ |
| 649 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 650 | - 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
| 651 | - ] |
|
| 649 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 650 | + 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
| 651 | + ] |
|
| 652 | 652 | ); |
| 653 | 653 | } |
| 654 | 654 | |
@@ -674,9 +674,9 @@ discard block |
||
| 674 | 674 | |
| 675 | 675 | return $this->render( |
| 676 | 676 | 'backend/support/databaseQueries.html.twig', [ |
| 677 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 678 | - 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
| 679 | - ] |
|
| 677 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 678 | + 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
| 679 | + ] |
|
| 680 | 680 | ); |
| 681 | 681 | } |
| 682 | 682 | |
@@ -692,9 +692,9 @@ discard block |
||
| 692 | 692 | |
| 693 | 693 | return $this->render( |
| 694 | 694 | 'backend/support/databaseQueries.html.twig', [ |
| 695 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 696 | - 'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll() |
|
| 697 | - ] |
|
| 695 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 696 | + 'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll() |
|
| 697 | + ] |
|
| 698 | 698 | ); |
| 699 | 699 | } |
| 700 | 700 | |
@@ -803,15 +803,15 @@ discard block |
||
| 803 | 803 | |
| 804 | 804 | return $this->render( |
| 805 | 805 | 'backend/support/occ_gpx_import.html.twig', [ |
| 806 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 807 | - 'supportUploadGPXForm' => $formUpload->createView(), |
|
| 808 | - 'amountProcessedCaches' => $amountProcessedCaches, |
|
| 809 | - 'amountAssignedCaches' => $amountAssignedCaches, |
|
| 810 | - 'amountUpdatedCaches' => $amountUpdatedCaches, |
|
| 811 | - 'listOfAmbiguousCaches' => $listOfAmbiguousCaches, |
|
| 812 | - 'fetchedListingInfos' => $fetchedListingInfos, |
|
| 813 | - 'differencesDetected' => $differencesDetected |
|
| 814 | - ] |
|
| 806 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 807 | + 'supportUploadGPXForm' => $formUpload->createView(), |
|
| 808 | + 'amountProcessedCaches' => $amountProcessedCaches, |
|
| 809 | + 'amountAssignedCaches' => $amountAssignedCaches, |
|
| 810 | + 'amountUpdatedCaches' => $amountUpdatedCaches, |
|
| 811 | + 'listOfAmbiguousCaches' => $listOfAmbiguousCaches, |
|
| 812 | + 'fetchedListingInfos' => $fetchedListingInfos, |
|
| 813 | + 'differencesDetected' => $differencesDetected |
|
| 814 | + ] |
|
| 815 | 815 | ); |
| 816 | 816 | } |
| 817 | 817 | |
@@ -864,7 +864,7 @@ discard block |
||
| 864 | 864 | |
| 865 | 865 | if ((($fetchedListingInfo->nodeListingAvailable == true) && ($fetchedOCCache->status != 1)) |
| 866 | 866 | || (($fetchedListingInfo->nodeListingAvailable |
| 867 | - == false) |
|
| 867 | + == false) |
|
| 868 | 868 | && ($fetchedOCCache->status == 1)) |
| 869 | 869 | ) { |
| 870 | 870 | array_push($tempArray, 'OC status != import status'); |
@@ -874,7 +874,7 @@ discard block |
||
| 874 | 874 | |
| 875 | 875 | if ((($fetchedListingInfo->nodeListingArchived == true) && ($fetchedOCCache->status != 3)) |
| 876 | 876 | || (($fetchedListingInfo->nodeListingAvailable |
| 877 | - == false) |
|
| 877 | + == false) |
|
| 878 | 878 | && ($fetchedOCCache->status == 3)) |
| 879 | 879 | ) { |
| 880 | 880 | array_push($tempArray, 'OC status != import status'); |
@@ -973,11 +973,11 @@ discard block |
||
| 973 | 973 | ] as $checkItem) { |
| 974 | 974 | if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) { |
| 975 | 975 | $newComment .= $checkItem |
| 976 | - . ' changed from ' |
|
| 977 | - . $fetchedExistingSupportListingInfoArray[$checkItem] |
|
| 978 | - . ' to ' |
|
| 979 | - . $wpt[$checkItem] |
|
| 980 | - . PHP_EOL; |
|
| 976 | + . ' changed from ' |
|
| 977 | + . $fetchedExistingSupportListingInfoArray[$checkItem] |
|
| 978 | + . ' to ' |
|
| 979 | + . $wpt[$checkItem] |
|
| 980 | + . PHP_EOL; |
|
| 981 | 981 | } |
| 982 | 982 | } |
| 983 | 983 | |
@@ -24,22 +24,22 @@ |
||
| 24 | 24 | $builder |
| 25 | 25 | ->add( |
| 26 | 26 | 'content_comment_field', TextareaType::class, [ |
| 27 | - 'attr' => [ |
|
| 28 | - 'maxlength' => '100000', |
|
| 29 | - 'overflow' => 'auto', |
|
| 30 | - 'rows' => '10', |
|
| 31 | - ], |
|
| 32 | - 'required' => false, |
|
| 33 | - 'disabled' => false, |
|
| 34 | - 'label' => false, |
|
| 35 | - 'trim' => true |
|
| 36 | - ] |
|
| 27 | + 'attr' => [ |
|
| 28 | + 'maxlength' => '100000', |
|
| 29 | + 'overflow' => 'auto', |
|
| 30 | + 'rows' => '10', |
|
| 31 | + ], |
|
| 32 | + 'required' => false, |
|
| 33 | + 'disabled' => false, |
|
| 34 | + 'label' => false, |
|
| 35 | + 'trim' => true |
|
| 36 | + ] |
|
| 37 | 37 | ) |
| 38 | 38 | ->add( |
| 39 | 39 | 'save_comment_button', SubmitType::class, [ |
| 40 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
| 41 | - 'label' => ' |
|
@@ -27,14 +27,14 @@ discard block |
||
| 27 | 27 | ], |
| 28 | 28 | 'constraints' => [ |
| 29 | 29 | new File([ |
| 30 | - 'maxSize' => '20480000', |
|
| 31 | - 'mimeTypes' => [ |
|
| 32 | - 'application/gpx+xml', |
|
| 33 | - 'application/xml', |
|
| 34 | - 'text/xml', |
|
| 35 | - ], |
|
| 36 | - 'mimeTypesMessage' => 'Please upload a valid GPX/XML document', |
|
| 37 | - ]) |
|
| 30 | + 'maxSize' => '20480000', |
|
| 31 | + 'mimeTypes' => [ |
|
| 32 | + 'application/gpx+xml', |
|
| 33 | + 'application/xml', |
|
| 34 | + 'text/xml', |
|
| 35 | + ], |
|
| 36 | + 'mimeTypesMessage' => 'Please upload a valid GPX/XML document', |
|
| 37 | + ]) |
|
| 38 | 38 | ], |
| 39 | 39 | 'multiple' => false, |
| 40 | 40 | 'required' => true, |
@@ -45,9 +45,9 @@ discard block |
||
| 45 | 45 | ) |
| 46 | 46 | ->add( |
| 47 | 47 | 'start_upload', SubmitType::class, [ |
| 48 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 100px;'], |
|
| 49 | - 'label' => ' |
|
@@ -30,61 +30,61 @@ |
||
| 30 | 30 | ) |
| 31 | 31 | ->add( |
| 32 | 32 | 'content_WHAT', null, [ |
| 33 | - 'required' => true, |
|
| 34 | - 'data' => '*', |
|
| 35 | - 'attr' => [ |
|
| 36 | - 'style' => 'width: 180px;' |
|
| 37 | - ], |
|
| 38 | - 'disabled' => false, |
|
| 39 | - 'label' => false, |
|
| 40 | - 'trim' => true |
|
| 41 | - ] |
|
| 33 | + 'required' => true, |
|
| 34 | + 'data' => '*', |
|
| 35 | + 'attr' => [ |
|
| 36 | + 'style' => 'width: 180px;' |
|
| 37 | + ], |
|
| 38 | + 'disabled' => false, |
|
| 39 | + 'label' => false, |
|
| 40 | + 'trim' => true |
|
| 41 | + ] |
|
| 42 | 42 | ) |
| 43 | 43 | ->add( |
| 44 | 44 | 'content_FROM', ChoiceType::class, [ |
| 45 | - 'choices' => ['FROM' => 'FROM'], |
|
| 46 | - 'attr' => [ |
|
| 47 | - 'style' => 'width: 180px;' |
|
| 48 | - ], |
|
| 49 | - 'disabled' => true, |
|
| 50 | - 'label' => false, |
|
| 51 | - 'trim' => true |
|
| 52 | - ] |
|
| 45 | + 'choices' => ['FROM' => 'FROM'], |
|
| 46 | + 'attr' => [ |
|
| 47 | + 'style' => 'width: 180px;' |
|
| 48 | + ], |
|
| 49 | + 'disabled' => true, |
|
| 50 | + 'label' => false, |
|
| 51 | + 'trim' => true |
|
| 52 | + ] |
|
| 53 | 53 | ) |
| 54 | 54 | ->add( |
| 55 | 55 | 'content_TABLE', ChoiceType::class, [ |
| 56 | - 'choices' => ['caches' => 'caches', 'user' => 'user'], |
|
| 57 | - 'attr' => [ |
|
| 58 | - 'style' => 'width: 180px;' |
|
| 59 | - ], |
|
| 60 | - 'disabled' => false, |
|
| 61 | - 'label' => false, |
|
| 62 | - 'trim' => true |
|
| 63 | - ] |
|
| 56 | + 'choices' => ['caches' => 'caches', 'user' => 'user'], |
|
| 57 | + 'attr' => [ |
|
| 58 | + 'style' => 'width: 180px;' |
|
| 59 | + ], |
|
| 60 | + 'disabled' => false, |
|
| 61 | + 'label' => false, |
|
| 62 | + 'trim' => true |
|
| 63 | + ] |
|
| 64 | 64 | ) |
| 65 | 65 | ->add( |
| 66 | 66 | 'content_WHERE', ChoiceType::class, [ |
| 67 | - 'choices' => ['WHERE' => 'WHERE'], |
|
| 68 | - 'attr' => [ |
|
| 69 | - 'style' => 'width: 180px;' |
|
| 70 | - ], |
|
| 71 | - 'disabled' => true, |
|
| 72 | - 'label' => false, |
|
| 73 | - 'trim' => true |
|
| 74 | - ] |
|
| 67 | + 'choices' => ['WHERE' => 'WHERE'], |
|
| 68 | + 'attr' => [ |
|
| 69 | + 'style' => 'width: 180px;' |
|
| 70 | + ], |
|
| 71 | + 'disabled' => true, |
|
| 72 | + 'label' => false, |
|
| 73 | + 'trim' => true |
|
| 74 | + ] |
|
| 75 | 75 | ) |
| 76 | 76 | ->add( |
| 77 | 77 | 'content_CONDITION', null, [ |
| 78 | - 'required' => false, |
|
| 79 | - 'data' => '', |
|
| 80 | - 'attr' => [ |
|
| 81 | - 'placeholder' => 'id=\'123\'', |
|
| 82 | - 'style' => 'width: 180px;' |
|
| 83 | - ], |
|
| 84 | - 'disabled' => false, |
|
| 85 | - 'label' => false, |
|
| 86 | - 'trim' => true |
|
| 87 | - ] |
|
| 78 | + 'required' => false, |
|
| 79 | + 'data' => '', |
|
| 80 | + 'attr' => [ |
|
| 81 | + 'placeholder' => 'id=\'123\'', |
|
| 82 | + 'style' => 'width: 180px;' |
|
| 83 | + ], |
|
| 84 | + 'disabled' => false, |
|
| 85 | + 'label' => false, |
|
| 86 | + 'trim' => true |
|
| 87 | + ] |
|
| 88 | 88 | ) |
| 89 | 89 | ->add( |
| 90 | 90 | 'Suchen', SubmitType::class, [ |