summaryrefslogtreecommitdiff
path: root/mailing_list.php
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-19 01:34:36 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-19 01:34:36 +0000
commit808033ec1e3ec2c0972c81b1b4085a8897c1184e (patch)
tree49f6a8b869e94836640b96f352f6b2cd14b33f45 /mailing_list.php
parent235f2f785d6d3d09be782fb5eb29d9dee82b8bb6 (diff)
downloadboards-808033ec1e3ec2c0972c81b1b4085a8897c1184e.tar.gz
boards-808033ec1e3ec2c0972c81b1b4085a8897c1184e.tar.bz2
boards-808033ec1e3ec2c0972c81b1b4085a8897c1184e.zip
tra() for error/warning/delete messages
Diffstat (limited to 'mailing_list.php')
-rw-r--r--mailing_list.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/mailing_list.php b/mailing_list.php
index 0ca25f6..5022a13 100644
--- a/mailing_list.php
+++ b/mailing_list.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_boards/mailing_list.php,v 1.5 2008/06/25 22:21:08 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_boards/mailing_list.php,v 1.6 2008/09/19 01:34:36 laetzer Exp $
* Copyright (c) bitweaver Group
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
@@ -48,7 +48,12 @@ if( !empty( $_REQUEST['create_list'] ) ) {
if( empty( $_REQUEST['confirm'] ) ) {
$formHash['delete_list'] = TRUE;
$formHash['b'] = $gContent->getField( 'board_id' );
- $gBitSystem->confirmDialog( $formHash, array( 'warning' => 'Are you sure you want to delete the mailing list '.$gContent->getTitle().'?', 'error' => 'This cannot be undone!' ) );
+ $gBitSystem->confirmDialog( $formHash,
+ array(
+ 'warning' => tra('Are you sure you want to delete this mailing list?') . ' ' . $gContent->getTitle(),
+ 'error' => tra('This cannot be undone!'),
+ )
+ );
} else {
if( !($error = mailman_rmlist( $gContent->getPreference( 'boards_mailing_list' ) )) ) {
$gContent->storePreference( 'boards_mailing_list', NULL );