From 4a463a2e19b2787d01107e2157a5607b79e460f9 Mon Sep 17 00:00:00 2001 From: adamch Date: Sun, 11 Nov 2007 20:40:24 +0000 Subject: [PATCH] Check for empty file paths --- cert.mlt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cert.mlt b/cert.mlt index d868366..c7b25a4 100644 --- a/cert.mlt +++ b/cert.mlt @@ -6,6 +6,8 @@ if $"new" <> "" then if $"kind" = "cert" then if $"req" <> "" then %>

You filled data in next to a textbox but didn't check the radio button next to it.

<% + elseif $"cert" = "" then + %>

Please fill in a path to a certificate.

<% else val cert = $"cert"; val msg = $"msg"; @@ -16,6 +18,8 @@ if $"new" <> "" then else if $"cert" <> "" then %>

You filled data in next to a textbox but didn't check the radio button next to it.

<% + elseif $"req" = "" then + %>

Please fill in a path to an OpenSSL request.

<% else val req = $"req"; val msg = $"msg"; -- 2.20.1