Files
EasySoft-ZenTaoPMS/module/story/view/sendmail.html.php
T
2013-07-17 11:05:28 +08:00

44 lines
1.3 KiB
PHP

<?php
/**
* The mail file of story module of ZenTaoPMS.
*
* @copyright Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package bug
* @version $Id: sendmail.html.php 4129 2013-01-18 01:58:14Z wwccss $
* @link http://www.zentao.net
*/
?>
<?php
$onlybody = isonlybody() ? true : false;
if($onlybody) $_GET['onlybody'] = 'no';
?>
<table width='98%' align='center'>
<tr class='header'>
<td>
STORY #<?php echo $story->id . "=>$story->assignedTo " . html::a(common::getSysURL() . $this->createLink('story', 'view', "storyID=$story->id"), $story->title);?>
</td>
</tr>
<tr>
<td>
<fieldset>
<legend><?php echo $lang->story->legendSpec;?></legend>
<div class='content'>
<?php
if(strpos($story->spec, 'src="data/upload'))
{
$story->spec = preg_replace('/<img (.*) src="/', '<img $1 src="http://' . $this->server->http_host . $this->config->webRoot, $story->spec);
}
echo $story->spec;
?>
</div>
</fieldset>
</td>
</tr>
<tr>
<td><?php include '../../common/view/mail.html.php';?></td>
</tr>
</table>
<?php if($onlybody) $_GET['onlybody'] = 'yes';?>