From bdfb211fc841fed63c0bf7b54ebb4f4d4face0a1 Mon Sep 17 00:00:00 2001 From: John Crisp Date: Fri, 21 Feb 2020 14:59:01 +0100 Subject: [PATCH] Fix Form syntax, JS missing ; HR style for html5 --- admin/index.php | 14 +++++++------- ca/main.php | 4 ++-- ca/request_cert.php | 2 +- include/common.php | 2 +- main.php | 2 +- search.php | 14 +++++++------- setup.php-presetup | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/admin/index.php b/admin/index.php index f480977..3abe96b 100644 --- a/admin/index.php +++ b/admin/index.php @@ -18,7 +18,7 @@ case 'list_users': ?> -
method=post> +
-
method=post name=form> + @@ -49,7 +49,7 @@ case 'add_user': ?>

- method=post> + @@ -65,7 +65,7 @@ case 'add_user': system("htpasswd -bm $pwdfile $login $passwd 2>&1") ?>

- method=post> + - -
method=post name=form> + +

Add User or Change Password

User ID
@@ -98,7 +98,7 @@ case 'del_user': system("htpasswd -D $pwdfile $login 2>&1") ?>

- method=post> +

Certificate Revocation List Updated

-
method=post> + Debug Info:

- method=post> +

diff --git a/ca/request_cert.php b/ca/request_cert.php index ed80685..d7e65ad 100644 --- a/ca/request_cert.php +++ b/ca/request_cert.php @@ -212,7 +212,7 @@ case 'final': printHeader(); ?> - method=post> +

There was an error creating your certificate.


diff --git a/include/common.php b/include/common.php index 7cc23a9..fa5b367 100644 --- a/include/common.php +++ b/include/common.php @@ -138,7 +138,7 @@ function printHeader($withmenu="default") { function printFooter() { ?>
-
+

PHPki v - Copyright 2003 - William E. Roadcap

diff --git a/main.php b/main.php index 0353ff5..e121c40 100644 --- a/main.php +++ b/main.php @@ -22,7 +22,7 @@ case 'display_root':

- method=post> +

Nothing Found

-
method=post name=form> + @@ -87,16 +87,16 @@ case search:
- + - '; @@ -105,7 +105,7 @@ case search: ?>

Remove User

User ID
> ?stage=display&serial= target=_certdisp>Display + Display - ?stage=download&serial=>Download + Download
- method=post name=form> + @@ -121,9 +121,9 @@ default: printHeader('public'); ?> - +

Certificate Search

- method=post name=search> +
>Valid diff --git a/setup.php-presetup b/setup.php-presetup index 7bde902..5579820 100644 --- a/setup.php-presetup +++ b/setup.php-presetup @@ -705,7 +705,7 @@ E-mail: someone@somewhere.com &nbs printHeader('setup'); ?> - method=post> +

Certificate Authority Initial Setup