mail.footer.html.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. $extViewFile = $this->app->getModuleRoot() . 'ext/view/' . basename(__FILE__);
  3. if(file_exists($extViewFile))
  4. {
  5. include $extViewFile;
  6. return;
  7. }
  8. ?>
  9. <?php if(isset($action->objectType) and isset($action->action)):?>
  10. <?php if(!empty($action->comment)):?>
  11. <tr>
  12. <td style="padding:0px 10px 10px 10px; border: none;">
  13. <fieldset style="border: 1px solid #e5e5e5">
  14. <legend style="color: #114f8e"><?php echo $this->lang->comment?></legend>
  15. <div style="padding:5px;"><?php echo $action->comment?></div>
  16. </fieldset>
  17. </td>
  18. </tr>
  19. <?php endif;?>
  20. <tr>
  21. <td style='padding: 10px; background-color: #FFF0D5'>
  22. <?php if(empty($users)) $users = $this->loadModel('user')->getPairs('noletter');?>
  23. <?php $action->actor = zget($users, $action->actor);?>
  24. <?php $action->extra = zget($users, $action->extra);?>
  25. <span style='font-size: 16px; color: #F1A325'>●</span> &nbsp;<span><?php $this->action->printAction($action);?></span>
  26. </td>
  27. </tr>
  28. <?php if(!empty($action->history)):?>
  29. <tr>
  30. <td style='padding: 10px;'>
  31. <div><?php $this->action->printChanges($action->objectType, $action->objectID, $action->history, false);?></div>
  32. </td>
  33. </tr>
  34. <?php endif;?>
  35. <?php endif;?>
  36. </table>
  37. </td>
  38. </tr>
  39.  </table>
  40. </body>
  41. </html><?php // close tags in mail.header.html.php ?>