From 055ab21947e41eb97d45670b435d5a41b2e84ff0 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Sat, 6 Jul 2013 08:15:52 +0000 Subject: [PATCH] * Reduce redundant. --- module/bug/view/m.sendmail.html.php | 39 +-------------------------- module/story/view/m.sendmail.html.php | 39 +-------------------------- 2 files changed, 2 insertions(+), 76 deletions(-) diff --git a/module/bug/view/m.sendmail.html.php b/module/bug/view/m.sendmail.html.php index 60892729ef..a7b56ef31b 100644 --- a/module/bug/view/m.sendmail.html.php +++ b/module/bug/view/m.sendmail.html.php @@ -1,39 +1,2 @@ - * @package bug - * @version $Id: sendmail.html.php 4626 2013-04-10 05:34:36Z chencongzhi520@gmail.com $ - * @link http://www.zentao.net - */ -?> - - - - - - - - - - -
- BUG #id . "=>{$users[$bug->assignedTo]} " . html::a(common::getSysURL() . $this->createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?> -
-
- bug->legendSteps;?> -
- steps, 'src="data/upload')) - { - $bug->steps = str_replace('server->http_host . $this->config->webRoot, $bug->steps); - $bug->steps = str_replace('server->http_host . $this->config->webRoot, $bug->steps); - } - echo $bug->steps; - ?> -
-
-
+include "./sendmail.html.php"; diff --git a/module/story/view/m.sendmail.html.php b/module/story/view/m.sendmail.html.php index 8ca31250d5..a7b56ef31b 100755 --- a/module/story/view/m.sendmail.html.php +++ b/module/story/view/m.sendmail.html.php @@ -1,39 +1,2 @@ - * @package bug - * @version $Id: sendmail.html.php 4129 2013-01-18 01:58:14Z wwccss $ - * @link http://www.zentao.net - */ -?> - - - - - - - - - - -
- STORY #id . "=>$story->assignedTo " . html::a(common::getSysURL() . $this->createLink('story', 'view', "storyID=$story->id"), $story->title);?> -
-
- story->legendSpec;?> -
- spec, 'src="data/upload')) - { - $story->spec = str_replace('server->http_host . $this->config->webRoot, $story->spec); - $story->spec = str_replace('server->http_host . $this->config->webRoot, $story->spec); - } - echo $story->spec; - ?> -
-
-
+include "./sendmail.html.php";