Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 51 lines (44 sloc) 1.606 kB
1c2aec6 @ccraig I'm just gonna make changes to the latest, original release available…
ccraig authored
1 <?php
2 /**
afb6de9 @soonick Removed smarty from admin_mailings page
authored
3 * Original Code Copyright (C) 2005, 2006, 2007, 2008 Brice Burgess <bhb@iceburg.net>
4 * released originally under GPLV2
1c2aec6 @ccraig I'm just gonna make changes to the latest, original release available…
ccraig authored
5 *
afb6de9 @soonick Removed smarty from admin_mailings page
authored
6 * This file is part of poMMo.
7 *
8 * poMMo is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * poMMo is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with Pommo. If not, see <http://www.gnu.org/licenses/>.
1c2aec6 @ccraig I'm just gonna make changes to the latest, original release available…
ccraig authored
20 *
afb6de9 @soonick Removed smarty from admin_mailings page
authored
21 * This fork is from https://github.com/soonick/poMMo
22 * Please see docs/contribs for Contributors
23 *
1c2aec6 @ccraig I'm just gonna make changes to the latest, original release available…
ccraig authored
24 */
25
26 /**********************************
27 INITIALIZATION METHODS
28 *********************************/
afb6de9 @soonick Removed smarty from admin_mailings page
authored
29 require 'bootstrap.php';
30 require_once Pommo::$_baseDir.'classes/Pommo_Mailing.php';
1c2aec6 @ccraig I'm just gonna make changes to the latest, original release available…
ccraig authored
31
7722117 Starting to get mailings section to work
Adrian Ancona Novelo authored
32 Pommo::init();
afb6de9 @soonick Removed smarty from admin_mailings page
authored
33 $logger = Pommo::$_logger;
34 $dbo = Pommo::$_dbo;
1c2aec6 @ccraig I'm just gonna make changes to the latest, original release available…
ccraig authored
35
36 /**********************************
37 SETUP TEMPLATE, PAGE
38 *********************************/
afb6de9 @soonick Removed smarty from admin_mailings page
authored
39 require_once Pommo::$_baseDir.'classes/Pommo_Template.php';
40 $view = new Pommo_Template();
1c2aec6 @ccraig I'm just gonna make changes to the latest, original release available…
ccraig authored
41
7722117 Starting to get mailings section to work
Adrian Ancona Novelo authored
42 if (Pommo_Mailing::isCurrent())
43 {
44 Pommo::kill(sprintf(Pommo::_T('A Mailing is currently processing. Visit the
45 %sStatus%s page to check its progress.'),
46 '<a href="mailing_status.php">', '</a>'));
47 }
1c2aec6 @ccraig I'm just gonna make changes to the latest, original release available…
ccraig authored
48
afb6de9 @soonick Removed smarty from admin_mailings page
authored
49 $view->display('admin/mailings/admin_mailings');
7722117 Starting to get mailings section to work
Adrian Ancona Novelo authored
50
Something went wrong with that request. Please try again.