form-comments
This commit is contained in:
parent
215e4fdcfb
commit
cb435f9750
13
content/vendor/form-comments/commentsubmit.php
vendored
13
content/vendor/form-comments/commentsubmit.php
vendored
@ -38,6 +38,13 @@ if(empty($_POST['name']) ||
|
|||||||
// article
|
// article
|
||||||
$postID = str_replace('/','',$post_id);
|
$postID = str_replace('/','',$post_id);
|
||||||
|
|
||||||
|
// web-site
|
||||||
|
if (!empty($link)) {
|
||||||
|
$web = "Web: {$link}";
|
||||||
|
} else {
|
||||||
|
$web = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
//slug
|
//slug
|
||||||
$nslug = seourl($name);
|
$nslug = seourl($name);
|
||||||
$fslug = date("Ymd-H:i:s");
|
$fslug = date("Ymd-H:i:s");
|
||||||
@ -51,14 +58,14 @@ if(empty($_POST['name']) ||
|
|||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
$email_body = <<<EOT
|
$email_body = <<<EOT
|
||||||
Haz recibido un nuevo comentario del formulario de tu sitio web.\n\n
|
Haz recibido un nuevo comentario del formulario de tu sitio web.
|
||||||
Aqui estan los detalles:\n\n
|
Aqui estan los detalles:\n
|
||||||
post_id: {$postID}
|
post_id: {$postID}
|
||||||
Author: {$name}
|
Author: {$name}
|
||||||
Date: {$publish}
|
Date: {$publish}
|
||||||
Email: {$email_address}
|
Email: {$email_address}
|
||||||
Slug: {$slug}
|
Slug: {$slug}
|
||||||
Web: {$link}\n
|
{$web}\n
|
||||||
{$comment}
|
{$comment}
|
||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user