1 |
diff -ruN phpki-ng.old/phpki-ng-0.84/css/style.css phpki-ng/phpki-ng-0.84/css/style.css |
2 |
--- phpki-ng.old/phpki-ng-0.84/css/style.css 2021-09-30 18:10:39.971946417 +0200 |
3 |
+++ phpki-ng/phpki-ng-0.84/css/style.css 2021-09-30 18:05:07.561556378 +0200 |
4 |
@@ -44,6 +44,10 @@ |
5 |
margin: 0; |
6 |
} |
7 |
|
8 |
+input[type='submit']:active{ |
9 |
+ background-color:green; |
10 |
+} |
11 |
+ |
12 |
fieldset { |
13 |
border: 2px solid black; |
14 |
margin-left: 10px; |
15 |
diff -ruN phpki-ng.old/phpki-ng-0.84/setup.php-presetup phpki-ng/phpki-ng-0.84/setup.php-presetup |
16 |
--- phpki-ng.old/phpki-ng-0.84/setup.php-presetup 2021-09-30 18:10:39.968946433 +0200 |
17 |
+++ phpki-ng/phpki-ng-0.84/setup.php-presetup 2021-09-30 18:05:07.561556378 +0200 |
18 |
@@ -192,6 +192,9 @@ |
19 |
printFooter(); |
20 |
break; |
21 |
} |
22 |
+ |
23 |
+ // Here we have "if (not $er)" then fall through to case 'write' |
24 |
+ // It's pretty crappy coding TBH |
25 |
|
26 |
case 'write': |
27 |
printHeader('about'); |
28 |
@@ -787,14 +790,26 @@ |
29 |
} |
30 |
?> |
31 |
<p><br><br> |
32 |
- <form action=index.php> |
33 |
+ <form action='<?php echo $PHP_SELF?>' method=post> |
34 |
<input type=submit name=submit value="Proceed To The PHPki Main Menu"> |
35 |
+ <input type=hidden name=stage value=finished> |
36 |
</form> |
37 |
</center> |
38 |
<?php |
39 |
printFooter(); |
40 |
break; |
41 |
|
42 |
+ case 'finished': |
43 |
+ // We get here if we complete the previous section |
44 |
+ // if OS = SME then go to server manager else, reload |
45 |
+ if (getOSInformation){ |
46 |
+ $location = "/server-manager/cgi-bin/phpki"; |
47 |
+ } else { |
48 |
+ $location = $PHP_SELF; |
49 |
+ } |
50 |
+ echo '<META HTTP-EQUIV="Refresh" Content="0; URL=' . $location . '">'; |
51 |
+ exit; |
52 |
+ |
53 |
default: |
54 |
if (! $country) { |
55 |
$country = $config['country']; |