summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/schema_inc.php3
-rw-r--r--admin/send.php4
2 files changed, 3 insertions, 4 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 0236724..cbbbffc 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -6,8 +6,6 @@ $tables = array(
nl_id I4 AUTO PRIMARY,
content_id I4 NOTNULL,
last_sent I8,
- editions I8,
- users I8,
allow_user_sub C(1) default 'y',
allow_any_sub C(1),
unsub_msg C(1) default 'y',
@@ -31,6 +29,7 @@ $tables = array(
'tiki_newsletters_editions' => "
edition_id I4 AUTO PRIMARY,
nl_id I4 NOTNULL,
+ is_draft C(1),
content_id I4 NOTNULL
CONSTRAINTS ', CONSTRAINT `tiki_nl_ed_nl_ref` FOREIGN KEY (`nl_id`) REFERENCES `".BIT_DB_PREFIX."tiki_newsletters`( `nl_id` )
, CONSTRAINT `tiki_nl_ed_con_ref` FOREIGN KEY (`content_id`) REFERENCES `".BIT_DB_PREFIX."tiki_content`( `content_id` )'
diff --git a/admin/send.php b/admin/send.php
index 28fc6a3..98a8b62 100644
--- a/admin/send.php
+++ b/admin/send.php
@@ -1,6 +1,6 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_newsletters/admin/send.php,v 1.4 2005/12/10 22:24:23 spiderr Exp $
+// $Header: /cvsroot/bitweaver/_bit_newsletters/admin/send.php,v 1.5 2005/12/11 06:34:19 spiderr Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
@@ -60,7 +60,7 @@ if (isset($_REQUEST["send"])) {
$listHash = array();
$editions = $gContent->getList( $listHash );
-$gBitSmarty->assign_by_ref( 'editions', $editions );
+$gBitSmarty->assign_by_ref( 'editionList', $editions );
$gBitSmarty->assign( 'listInfo', $listHash );
if( $gBitSystem->isFeatureActive( 'tiki_p_use_content_templates' ) ) {