diff --git a/application/controllers/author.php b/application/controllers/author.php
index 400326a7..c19d27db 100644
--- a/application/controllers/author.php
+++ b/application/controllers/author.php
@@ -563,14 +563,14 @@ class Author extends CI_Controller {
if ($t_status == 'edit' && $this->Infotasks_model->reviwed($t_id, $t_status)) {
if (!empty($author)) {
$this->InfoSMS_model->add('task', $t_id, $t_a_id, $admin_info['OPI_Code'], 'Your proposal has been approved!');
- $this->InfoSMS_model->send_mail('gavin', 'gavin@chinahighlights.com', $author->a_name, $author->a_email, 'Your proposal has been approved.', 'Your proposal has been approved!Please log in at http://a.cdnch.com/author.php');
+ $this->InfoSMS_model->send_mail('gavin', 'gavin@chinahighlights.com', $author->a_name, $author->a_email, 'Your proposal has been approved.', 'Your proposal has been approved!Please log in at http://author.mycht.cn');
}
$data[] = array('name' => 'ok', 'value' => 'success');
} elseif ($t_status == 'refuse' && $this->Infotasks_model->reviwed($t_id, $t_status)) {
//如果指定用户则发送邮件通知
if (!empty($author)) {
$this->InfoSMS_model->add('task', $t_id, $t_a_id, $admin_info['OPI_Code'], $refuse_msg);
- $this->InfoSMS_model->send_mail('gavin', 'gavin@chinahighlights.com', $author->a_name, $author->a_email, 'Your proposal has been rejected.', 'Your proposal has been rejected: ' . $refuse_msg . ' Please log in at http://a.cdnch.com/author.php');
+ $this->InfoSMS_model->send_mail('gavin', 'gavin@chinahighlights.com', $author->a_name, $author->a_email, 'Your proposal has been rejected.', 'Your proposal has been rejected: ' . $refuse_msg . ' Please log in at http://author.mycht.cn');
}
$data[] = array('name' => 'no', 'value' => 'success');
}
@@ -746,7 +746,7 @@ class Author extends CI_Controller {
$this->Infoauthors_model->update_site($a_id, $this->input->post('a_sitecode'));
$this->Infoauthors_model->reviwed($a_id, $this->input->post('a_active'));
$admin_info = $this->session->userdata('session_admin');
- $this->InfoSMS_model->send_mail('gavin', 'gavin@chinahighlights.com', $this->input->post('edit_a_name'), $this->input->post('edit_a_email'), 'Sign Up For China Highlights Online Writers Platform', 'Welcom to China Highlights Online Writers Platform:
China Highlights Online Writers Platform');
+ $this->InfoSMS_model->send_mail('gavin', 'gavin@chinahighlights.com', $this->input->post('edit_a_name'), $this->input->post('edit_a_email'), 'Sign Up For China Highlights Online Writers Platform', 'Welcom to China Highlights Online Writers Platform:
China Highlights Online Writers Platform');
$data[] = array('name' => 'ok', 'value' => $this->lang->line('author_review_submit'));
echo json_encode($data);
}
diff --git a/author/language/english/form_validation_lang.php b/author/language/english/form_validation_lang.php
index fb32ad36..e7d30e32 100644
--- a/author/language/english/form_validation_lang.php
+++ b/author/language/english/form_validation_lang.php
@@ -49,6 +49,6 @@ $lang['script_success_save']="Your script has been saved successfully.";
$lang['author_email_message_subject']='Message,%s';
-$lang['author_email_message_body']='You have a new message on the China Highlights Content Management System. Please log in at http://i.chtcdn.com/info.php/author';
+$lang['author_email_message_body']='You have a new message on the China Highlights Content Management System. Please log in at http://author.mycht.cn';
diff --git a/author/models/infoauthors_model.php b/author/models/infoauthors_model.php
index ac7a0db5..ae57b06c 100644
--- a/author/models/infoauthors_model.php
+++ b/author/models/infoauthors_model.php
@@ -204,7 +204,7 @@ class Infoauthors_model extends CI_Model {
. " ( \n"
. " ?, ?, ?, ?, ?, ?, ?, ?, 0 \n"
. " ) ";
- $query = $this->HT->query($sql, array($fromName, $fromEmail, $toName, $toEmail, $subject, $body, 'Author', 'http://a.chtcdn.com'));
+ $query = $this->HT->query($sql, array($fromName, $fromEmail, $toName, $toEmail, $subject, $body, 'Author', 'http://author.mycht.cn'));
return $query;
}
diff --git a/author/views/signup.php b/author/views/signup.php
index c578ee66..204d53cf 100644
--- a/author/views/signup.php
+++ b/author/views/signup.php
@@ -112,7 +112,7 @@ Van Hinsbergh
1. The user agrees to write/edit web -content for www.chinahighlights.com to the following standard. For more details see Freelancer +content for www.chinahighlights.com to the following standard. For more details see Freelancer Article Requirements and Ratings.
diff --git a/info.php b/info.php index 1898502e..fa440314 100644 --- a/info.php +++ b/info.php @@ -72,8 +72,8 @@ if (defined('ENVIRONMENT')) * NO TRAILING SLASH! * */ -if ($_SERVER['HTTP_HOST']=='a.chtcdn.com') { - header('Location: http://a.cdnch.com/');exit; +if ($_SERVER['HTTP_HOST']=='a.chtcdn.com' || $_SERVER['HTTP_HOST']=='a.cdnch.com') { + header('Location: http://author.mycht.cn/');exit; $application_folder = 'author'; }else{ $application_folder = 'application';