From cb435f9750f14fbb84b4a5d25b7551b36ac86c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 18 Nov 2019 20:15:14 -0500 Subject: [PATCH] form-comments --- content/vendor/form-comments/commentsubmit.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/content/vendor/form-comments/commentsubmit.php b/content/vendor/form-comments/commentsubmit.php index a40d9be..c465a98 100644 --- a/content/vendor/form-comments/commentsubmit.php +++ b/content/vendor/form-comments/commentsubmit.php @@ -38,6 +38,13 @@ if(empty($_POST['name']) || // article $postID = str_replace('/','',$post_id); + // web-site + if (!empty($link)) { + $web = "Web: {$link}"; + } else { + $web = NULL; + } + //slug $nslug = seourl($name); $fslug = date("Ymd-H:i:s"); @@ -51,14 +58,14 @@ if(empty($_POST['name']) || EOT; $email_body = <<