1 |
unnilennium |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/ca/manage_certs.php mezzanine_patched_phpki/phpki-0.82/ca/manage_certs.php |
2 |
|
|
--- phpki/phpki-0.82/ca/manage_certs.php 2007-01-04 07:52:26.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_phpki/phpki-0.82/ca/manage_certs.php 2008-12-08 23:03:01.000000000 +0100 |
4 |
|
|
@@ -252,6 +252,8 @@ |
5 |
|
|
<td><select name=expiry> |
6 |
|
|
<? |
7 |
|
|
|
8 |
|
|
+ print "<option value=0.25 ". ($expiry == 0.25 ? "selected='selected'" : "") . " >3 Months</option>\n" ; |
9 |
|
|
+ print "<option value=0.5 ". ($expiry == 0.5 ? "selected='selected'" : "") . " >6 Months</option>\n" ; |
10 |
|
|
print "<option value=1 " . ($expiry == 1 ? "selected='selected'" : "") . " >1 Year</option>\n" ; |
11 |
|
|
for ( $i = 2 ; $i < 6 ; $i++ ) { |
12 |
|
|
print "<option value=$i " . ($expiry == $i ? "selected='selected'" : "") . " >$i Years</option>\n" ; |
13 |
|
|
diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/ca/request_cert.php mezzanine_patched_phpki/phpki-0.82/ca/request_cert.php |
14 |
|
|
--- phpki/phpki-0.82/ca/request_cert.php 2007-01-04 06:45:09.000000000 +0100 |
15 |
|
|
+++ mezzanine_patched_phpki/phpki-0.82/ca/request_cert.php 2008-12-08 23:03:09.000000000 +0100 |
16 |
|
|
@@ -276,6 +276,8 @@ |
17 |
|
|
<td><select name=expiry> |
18 |
|
|
<? |
19 |
|
|
|
20 |
|
|
+ print "<option value=0.25 ". ($expiry == 0.25 ? "selected='selected'" : "") . " >3 Months</option>\n" ; |
21 |
|
|
+ print "<option value=0.5 ". ($expiry == 0.5 ? "selected='selected'" : "") . " >6 Months</option>\n" ; |
22 |
|
|
print "<option value=1 " . ($expiry == 1 ? "selected='selected'" : "") . " >1 Year</option>\n" ; |
23 |
|
|
for ( $i = 2 ; $i < 6 ; $i++ ) { |
24 |
|
|
print "<option value=$i " . ($expiry == $i ? "selected='selected'" : "") . " >$i Years</option>\n" ; |