summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backlinks.php6
-rw-r--r--like_pages.php6
-rw-r--r--list_pages.php8
-rw-r--r--orphan_pages.php8
-rw-r--r--page_history.php8
-rw-r--r--print.php6
-rw-r--r--print_pages.php6
-rw-r--r--rankings.php6
-rw-r--r--remove_page.php6
-rwxr-xr-xslideshow.php6
10 files changed, 33 insertions, 33 deletions
diff --git a/backlinks.php b/backlinks.php
index 82fa405..7894186 100644
--- a/backlinks.php
+++ b/backlinks.php
@@ -3,13 +3,13 @@
* assigned_modules
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
* @package wiki
* @subpackage functions
* @copyright Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
* @license Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
*/
-// $Header: /cvsroot/bitweaver/_bit_wiki/backlinks.php,v 1.11 2007/06/01 16:01:30 squareing Exp $
+// $Header: /cvsroot/bitweaver/_bit_wiki/backlinks.php,v 1.12 2007/07/06 16:22:14 spiderr Exp $
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
/**
@@ -30,7 +30,7 @@ if (!isset($_REQUEST["page"])) {
}
// Now check permissions to access this page
-$gBitSystem->verifyPermission( 'p_wiki_view_page' );
+$gContent->verifyPermission( 'p_wiki_view_page' );
// If the page doesn't exist then display an error
if( !$gContent->pageExists( $page )) {
diff --git a/like_pages.php b/like_pages.php
index 4b8974f..0b6997a 100644
--- a/like_pages.php
+++ b/like_pages.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/like_pages.php,v 1.11 2007/06/01 16:01:30 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/like_pages.php,v 1.12 2007/07/06 16:22:14 spiderr 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: like_pages.php,v 1.11 2007/06/01 16:01:30 squareing Exp $
+ * $Id: like_pages.php,v 1.12 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -21,7 +21,7 @@ include_once( WIKI_PKG_PATH.'BitPage.php');
include_once( WIKI_PKG_PATH.'lookup_page_inc.php' );
$gBitSystem->verifyPackage( 'wiki' );
$gBitSystem->verifyFeature( 'wiki_like_pages' );
-$gBitSystem->verifyPermission( 'p_wiki_view_page', tra( "Permission denied you cannot view pages like this page" ) );
+$gContent->verifyPermission( 'p_wiki_view_page', tra( "Permission denied you cannot view pages like this page" ) );
// Get the page from the request var or default it to HomePage
if( !$gContent->isValid() ) {
diff --git a/list_pages.php b/list_pages.php
index a1373b1..d0c8edf 100644
--- a/list_pages.php
+++ b/list_pages.php
@@ -1,8 +1,8 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/list_pages.php,v 1.17 2007/03/20 16:56:34 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/list_pages.php,v 1.18 2007/07/06 16:22:14 spiderr Exp $
*
- * $Id: list_pages.php,v 1.17 2007/03/20 16:56:34 spiderr Exp $
+ * $Id: list_pages.php,v 1.18 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -16,7 +16,7 @@ require_once( WIKI_PKG_PATH.'BitPage.php' );
// verify stuff
$gBitSystem->verifyPackage( 'wiki' );
$gBitSystem->verifyFeature( 'wiki_list_pages' );
-$gBitSystem->verifyPermission( 'p_wiki_view_page' );
+$gContent->verifyPermission( 'p_wiki_view_page' );
/* mass-remove:
the checkboxes are sent as the array $_REQUEST["checked[]"], values are the wiki-PageNames,
@@ -28,7 +28,7 @@ $gBitSystem->verifyPermission( 'p_wiki_view_page' );
if( isset( $_REQUEST["batch_submit"] ) && isset( $_REQUEST["checked"] ) && $_REQUEST["batch_submit"] == "remove_pages" ) {
// Now check permissions to remove the selected pages
- $gBitSystem->verifyPermission( 'p_wiki_remove_page' );
+ $gContent->verifyPermission( 'p_wiki_remove_page' );
if( !empty( $_REQUEST['cancel'] )) {
// user cancelled - just continue on, doing nothing
diff --git a/orphan_pages.php b/orphan_pages.php
index 2af4054..794d762 100644
--- a/orphan_pages.php
+++ b/orphan_pages.php
@@ -1,8 +1,8 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/orphan_pages.php,v 1.12 2007/03/20 16:56:34 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/orphan_pages.php,v 1.13 2007/07/06 16:22:14 spiderr Exp $
*
- * $Id: orphan_pages.php,v 1.12 2007/03/20 16:56:34 spiderr Exp $
+ * $Id: orphan_pages.php,v 1.13 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -17,7 +17,7 @@ include_once( WIKI_PKG_PATH.'BitPage.php' );
$gBitSystem->verifyPackage( 'wiki' );
$gBitSystem->verifyFeature( 'wiki_list_orphans' );
-$gBitSystem->verifyPermission( 'p_wiki_view_page' );
+$gContent->verifyPermission( 'p_wiki_view_page' );
/* mass-remove:
the checkboxes are sent as the array $_REQUEST["checked[]"], values are the wiki-PageNames,
@@ -29,7 +29,7 @@ $gBitSystem->verifyPermission( 'p_wiki_view_page' );
if( isset( $_REQUEST["batch_submit"] ) && isset( $_REQUEST["checked"] ) && $_REQUEST["batch_submit"] == "remove_pages" ) {
// Now check permissions to remove the selected pages
- $gBitSystem->verifyPermission( 'p_wiki_remove_page' );
+ $gContent->verifyPermission( 'p_wiki_remove_page' );
if( !empty( $_REQUEST['cancel'] )) {
// user cancelled - just continue on, doing nothing
diff --git a/page_history.php b/page_history.php
index a6f917b..c75eae0 100644
--- a/page_history.php
+++ b/page_history.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.20 2007/06/01 18:06:03 wjames5 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/page_history.php,v 1.21 2007/07/06 16:22:14 spiderr 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.20 2007/06/01 18:06:03 wjames5 Exp $
+ * $Id: page_history.php,v 1.21 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -21,8 +21,8 @@ include_once( WIKI_PKG_PATH.'BitPage.php');
$gBitSystem->verifyPackage( 'wiki' );
$gBitSystem->verifyFeature( 'wiki_history' );
-$gBitSystem->verifyPermission( 'p_wiki_view_page', tra( "Permission denied you cannot browse this page history" ) );
-$gBitSystem->verifyPermission( 'p_wiki_view_history', tra( "Permission denied you cannot browse this page history" ) );
+$gContent->verifyPermission( 'p_wiki_view_page', tra( "Permission denied you cannot browse this page history" ) );
+$gContent->verifyPermission( 'p_wiki_view_history', tra( "Permission denied you cannot browse this page history" ) );
// Get the page from the request var or default it to HomePage
include( WIKI_PKG_PATH.'lookup_page_inc.php' );
diff --git a/print.php b/print.php
index 1d3f89c..cb2d9f1 100644
--- a/print.php
+++ b/print.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/print.php,v 1.19 2007/07/06 15:43:23 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/print.php,v 1.20 2007/07/06 16:22:14 spiderr 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: print.php,v 1.19 2007/07/06 15:43:23 squareing Exp $
+ * $Id: print.php,v 1.20 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -20,7 +20,7 @@ require_once( '../bit_setup_inc.php' );
include_once( WIKI_PKG_PATH.'BitPage.php');
$gBitSystem->verifyPackage( 'wiki' );
-$gBitSystem->verifyPermission( 'p_wiki_view_page' );
+$gContent->verifyPermission( 'p_wiki_view_page' );
// If the page doesn't exist then display an error
$requirePage = TRUE;
diff --git a/print_pages.php b/print_pages.php
index 267023f..13a3ae9 100644
--- a/print_pages.php
+++ b/print_pages.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/print_pages.php,v 1.7 2007/06/02 12:08:52 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/print_pages.php,v 1.8 2007/07/06 16:22:14 spiderr 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: print_pages.php,v 1.7 2007/06/02 12:08:52 squareing Exp $
+ * $Id: print_pages.php,v 1.8 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -22,7 +22,7 @@ if( !$gBitSystem->isFeatureActive( 'wiki_multiprint' ) ) {
$gBitSystem->fatalError( tra("This feature is disabled").": wiki_multiprint" );
}
// Now check permissions if user can view wiki pages
-$gBitSystem->verifyPermission( 'p_wiki_view_page' );
+$gContent->verifyPermission( 'p_wiki_view_page' );
if (!isset($_REQUEST["printpages"])) {
$printpages = array();
diff --git a/rankings.php b/rankings.php
index ff08e62..7dda4db 100644
--- a/rankings.php
+++ b/rankings.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/rankings.php,v 1.8 2006/04/11 13:10:33 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/rankings.php,v 1.9 2007/07/06 16:22:14 spiderr 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: rankings.php,v 1.8 2006/04/11 13:10:33 squareing Exp $
+ * $Id: rankings.php,v 1.9 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -20,7 +20,7 @@ require_once( '../bit_setup_inc.php' );
$gBitSystem->verifyPackage( 'wiki' );
$gBitSystem->verifyFeature( 'wiki_rankings' );
-$gBitSystem->verifyPermission( 'p_wiki_view_page' );
+$gContent->verifyPermission( 'p_wiki_view_page' );
$rankingOptions = array(
array(
diff --git a/remove_page.php b/remove_page.php
index 49160a0..49ca830 100644
--- a/remove_page.php
+++ b/remove_page.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/remove_page.php,v 1.7 2007/04/23 09:36:32 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/remove_page.php,v 1.8 2007/07/06 16:22:14 spiderr 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.7 2007/04/23 09:36:32 squareing Exp $
+ * $Id: remove_page.php,v 1.8 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -26,7 +26,7 @@ if( !$gContent->isValid() ) {
$gBitSystem->fatalError( tra( "No page indicated" ));
}
-$gBitSystem->verifyPermission( 'p_wiki_remove_page' );
+$gContent->verifyPermission( 'p_wiki_remove_page' );
if( isset( $_REQUEST["confirm"] ) ) {
if( $gContent->expunge() ) {
diff --git a/slideshow.php b/slideshow.php
index 5dfadaf..8e1a782 100755
--- a/slideshow.php
+++ b/slideshow.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/slideshow.php,v 1.17 2007/06/01 16:01:30 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/slideshow.php,v 1.18 2007/07/06 16:22:14 spiderr 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: slideshow.php,v 1.17 2007/06/01 16:01:30 squareing Exp $
+ * $Id: slideshow.php,v 1.18 2007/07/06 16:22:14 spiderr Exp $
* @package wiki
* @subpackage functions
*/
@@ -35,7 +35,7 @@ if (!$gContent->isValid()) {
}
// Now check permissions to access this page
-$gBitSystem->verifyPermission( 'p_wiki_view_page' );
+$gContent->verifyPermission( 'p_wiki_view_page' );
// Get page data
include( WIKI_PKG_PATH.'lookup_page_inc.php' );