Changeset 1777


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

Ticket #740 - Logs utilizando o bandersnatch ( script perl - banco mysql ).

File:
1 edited

Legend:

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

    r1617 r1777  
    4747        public function getLog() 
    4848        { 
    49                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
    50                 { 
    51                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     49                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
     50                { 
     51                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    5252                }                
    5353                 
     
    8484        public function getMessageUser() 
    8585        { 
    86                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
    87                 { 
    88                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     86                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
     87                { 
     88                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    8989                }                
    9090                 
     
    168168        public function getMessageUserDate() 
    169169        { 
    170                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
    171                 { 
    172                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     170                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
     171                { 
     172                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    173173                }                
    174174                 
     
    265265        public function getMessageUserComplete() 
    266266        { 
    267                 if($GLOBALS['phpgw']->acl->check('applications_access',1,'admin')) 
    268                 { 
    269                         $GLOBALS['phpgw']->redirect_link('/index.php'); 
     267                if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 
     268                { 
     269                        $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 
    270270                }                
    271271                 
Note: See TracChangeset for help on using the changeset viewer.