summaryrefslogtreecommitdiff
path: root/mailing_list.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-02-07 16:52:14 +0000
committerlsces <lester@lsces.co.uk>2016-02-07 16:52:14 +0000
commitec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3 (patch)
treeacf78aeabb74725e27e61e2e245274f70f6e894a /mailing_list.php
parentc3f0281d2755f78664f7541dce3a8c85706dc7d1 (diff)
downloadboards-ec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3.tar.gz
boards-ec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3.tar.bz2
boards-ec5f7a975915b9ef49499fc0ad063c5ecb8cdfd3.zip
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'mailing_list.php')
-rw-r--r--mailing_list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailing_list.php b/mailing_list.php
index bd91d53..fee54ab 100644
--- a/mailing_list.php
+++ b/mailing_list.php
@@ -93,13 +93,13 @@ if( $gContent->getBoardMailingList() ) {
$gBitSmarty->assign( 'boardsMailingList', $gContent->getBoardMailingList() );
if ( $gContent->hasUserPermission( 'p_boards_boards_members_view' ) ){
$members = mailman_list_members( $gContent->getPreference( 'boards_mailing_list' ) );
- $gBitSmarty->assign_by_ref( 'listMembers', $members );
+ $gBitSmarty->assignByRef( 'listMembers', $members );
}
} else {
$gBitSmarty->assign( 'suggestedListName', preg_replace( '/[^a-z0-9]/', '', strtolower( $gContent->getTitle() ) ) );
}
// display
-$gBitSmarty->assign_by_ref( 'board', $gContent );
+$gBitSmarty->assignByRef( 'board', $gContent );
$gBitSystem->display( "bitpackage:boards/mailing_list.tpl", $gContent->getTitle() ." ". tra( 'Message Board Mailing List' ) , array( 'display_mode' => 'list' ));
?>