summaryrefslogtreecommitdiff
path: root/modules/notification/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-04 08:51:49 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-04 08:51:49 +0000
commit23b0abb9742d3418484fe8d01609f6849d7960ce (patch)
tree917e2816d561036055769c1723382ab0de4f6431 /modules/notification/views
parentb493a534f2966e23eb0244654e8929320721da8e (diff)
Redefine the batch API to be very very simple. You call
batch::start() before starting a series of events, and batch::stop() when you're done. In batch mode, the notification module will store up pending notifications. When the batch job is complete, it'll send a single digested email to each user for all of her notifications. Updated the scaffold and local_import to use this. Haven't modified SimpleUploader yet.
Diffstat (limited to 'modules/notification/views')
-rw-r--r--modules/notification/views/batch_add.html.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/notification/views/batch_add.html.php b/modules/notification/views/batch_add.html.php
deleted file mode 100644
index b13fcf01..00000000
--- a/modules/notification/views/batch_add.html.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php defined("SYSPATH") or die("No direct script access.") ?>
-<html>
-<head>
- <title><?= $subject ?> </title>
-</head>
-<body>
- <h2><?= sprintf(t("New Photos, Movies or Albums have been added to %s."), $parent_title); ?></h2>
- <p><?= sprintf(t("Click on the link below to view the additions"), $parent_title); ?></p>
- <p><a href="<?= $url ?>"><?= t(here) ?></a><p>
-</body>
-</html>