Check for empty file paths
authoradamch <adamch>
Sun, 11 Nov 2007 20:40:24 +0000 (20:40 +0000)
committeradamch <adamch>
Sun, 11 Nov 2007 20:40:24 +0000 (20:40 +0000)
cert.mlt

index d868366..c7b25a4 100644 (file)
--- a/cert.mlt
+++ b/cert.mlt
@@ -6,6 +6,8 @@ if $"new" <> "" then
         if $"kind" = "cert" then
           if $"req" <> "" then
              %><h3>You filled data in next to a textbox but didn't check the radio button next to it.</h3><%
+          elseif $"cert" = "" then
+             %><h3>Please fill in a path to a certificate.</h3><%
           else
               val cert = $"cert";
              val msg = $"msg";
@@ -16,6 +18,8 @@ if $"new" <> "" then
         else
           if $"cert" <> "" then
              %><h3>You filled data in next to a textbox but didn't check the radio button next to it.</h3><%
+          elseif $"req" = "" then
+             %><h3>Please fill in a path to an OpenSSL request.</h3><%
           else
               val req = $"req";
              val msg = $"msg";