Skip to content

Commit

Permalink
Removed references to smarty in source code
Browse files Browse the repository at this point in the history
  • Loading branch information
soonick committed Feb 12, 2012
1 parent 4e545f8 commit 3b60a1e
Show file tree
Hide file tree
Showing 114 changed files with 44 additions and 14,523 deletions.
1 change: 0 additions & 1 deletion ajax/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
),
$_POST);

// SmartyValidate Custom Validation Function
function check_charset($value, $empty, & $params, & $formvars) {
$validCharsets = array (
'UTF-8',
Expand Down
8 changes: 4 additions & 4 deletions confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
SETUP TEMPLATE, PAGE
*********************************/
require_once(Pommo::$_baseDir.'classes/Pommo_Template.php');
$smarty = new Pommo_Template();
$view = new Pommo_Template();

if (empty($_GET['code'])) {
$logger->addMsg(Pommo::_T('No code given.'));
$smarty->display('user/confirm');
$view->display('user/confirm');
Pommo::kill();
}

Expand All @@ -48,7 +48,7 @@

if (!$pending) {
$logger->addMsg(Pommo::_T('Invalid code! Make sure you copied it correctly from the email.'));
$smarty->display('user/confirm');
$view->display('user/confirm');
Pommo::kill();
}

Expand Down Expand Up @@ -98,5 +98,5 @@
break;
}
}
$smarty->display('user/confirm');
$view->display('user/confirm');

6 changes: 3 additions & 3 deletions db.clear.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
SETUP TEMPLATE, PAGE
*********************************/
require_once Pommo::$_baseDir.'classes/Pommo_Template.php';
$smarty = new Pommo_Template();
$view = new Pommo_Template();

$message[] = 'Database Reset.';
$smarty->assign('messages', $message);
$smarty->display('support/support');
$view->assign('messages', $message);
$view->display('support/support');
Pommo::kill();

6 changes: 3 additions & 3 deletions db.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@
SETUP TEMPLATE, PAGE
*********************************/
require_once Pommo::$_baseDir.'classes/Pommo_Template.php';
$smarty = new Pommo_Template();
$view = new Pommo_Template();

$message[] = 'Database Reset. Sample Data Loaded.';
$smarty->assign('messages', $message);
$smarty->display('support/support.lib');
$view->assign('messages', $message);
$view->display('support/support.lib');
Pommo::kill();

6 changes: 3 additions & 3 deletions db.subscriberClear.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
SETUP TEMPLATE, PAGE
*********************************/
require_once Pommo::$_baseDir.'classes/Pommo_Template.php';
$smarty = new Pommo_Template();
$view = new Pommo_Template();

$message[] = 'Subscribers Reset.';
$smarty->assign('messages', $message);
$smarty->display('support/support.lib');
$view->assign('messages', $message);
$view->display('support/support.lib');
Pommo::kill();

4 changes: 2 additions & 2 deletions docs/DEVELOPERS
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pommo/classes/
Pommo_Mail_Ctl.php = mailing controller API
Pommo_Mailer.php = mailing class (extends PHPMailer)
Pommo.php = *** pommo class and basic API *** loaded by bootstrap.php
Pommo_Template.php = view controller (extends SMARTY)
Pommo_Template.php = view controller
Pommo_Throttler.php = mail throttle class
Pommo_Sql.php = SQL generator -- generates grouping SQL statements
Pommo_Helper.php = common API helpers. Loaded during bootstrap process.
Expand All @@ -77,7 +77,7 @@ pommo/classes/

pommo/lib/
"3rd Party Directory"
Holds third-party contributions and utilizations -- e.g. Smarty, PHP Gettext, SafeSQL
Holds third-party contributions and utilizations -- e.g. PHP Gettext, SafeSQL


pommo/sql/
Expand Down
Loading

0 comments on commit 3b60a1e

Please sign in to comment.