phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] preferences/inc class.uiadmin_acl.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] preferences/inc class.uiadmin_acl.inc.php
Date: Wed, 04 Oct 2006 12:18:31 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    preferences
Changes by:     Dave Hall <skwashd>     06/10/04 12:18:31

Modified files:
        inc            : class.uiadmin_acl.inc.php 

Log message:
        typo, notices and fix formatting (again)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/preferences/inc/class.uiadmin_acl.inc.php?cvsroot=phpgroupware&r1=1.7&r2=1.8

Patches:
Index: class.uiadmin_acl.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.uiadmin_acl.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- class.uiadmin_acl.inc.php   4 Oct 2006 10:37:06 -0000       1.7
+++ class.uiadmin_acl.inc.php   4 Oct 2006 12:18:31 -0000       1.8
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package hrm
        * @subpackage admin
-       * @version $Id: class.uiadmin_acl.inc.php,v 1.7 2006/10/04 10:37:06 
sigurdne Exp $
+       * @version $Id: class.uiadmin_acl.inc.php,v 1.8 2006/10/04 12:18:31 
skwashd Exp $
        */
 
        /**
@@ -38,14 +38,14 @@
 
                function uiadmin_acl()
                {
-                       $GLOBALS['phpgw_info']['flags']['xslt_app'] = True;
+                       $GLOBALS['phpgw_info']['flags']['xslt_app'] = true;
                        $GLOBALS['phpgw_info']['flags']['currentapp'] = 
'preferences';
                        $this->currentapp               = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
                        $this->nextmatchs               = 
CreateObject('phpgwapi.nextmatchs');
                        $this->account                  = 
$GLOBALS['phpgw_info']['user']['account_id'];
 
-                       $this->bo                       = 
CreateObject('preferences.boadmin_acl',true);
-                       $this->bocommon                 = 
CreateObject('preferences.bocommon');
+                       $this->bo                               = 
createObject('preferences.boadmin_acl',true);
+                       $this->bocommon                 = 
createObject('preferences.bocommon');
 
                        $this->acl_app                  = $this->bo->acl_app;
                        $this->start                    = $this->bo->start;
@@ -94,6 +94,7 @@
                                $receipt        = 
$this->bo->set_permission($values,$r_processed,true);
                        }
 
+                       $processed = array();
                        if ($this->location)
                        {
                                if ( $this->cat_id == 'accounts' )
@@ -173,9 +174,8 @@
                                                );
                                        }
                                }
-//_debug_array($groups);
-
-                               address@hidden("_", $processed);
+                               //_debug_array($groups);
+                               $processed = implode("_", $processed);
                        }
 
 
@@ -366,7 +366,7 @@
                                                        'manage_mask'           
=> isset($group['mask'][PHPGW_ACL_PRIVATE]) ? $group['mask'][PHPGW_ACL_PRIVATE] 
: false, //should be PHPGW_ACL_GROUP_MANAGERS
                                                        'read_result'           
=> isset($group['result'][PHPGW_ACL_READ]) ? $group['result'][PHPGW_ACL_READ] : 
false,
                                                        'add_result'            
=> isset($group['result'][PHPGW_ACL_ADD]) ? $group['result'][PHPGW_ACL_ADD] : 
false,
-                                                       'edit_result'           
=> isset($group['resilt'][PHPGW_ACL_EDIT]) ? $group['result'][PHPGW_ACL_EDIT] : 
false,
+                                                       'edit_result'   => 
isset($group['result'][PHPGW_ACL_EDIT]) ? $group['result'][PHPGW_ACL_EDIT] : 
false,
                                                        'delete_result'         
=> isset($group['result'][PHPGW_ACL_DELETE]) ? 
$group['result'][PHPGW_ACL_DELETE] : false,
                                                        'manage_result'         
=> isset($group['result'][PHPGW_ACL_PRIVATE]) ? 
$group['result'][PHPGW_ACL_PRIVATE] : false, //should be 
PHPGW_ACL_GROUP_MANAGERS
                                                        'lang_right'            
=> lang('right'),




reply via email to

[Prev in Thread] Current Thread [Next in Thread]