diff options
| -rw-r--r-- | display_bitpage_inc.php | 6 | ||||
| -rw-r--r-- | edit.php | 12 | ||||
| -rw-r--r-- | page_history.php | 6 | ||||
| -rw-r--r-- | page_watches.php | 6 | ||||
| -rw-r--r-- | remove_page.php | 6 |
5 files changed, 18 insertions, 18 deletions
diff --git a/display_bitpage_inc.php b/display_bitpage_inc.php index de47eb2..82c1794 100644 --- a/display_bitpage_inc.php +++ b/display_bitpage_inc.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/display_bitpage_inc.php,v 1.31 2007/03/21 07:53:13 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/display_bitpage_inc.php,v 1.32 2007/04/23 09:36:32 squareing 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: display_bitpage_inc.php,v 1.31 2007/03/21 07:53:13 squareing Exp $ + * $Id: display_bitpage_inc.php,v 1.32 2007/04/23 09:36:32 squareing Exp $ * @package wiki * @subpackage functions */ @@ -24,7 +24,7 @@ $gBitSystem->verifyPermission( 'p_wiki_view_page' ); // Check permissions to access this page if( !$gContent->isValid() ) { - $gBitSystem->fatalError( 'Page cannot be found' ); + $gBitSystem->fatalError( tra( 'Page cannot be found' )); } $displayHash = array( 'perm_name' => 'p_wiki_view_page' ); @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.33 2007/04/20 13:36:59 nickpalmer Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.34 2007/04/23 09:36:32 squareing 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: edit.php,v 1.33 2007/04/20 13:36:59 nickpalmer Exp $ + * $Id: edit.php,v 1.34 2007/04/23 09:36:32 squareing Exp $ * @package wiki * @subpackage functions */ @@ -41,9 +41,9 @@ if( ( !empty( $_REQUEST['page'] ) && $_REQUEST['page'] == 'SandBox' ) || ( !empt if( $wiki_sandbox && !$gBitSystem->isFeatureActive( 'wiki_sandbox' ) ) { - $gBitSystem->fatalError( "The SandBox is disabled" ); + $gBitSystem->fatalError( tra( "The SandBox is disabled" )); } elseif( !$wiki_sandbox && !$gContent->hasUserPermission( 'p_wiki_edit_page' ) ) { - $gBitSystem->fatalError( 'Permission denied you cannot edit the page named "'.$gContent->getTitle().'"' ); + $gBitSystem->fatalError( tra( 'Permission denied you cannot edit the page named' ).' "'.$gContent->getTitle().'"' ); } if( $gContent->isLocked() ) { @@ -201,14 +201,14 @@ if( isset( $_REQUEST["suck_url"] ) ) { // At least one export filter for wiki already coded : ) -- PDF exporter... $sdta = @file_get_contents( $suck_url ); if( isset( $php_errormsg ) && strlen( $php_errormsg ) ) { - $gBitSystem->fatalError( 'Can\'t import remote HTML page' ); + $gBitSystem->fatalError( tra( "Can't import remote HTML page" )); } // Need to parse HTML? if( $parsehtml == 'y' ) { // Read compiled( serialized ) grammar $grammarfile = UTIL_PKG_PATH.'htmlparser/htmlgrammar.cmp'; if( !$fp = @fopen( $grammarfile,'r' ) ) { - $gBitSystem->fatalError( 'Can\'t parse remote HTML page' ); + $gBitSystem->fatalError( tra( "Can't parse remote HTML page" )); } $grammar = unserialize( fread( $fp, filesize( $grammarfile ) ) ); fclose( $fp ); diff --git a/page_history.php b/page_history.php index f3439ad..a3f7c56 100644 --- a/page_history.php +++ b/page_history.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.17 2007/03/20 16:56:34 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.18 2007/04/23 09:36:32 squareing 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: page_history.php,v 1.17 2007/03/20 16:56:34 spiderr Exp $ + * $Id: page_history.php,v 1.18 2007/04/23 09:36:32 squareing Exp $ * @package wiki * @subpackage functions */ @@ -29,7 +29,7 @@ include( WIKI_PKG_PATH.'lookup_page_inc.php' ); //vd($gContent->mPageId);vd($gContent->mInfo); if( !$gContent->isValid() || empty( $gContent->mInfo ) ) { - $gBitSystem->fatalError( "Unknown page" ); + $gBitSystem->fatalError( tra( "Unknown page" )); } $page_id = $_REQUEST['page_id']; diff --git a/page_watches.php b/page_watches.php index 4017791..0eb40be 100644 --- a/page_watches.php +++ b/page_watches.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/page_watches.php,v 1.2 2007/03/20 16:56:34 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/page_watches.php,v 1.3 2007/04/23 09:36:32 squareing 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: page_watches.php,v 1.2 2007/03/20 16:56:34 spiderr Exp $ + * $Id: page_watches.php,v 1.3 2007/04/23 09:36:32 squareing Exp $ * @package wiki * @subpackage functions */ @@ -28,7 +28,7 @@ include( WIKI_PKG_PATH.'lookup_page_inc.php' ); //vd($gContent->mPageId);vd($gContent->mInfo); if( !$gContent->isValid() || empty( $gContent->mInfo ) ) { - $gBitSystem->fatalError( "Unknown page" ); + $gBitSystem->fatalError( tra( "Unknown page" )); } $watches = NULL; diff --git a/remove_page.php b/remove_page.php index 076bbbf..49160a0 100644 --- a/remove_page.php +++ b/remove_page.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/remove_page.php,v 1.6 2007/03/20 16:56:34 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/remove_page.php,v 1.7 2007/04/23 09:36:32 squareing 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.6 2007/03/20 16:56:34 spiderr Exp $ + * $Id: remove_page.php,v 1.7 2007/04/23 09:36:32 squareing Exp $ * @package wiki * @subpackage functions */ @@ -23,7 +23,7 @@ include_once( WIKI_PKG_PATH.'lookup_page_inc.php' ); $gBitSystem->verifyPackage( 'wiki' ); if( !$gContent->isValid() ) { - $gBitSystem->fatalError( "No page indicated" ); + $gBitSystem->fatalError( tra( "No page indicated" )); } $gBitSystem->verifyPermission( 'p_wiki_remove_page' ); |
