diff options
| author | laetzer <laetzer@users.sourceforge.net> | 2008-09-19 01:34:39 +0000 |
|---|---|---|
| committer | laetzer <laetzer@users.sourceforge.net> | 2008-09-19 01:34:39 +0000 |
| commit | 0d9201ca5dc3190e8e2f562bb6cc204c07e1861c (patch) | |
| tree | a4aac2ca8f901ab85aaa37d5b4fa5f38032f691c /remove_page.php | |
| parent | 71bc83ca4ee3d84beaae61bcd3f47dc9a1685a01 (diff) | |
| download | wiki-0d9201ca5dc3190e8e2f562bb6cc204c07e1861c.tar.gz wiki-0d9201ca5dc3190e8e2f562bb6cc204c07e1861c.tar.bz2 wiki-0d9201ca5dc3190e8e2f562bb6cc204c07e1861c.zip | |
tra() for error/warning/delete messages
Diffstat (limited to 'remove_page.php')
| -rw-r--r-- | remove_page.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/remove_page.php b/remove_page.php index d583c47..724d1a7 100644 --- a/remove_page.php +++ b/remove_page.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/remove_page.php,v 1.10 2007/10/25 20:43:02 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/remove_page.php,v 1.11 2008/09/19 01:34:39 laetzer Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * 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 * - * $Id: remove_page.php,v 1.10 2007/10/25 20:43:02 squareing Exp $ + * $Id: remove_page.php,v 1.11 2008/09/19 01:34:39 laetzer Exp $ * @package wiki * @subpackage functions */ @@ -33,7 +33,7 @@ if( isset( $_REQUEST["confirm"] ) ) { header( "location: ".WIKI_PKG_URL ); die; } else { - $gBitSystem->fatalError( "There was an error deleting the page: ".vc( $gContent->mErrors )); + $gBitSystem->fatalError( tra("There was an error deleting the page:") . ' ' . vc( $gContent->mErrors )); } } @@ -43,7 +43,8 @@ $formHash['page_id'] = $_REQUEST['page_id']; $msgHash = array( 'label' => tra( 'Delete WikiPage' ), 'confirm_item' => $gContent->getTitle(), - 'warning' => tra( 'All previous versions of this page will be completely deleted.<br />This cannot be undone!' ), + 'warning' => tra( 'All previous versions of this page will be completely deleted.' ), + 'error' => tra( 'This cannot be undone!' ), ); $gBitSystem->confirmDialog( $formHash,$msgHash ); |
