/[smecontribs]/rpms/phpki/contribs10/phpki-0.82-expirey.patch
ViewVC logotype

Contents of /rpms/phpki/contribs10/phpki-0.82-expirey.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Nov 24 14:35:51 2020 UTC (3 years, 11 months ago) by brianr
Branch: MAIN
CVS Tags: phpki-0_82-24_el7_sme, HEAD
Initial import

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" ;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed