sendmail.html.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * The mail file of risk module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Mengyi Liu
  8. * @package risk
  9. * @version $Id: sendmail.html.php 4626 2013-04-10 05:34:36Z chencongzhi520@gmail.com $
  10. * @link https://www.zentao.net
  11. */
  12. ?>
  13. <?php $mailTitle = 'risk #' . $object->id . ' ' . $object->name;?>
  14. <?php include $this->app->getModuleRoot() . 'common/view/mail.header.html.php';?>
  15. <tr>
  16. <td>
  17. <table cellpadding='0' cellspacing='0' width='600' style='border: none; border-collapse: collapse;'>
  18. <tr>
  19. <td style='padding: 10px; background-color: #F8FAFE; border: none; font-size: 14px; font-weight: 500; border-bottom: 1px solid #e5e5e5;'>
  20. <?php $color = empty($object->color) ? '#333' : $object->color;?>
  21. <?php echo html::a($domain . helper::createLink('risk', 'view', "riskID=$object->id", 'html'), $mailTitle, '', "style='color: {$color}; text-decoration: underline;'");?>
  22. </td>
  23. </tr>
  24. </table>
  25. </td>
  26. </tr>
  27. <tr>
  28. <td style='padding: 10px; border: none;'>
  29. <fieldset style='border: 1px solid #e5e5e5'>
  30. <legend style='color: #114f8e'><?php echo $this->lang->risk->prevention;?></legend>
  31. <div style='padding:5px;'><?php echo $object->prevention;?></div>
  32. </fieldset>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td style='padding: 10px; border: none;'>
  37. <fieldset style='border: 1px solid #e5e5e5'>
  38. <legend style='color: #114f8e'><?php echo $this->lang->risk->remedy;?></legend>
  39. <div style='padding:5px;'><?php echo $object->remedy;?></div>
  40. </fieldset>
  41. </td>
  42. </tr>
  43. <?php include $this->app->getModuleRoot() . 'common/view/mail.footer.html.php';?>