summaryrefslogtreecommitdiff
path: root/modules/notification/views/item_updated.html.php
blob: 126bd5ccc81e188903fae2f8060f575df171b793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php defined("SYSPATH") or die("No direct script access.") ?>
<html>
<head>
  <title><?= $subject ?> </title>
</head>
<body>
  <h2><?= sprintf(t("%s %s was updated"), ucfirst($type), $item_title); ?></h2>
  <table>
    <tr>
      <? if (!empty($new_title)): ?>
      <td><?= t("New Title:") ?></td>
      <td><?= $new_title ?></td>
      <? else: ?>
      <td><?= t("Title:") ?></td>
      <td><?= $item_title ?></td>
      <? endif ?>
    </tr>
    <tr>
      <td><?= t("Url:") ?></td>
      <td><a href="<?= $url ?>"><?= $url ?></a></td>
    </tr>
    <? if (!empty($new_description)): ?>
    <tr>
      <td><?= t("New Description:") ?></td>
      <td><?= $new_description ?></td>
    </tr>
       <? else: if (!empty($description)): ?>
    <tr>
      <td><?= t("Description:") ?></td>
      <td><?= $description ?></td>
    </tr>
    <? endif ?>
    <? endif ?>
  </table>
</body>
</html>