Location: PHPKode > projects > WB News > includes/bitperms.php
<?php

/*========================================================*\
||########################################################||
||#                                                      #||
||#     WB News v2.0.0                                   #||
||# ---------------------------------------------------- #||
||#     Copyright (c) 2004-2007                          #||
||#     Created: 9th Feb 2007                            #||
||#     Filename: bitperms.php                           #||
||#                                                      #||
||########################################################||
/*========================================================*/

/**
 *  @author $Author: pmcilwaine $
 *	@version $Id: bitperms.php,v 1.1.2.2 2008/05/09 23:49:25 pmcilwaine Exp $
 */

$permissions = array(
	"cancomment" => 0x1, // if required to be logged in
	"canadmin" => 0x2,
	"canbackup" => 0x4,
	"canconfig" => 0x8,
	"editcomment" => 0x10,
	"checkupdate" => 0x20,
	"addnews" => 0x40,
	"modifynews" => 0x80,
	"deletenews" => 0x100,
	"addcategory" => 0x200,
	"modifycat" => 0x400,
	"deletecat" => 0x800,
	"adduser" => 0x1000,
	"modifyuser" => 0x2000,
	"deleteuser" => 0x4000,
	"addtheme" => 0x8000,
	"modifytheme" => 0x10000,
	"deletetheme" => 0x20000,
	"usergroups" => 0x40000,
	"master" => 0x80000
	);

/** default get locale to really do this from here **/
$labels = array(
	"cancomment" => "Can Comment",
	"canadmin" => "Can Login Administration",
	"canbackup" => "Can Backup",
	"canconfig" => "Configuration",
	"editcomment" => "Edit Comment",
	"checkupdate" => "Check Updates",
	"addnews" => "Add News",
	"modifynews" => "Modify News",
	"deletenews" => "Delete News",
	"addcategory" => "Add Category",
	"modifycat" => "Modify Category",
	"deletecat" => "Delete Category",
	"adduser" => "Add User",
	"modifyuser" => "Modify User",
	"deleteuser" => "Delete User",
	"addtheme" => "Add Theme",
	"modifytheme" => "Modify Theme",
	"deletetheme" => "Delete Theme",
	"usergroups" => "Modify Groups",
	"master" => "Edit Anothers Article"
	);

?>
Return current item: WB News