Changeset 1778


Ignore:
Timestamp:
12/07/09 08:34:10 (14 years ago)
Author:
alexandrecorreia
Message:

Ticket #809 - Disposiçao dos itens de configuracao corrigido .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/inc/class.uienabledgroups.inc.php

    r1551 r1778  
    3131                if($_GET['menuaction']) 
    3232                { 
    33                         if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
     33                        if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
    3434                        { 
    35                                 $GLOBALS['phpgw']->redirect_link('/index.php'); 
     35                                $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    3636                        }                
    3737                         
     
    105105        public final function getGroups() 
    106106        { 
    107                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
     107                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') )  
    108108                { 
    109                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     109                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    110110                }                
    111111                 
     
    149149                $GLOBALS['phpgw']->template->set_block('jabberit_messenger','enabled_ous');      
    150150                $var = array( 
    151                                                 'action_url' => './admin',                                               
     151                                                'action_url' => './index.php?menuaction=jabberit_messenger.uiconfig.configPermission',                                           
    152152                                                'lang_back' => lang("Back"), 
    153153                                                'list_groups' => (trim($list_groups) != "") ? $list_groups : "", 
Note: See TracChangeset for help on using the changeset viewer.