From eced83d13a8e03ecb648c532af74b390b98edf88 Mon Sep 17 00:00:00 2001 From: daitingting Date: Thu, 28 Jun 2018 16:25:48 +0800 Subject: [PATCH] * Adjust $config => $this->config. --- module/bug/view/sendmail.html.php | 2 +- module/story/view/sendmail.html.php | 2 +- module/task/view/sendmail.html.php | 2 +- module/testtask/view/sendmail.html.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/bug/view/sendmail.html.php b/module/bug/view/sendmail.html.php index 77f09863db..f949c6399e 100644 --- a/module/bug/view/sendmail.html.php +++ b/module/bug/view/sendmail.html.php @@ -18,7 +18,7 @@ color) ? '#333' : $bug->color;?> - mail, 'domain', common::getSysURL()) . helper::createLink('bug', 'view', "bugID=$bug->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?> + config->mail, 'domain', common::getSysURL()) . helper::createLink('bug', 'view', "bugID=$bug->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?> diff --git a/module/story/view/sendmail.html.php b/module/story/view/sendmail.html.php index 363bce5cc2..eaf864d652 100644 --- a/module/story/view/sendmail.html.php +++ b/module/story/view/sendmail.html.php @@ -18,7 +18,7 @@ color) ? '#333' : $story->color;?> - mail, 'domain', common::getSysURL()) . helper::createLink('story', 'view', "storyID=$story->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?> + config->mail, 'domain', common::getSysURL()) . helper::createLink('story', 'view', "storyID=$story->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?> diff --git a/module/task/view/sendmail.html.php b/module/task/view/sendmail.html.php index 30fb0f2f01..acdb53ed49 100644 --- a/module/task/view/sendmail.html.php +++ b/module/task/view/sendmail.html.php @@ -18,7 +18,7 @@ color) ? '#333' : $task->color;?> - mail, 'domain', common::getSysURL()) . helper::createLink('task', 'view', "taskID=$task->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?> + config->mail, 'domain', common::getSysURL()) . helper::createLink('task', 'view', "taskID=$task->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?> diff --git a/module/testtask/view/sendmail.html.php b/module/testtask/view/sendmail.html.php index 786e820bc6..d688899982 100644 --- a/module/testtask/view/sendmail.html.php +++ b/module/testtask/view/sendmail.html.php @@ -18,7 +18,7 @@ color) ? '#333' : $testtask->color;?> - mail, 'domain', common::getSysURL()) . helper::createLink('testtask', 'view', "testtaskID=$testtask->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?> + config->mail, 'domain', common::getSysURL()) . helper::createLink('testtask', 'view', "testtaskID=$testtask->id"), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?>