Completed
Pull Request — 2.1 (#7)
by David
02:07
created
src/views/patchesList.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
14 15
 }
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
 if ($this->nbAwaiting != 0 || $this->nbError != 0) {
Please login to merge, or discard this patch.
src/views/applyPatches.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,9 +3,12 @@  discard block
 block discarded – undo
3 3
 <?php if ($this->action === 'reset'): ?>
4 4
     <h1>Reset database</h1>
5 5
     <div class="alert alert-danger"><strong>Warning!</strong> You are about to reset your complete database!</div>
6
-<?php else: ?>
6
+<?php else {
7
+	: ?>
7 8
     <h1>Apply patches</h1>
8
-<?php endif; ?>
9
+<?php endif;
10
+}
11
+?>
9 12
 
10 13
 Please select the patch types you want to apply:
11 14
 
@@ -19,7 +22,10 @@  discard block
 block discarded – undo
19 22
 
20 23
     <?php if ($this->action === 'reset'): ?>
21 24
         <button class="btn btn-large btn-danger"><i class="icon-remove icon-white"></i> Yes, I want to reset the database</button>
22
-    <?php else: ?>
25
+    <?php else {
26
+	: ?>
23 27
         <button class="btn btn-large btn-success"><i class="icon-arrow-right icon-white"></i> Apply selected patches</button>
24
-    <?php endif; ?>
28
+    <?php endif;
29
+}
30
+?>
25 31
 </form>
26 32
\ No newline at end of file
Please login to merge, or discard this patch.