Changeset 1685 for branches/2.0/jabberit_messenger
- Timestamp:
- 11/20/09 08:28:42 (14 years ago)
- Location:
- branches/2.0/jabberit_messenger/inc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/jabberit_messenger/inc/class.uiconforganization.inc.php
r863 r1685 90 90 public final function backPage() 91 91 { 92 if( $GLOBALS['phpgw']->acl->check('applications_access',1,'admin'))92 if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 93 93 { 94 $GLOBALS['phpgw']->redirect_link('/ index.php');94 $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 95 95 } 96 96 -
branches/2.0/jabberit_messenger/inc/class.uigroupslocked.inc.php
r946 r1685 70 70 71 71 $ous = "<option value='-1'>-- ".lang('Select Organization')." --</option>"; 72 72 73 if( ($LdapOus = $ldap->getOrganizationsLdap()) ) 73 74 { 74 foreach($LdapOus as $ tmp)75 $ous .= "<option value='".$ tmp."'>".$tmp."</option>";75 foreach($LdapOus as $key=>$val ) 76 $ous .= "<option value='".$val."'>".$val."</option>"; 76 77 } 77 78 78 79 $groupsRestricts = ""; 79 80 … … 82 83 $glocked = explode(';',$GLOBALS['phpgw_info']['server']['groups_locked_jabberit']); 83 84 natcasesort($glocked); 84 85 85 86 foreach( $glocked as $tmp ){ 86 87 $option = explode(":",$tmp); … … 111 112 public final function add() 112 113 { 113 if( $GLOBALS['phpgw']->acl->check('applications_access',1,'admin'))114 if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 114 115 { 115 $GLOBALS['phpgw']->redirect_link('/ index.php');116 $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 116 117 } 117 118 -
branches/2.0/jabberit_messenger/inc/class.uihostsjabber.inc.php
r946 r1685 97 97 public final function backPage() 98 98 { 99 if( $GLOBALS['phpgw']->acl->check('applications_access',1,'admin'))99 if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 100 100 { 101 $GLOBALS['phpgw']->redirect_link('/ index.php');101 $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 102 102 } 103 103 -
branches/2.0/jabberit_messenger/inc/class.uimodule.inc.php
r423 r1685 89 89 public final function add() 90 90 { 91 if( $GLOBALS['phpgw']->acl->check('applications_access',1,'admin'))91 if( !$GLOBALS['phpgw']->acl->check('run',1,'admin') ) 92 92 { 93 $GLOBALS['phpgw']->redirect_link('/ index.php');93 $GLOBALS['phpgw']->redirect_link('/admin/index.php'); 94 94 } 95 95
Note: See TracChangeset
for help on using the changeset viewer.