diff --git a/views/form_view.php b/views/form_view.php index 4ea110d..ab06a6a 100644 --- a/views/form_view.php +++ b/views/form_view.php @@ -45,12 +45,19 @@ function render_form($form_id){ } + $fStyle = $form_object->getKeyValue("FormStyle"); + + if(!$fStyle){ + $form_object->setKey("FormStyle","Style1"); + } + ?>
SkyfallenSecureForms
+
+ Your response will be sent over to the server securely, but your answers can not be longer than 200 characters.
Only the form owner's Private Key can decrypt your responses.";
+ break;
+
+ case "RSA_PLUS_AES":
+ echo "This form uses 256-Bit AES Encryption.
Your response will be sent over to the server securely.
Only the form owner's Private Key can decrypt your AES Key and IV.";
+ break;
+
+ case "DISABLED":
+ echo "This form is not encrypted, but it may still be secure if you are using HTTPS.
Please ask your form owner to enable encryption on this form.";
+ break;
+
+ default:
+ echo "Corrupted Encryption Meta;";
+ break;
+
+ }
+ ?>
+