@@ -5,7 +5,8 @@ discard block |
||
5 | 5 | <?php if (empty($this->patchesArray)): ?> |
6 | 6 | <div class="alert alert-info">No patches have been registered yet.</div> |
7 | 7 | <?php |
8 | -else: |
|
8 | +else { |
|
9 | + : |
|
9 | 10 | |
10 | 11 | if ($this->nbAwaiting == 0 && $this->nbError == 0) { |
11 | 12 | ?> |
@@ -14,7 +15,9 @@ discard block |
||
14 | 15 | } else { |
15 | 16 | ?> |
16 | 17 | <form action="runAllPatches" method="post"> |
17 | - <input name="name" type="hidden" value="<?php echo plainstring_to_htmlprotected($this->instanceName); ?>"></input> |
|
18 | + <input name="name" type="hidden" value="<?php echo plainstring_to_htmlprotected($this->instanceName); |
|
19 | +} |
|
20 | +?>"></input> |
|
18 | 21 | <input name="selfedit" type="hidden" value="<?php echo plainstring_to_htmlprotected($this->selfedit); ?>"></input> |
19 | 22 | <?php |
20 | 23 | echo '<button class="btn btn-large btn-success patch-run-all"><i class="icon-arrow-right icon-white"></i> Apply '; |
@@ -3,8 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Mouf\Utils\Patcher\PatchInterface; |
5 | 5 | use Mouf\Utils\Patcher\PatchService; |
6 | -use Symfony\Component\Console\Helper\Table; |
|
7 | -use Symfony\Component\Console\Input\InputArgument; |
|
8 | 6 | use Symfony\Component\Console\Input\InputOption; |
9 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
10 | 8 | use Symfony\Component\Console\Input\InputInterface; |