summaryrefslogtreecommitdiff
path: root/comment.php
diff options
context:
space:
mode:
authorprashantsinalkar2016-04-25 10:18:16 +0530
committerprashantsinalkar2016-04-25 10:18:16 +0530
commitfdebeba9a1a8f9b70c2ebfb4298f01f2de5c1540 (patch)
tree6d0d6ea67caeaff80b6d3124e71143e2fa76db9f /comment.php
parentae74b8b94d1b4799987d00be3fa460adaaae965e (diff)
downloadscilab_cloud_interface-fdebeba9a1a8f9b70c2ebfb4298f01f2de5c1540.tar.gz
scilab_cloud_interface-fdebeba9a1a8f9b70c2ebfb4298f01f2de5c1540.tar.bz2
scilab_cloud_interface-fdebeba9a1a8f9b70c2ebfb4298f01f2de5c1540.zip
added author and publisher information in mail content
Diffstat (limited to 'comment.php')
-rwxr-xr-xcomment.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/comment.php b/comment.php
index ecd867b..fc07da8 100755
--- a/comment.php
+++ b/comment.php
@@ -31,7 +31,8 @@ if (isset($_POST['type']) && isset($_POST['comment']))
A new comment has been posted. <br><br>
Type: {$types[$_POST['type']]} <br>
- Book: {$row->book} <br>
+ Category: {$category} <br>
+ Book: {$row->book} (Author: {$row->author}, Publisher: {$row->publisher}) <br>
Chapter: {$row->chapter_name} ({$row->chapter_no}) <br>
Example: <a href= 'http://cloud.scilab.in/index.php?eid={$exmpale_id}' target='_blank' >{$row->example_caption}</a> ({$row->example_no}) <br><br>
@@ -39,7 +40,7 @@ if (isset($_POST['type']) && isset($_POST['comment']))
Link: http://scilab.in/cloud_comments
";
- $from = "textbook@scilab.in";
+ $from = "email@email.in";
$headers = "From: " . $from . "\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";