@@ -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, [ |
@@ -31,37 +31,37 @@ |
||
| 31 | 31 | ) |
| 32 | 32 | ->add( |
| 33 | 33 | 'content_WHAT', null, [ |
| 34 | - 'required' => true, |
|
| 35 | - 'data' => '*', |
|
| 36 | - 'attr' => [ |
|
| 37 | - 'style' => 'width: 180px;' |
|
| 38 | - ], |
|
| 39 | - 'disabled' => false, |
|
| 40 | - 'label' => false, |
|
| 41 | - 'trim' => true |
|
| 42 | - ] |
|
| 34 | + 'required' => true, |
|
| 35 | + 'data' => '*', |
|
| 36 | + 'attr' => [ |
|
| 37 | + 'style' => 'width: 180px;' |
|
| 38 | + ], |
|
| 39 | + 'disabled' => false, |
|
| 40 | + 'label' => false, |
|
| 41 | + 'trim' => true |
|
| 42 | + ] |
|
| 43 | 43 | ) |
| 44 | 44 | ->add( |
| 45 | 45 | 'content_FROM', ChoiceType::class, [ |
| 46 | - 'choices' => ['FROM' => 'FROM'], |
|
| 47 | - 'attr' => [ |
|
| 48 | - 'style' => 'width: 180px;' |
|
| 49 | - ], |
|
| 50 | - 'disabled' => true, |
|
| 51 | - 'label' => false, |
|
| 52 | - 'trim' => true |
|
| 53 | - ] |
|
| 46 | + 'choices' => ['FROM' => 'FROM'], |
|
| 47 | + 'attr' => [ |
|
| 48 | + 'style' => 'width: 180px;' |
|
| 49 | + ], |
|
| 50 | + 'disabled' => true, |
|
| 51 | + 'label' => false, |
|
| 52 | + 'trim' => true |
|
| 53 | + ] |
|
| 54 | 54 | ) |
| 55 | 55 | ->add( |
| 56 | 56 | 'content_TABLE', ChoiceType::class, [ |
| 57 | - 'choices' => ['caches' => 'caches', 'user' => 'user'], |
|
| 58 | - 'attr' => [ |
|
| 59 | - 'style' => 'width: 180px;' |
|
| 60 | - ], |
|
| 61 | - 'disabled' => false, |
|
| 62 | - 'label' => false, |
|
| 63 | - 'trim' => true |
|
| 64 | - ] |
|
| 57 | + 'choices' => ['caches' => 'caches', 'user' => 'user'], |
|
| 58 | + 'attr' => [ |
|
| 59 | + 'style' => 'width: 180px;' |
|
| 60 | + ], |
|
| 61 | + 'disabled' => false, |
|
| 62 | + 'label' => false, |
|
| 63 | + 'trim' => true |
|
| 64 | + ] |
|
| 65 | 65 | ) |
| 66 | 66 | ->add( |
| 67 | 67 | 'Suchen', SubmitType::class, [ |
@@ -24,27 +24,27 @@ |
||
| 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' => ' |
|
@@ -165,9 +165,9 @@ discard block |
||
| 165 | 165 | |
| 166 | 166 | return $this->render( |
| 167 | 167 | 'backend/support/searchedCaches.html.twig', [ |
| 168 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 169 | - 'foundCaches' => $fetchedCaches |
|
| 170 | - ] |
|
| 168 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 169 | + 'foundCaches' => $fetchedCaches |
|
| 170 | + ] |
|
| 171 | 171 | ); |
| 172 | 172 | } |
| 173 | 173 | |
@@ -186,9 +186,9 @@ discard block |
||
| 186 | 186 | |
| 187 | 187 | return $this->render( |
| 188 | 188 | 'backend/support/reportedCaches.html.twig', [ |
| 189 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 190 | - 'reportedCaches_by_id' => $fetchedReports |
|
| 191 | - ] |
|
| 189 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 190 | + 'reportedCaches_by_id' => $fetchedReports |
|
| 191 | + ] |
|
| 192 | 192 | ); |
| 193 | 193 | } |
| 194 | 194 | |
@@ -207,9 +207,9 @@ discard block |
||
| 207 | 207 | |
| 208 | 208 | return $this->render( |
| 209 | 209 | 'backend/support/bonusCaches.html.twig', [ |
| 210 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 211 | - 'bonusCaches_by_id' => $fetchedBonuscaches |
|
| 212 | - ] |
|
| 210 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 211 | + 'bonusCaches_by_id' => $fetchedBonuscaches |
|
| 212 | + ] |
|
| 213 | 213 | ); |
| 214 | 214 | } |
| 215 | 215 | |
@@ -250,10 +250,10 @@ discard block |
||
| 250 | 250 | |
| 251 | 251 | return $this->render( |
| 252 | 252 | 'backend/support/databaseQueries.html.twig', [ |
| 253 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 254 | - 'SQLFlexForm' => $form->createView(), |
|
| 255 | - 'suppSQLqueryFlex' => $fetchedInformation |
|
| 256 | - ] |
|
| 253 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 254 | + 'SQLFlexForm' => $form->createView(), |
|
| 255 | + 'suppSQLqueryFlex' => $fetchedInformation |
|
| 256 | + ] |
|
| 257 | 257 | ); |
| 258 | 258 | } |
| 259 | 259 | |
@@ -482,16 +482,16 @@ discard block |
||
| 482 | 482 | |
| 483 | 483 | return $this->render( |
| 484 | 484 | 'backend/support/occ.html.twig', [ |
| 485 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 486 | - 'supportCommentFormUser' => $formCommentUser->createView(), |
|
| 487 | - 'supportCommentFormCache' => $formCommentCache->createView(), |
|
| 488 | - 'occ_cache_data' => $fetchedCacheData, |
|
| 489 | - 'occ_cache_comments' => $fetchedCacheComments, |
|
| 490 | - 'occ_cache_infos' => $fetchedCacheInfos, |
|
| 491 | - 'occ_user_data' => $fetchedUserData, |
|
| 492 | - 'occ_user_comments' => $fetchedUserComments, |
|
| 493 | - 'occ_user_relations' => $fetchedUserRelations |
|
| 494 | - ] |
|
| 485 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 486 | + 'supportCommentFormUser' => $formCommentUser->createView(), |
|
| 487 | + 'supportCommentFormCache' => $formCommentCache->createView(), |
|
| 488 | + 'occ_cache_data' => $fetchedCacheData, |
|
| 489 | + 'occ_cache_comments' => $fetchedCacheComments, |
|
| 490 | + 'occ_cache_infos' => $fetchedCacheInfos, |
|
| 491 | + 'occ_user_data' => $fetchedUserData, |
|
| 492 | + 'occ_user_comments' => $fetchedUserComments, |
|
| 493 | + 'occ_user_relations' => $fetchedUserRelations |
|
| 494 | + ] |
|
| 495 | 495 | ); |
| 496 | 496 | } |
| 497 | 497 | |
@@ -577,9 +577,9 @@ discard block |
||
| 577 | 577 | |
| 578 | 578 | return $this->render( |
| 579 | 579 | 'backend/support/databaseQueries.html.twig', [ |
| 580 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 581 | - 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
| 582 | - ] |
|
| 580 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 581 | + 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
| 582 | + ] |
|
| 583 | 583 | ); |
| 584 | 584 | } |
| 585 | 585 | |
@@ -603,9 +603,9 @@ discard block |
||
| 603 | 603 | |
| 604 | 604 | return $this->render( |
| 605 | 605 | 'backend/support/databaseQueries.html.twig', [ |
| 606 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 607 | - 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
| 608 | - ] |
|
| 606 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 607 | + 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
| 608 | + ] |
|
| 609 | 609 | ); |
| 610 | 610 | } |
| 611 | 611 | |
@@ -631,9 +631,9 @@ discard block |
||
| 631 | 631 | |
| 632 | 632 | return $this->render( |
| 633 | 633 | 'backend/support/databaseQueries.html.twig', [ |
| 634 | - 'supportCachesForm' => $formSearch->createView(), |
|
| 635 | - 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
| 636 | - ] |
|
| 634 | + 'supportCachesForm' => $formSearch->createView(), |
|
| 635 | + 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
| 636 | + ] |
|
| 637 | 637 | ); |
| 638 | 638 | } |
| 639 | 639 | |