diff options
Diffstat (limited to 'modules/notification/views/item_deleted.html.php')
| -rw-r--r-- | modules/notification/views/item_deleted.html.php | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/modules/notification/views/item_deleted.html.php b/modules/notification/views/item_deleted.html.php index f3e098da..ac9ab594 100644 --- a/modules/notification/views/item_deleted.html.php +++ b/modules/notification/views/item_deleted.html.php @@ -1,18 +1,21 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <html> -<head> - <title><?= $subject ?> </title> -</head> -<body> - <h2><?= sprintf(t("%s: %s was removed from %s"), $type, $item_title, $parent_title) ?></h2> - <table> - <tr> - <td colspan="2"><?= sprintf(t("To view the changed album %s use the link below."), $parent_title) ?></td> - </tr> - <tr> - <td><?= t("Url:") ?></td> - <td><a href="<?= $url ?>"><?= $url ?></a></td> - </tr> - </table> -</body> + <head> + <title><?= $subject ?> </title> + </head> + <body> + <h2><?= $subject ?></h2> + <table> + <tr> + <td colspan="2"> + <?= t("To view the changed album %title use the link below.", + array("title" => $item->parent()->title)) ?> + </td> + </tr> + <tr> + <td><?= t("Url:") ?></td> + <td><a href="<?= $item->parent()->url(array(), true) ?>"><?= $item->parent()->url(array(), true) ?></a></td> + </tr> + </table> + </body> </html> |
