summaryrefslogtreecommitdiff
path: root/edit_book.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-11 13:10:33 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-11 13:10:33 +0000
commit8d797a3e546bcbf509f4eb9e76d1c60e11848787 (patch)
tree5e4cb2da284da368d609fb6d335f6abd56925701 /edit_book.php
parent1556fdbedb633a99018e883ba0d2241080c00218 (diff)
downloadwiki-8d797a3e546bcbf509f4eb9e76d1c60e11848787.tar.gz
wiki-8d797a3e546bcbf509f4eb9e76d1c60e11848787.tar.bz2
wiki-8d797a3e546bcbf509f4eb9e76d1c60e11848787.zip
rename permissions to new standard using: p_<package>_<verb>_[<noun>]
Diffstat (limited to 'edit_book.php')
-rw-r--r--edit_book.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/edit_book.php b/edit_book.php
index 8a83b86..2d33685 100644
--- a/edit_book.php
+++ b/edit_book.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/edit_book.php,v 1.7 2006/01/10 21:19:20 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/edit_book.php,v 1.8 2006/04/11 13:10:33 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_book.php,v 1.7 2006/01/10 21:19:20 squareing Exp $
+ * $Id: edit_book.php,v 1.8 2006/04/11 13:10:33 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -18,7 +18,7 @@
*/
require_once( '../bit_setup_inc.php' );
-$gBitSystem->verifyPermission( 'bit_p_edit_books' );
+$gBitSystem->verifyPermission( 'p_wiki_edit_book' );
if( isset( $_COOKIE['book_section'] ) && $_COOKIE['book_section'] == 'o' ) {
$book_section = 'block';
@@ -96,7 +96,7 @@ if( isset($_REQUEST["createstructure"]) ) {
// Get all wiki pages for the select box
$_REQUEST['content_type'] = !isset( $_REQUEST['content_type'] ) ? 'bitpage' : $_REQUEST['content_type'];
// verify the book permission on structure load
- $verifyStructurePermission = 'bit_p_admin_books';
+ $verifyStructurePermission = 'p_wiki_admin_book';
// load the javascript dynamic tree
$gBitSmarty->assign( "loadDynamicTree", TRUE );
// set the correct display template