admin/myblocksadmin.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 69-71 (lines=3) @@ | 
                                                            
                                    | 66 |  |  | 
                                                            
                                    | 67 |  | // check access right (needs system_admin of BLOCK) | 
                                                            
                                    | 68 |  | $syspermHandler = xoops_getHandler('groupperm'); | 
                                                            
                                    | 69 |  | if (!$syspermHandler->checkRight('system_admin', XOOPS_SYSTEM_BLOCK, $xoopsUser->getGroups())) { | 
                                                            
                                    | 70 |  |     redirect_header(XOOPS_URL . '/user.php', 1, _NOPERM); | 
                                                            
                                    | 71 |  | } | 
                                                            
                                    | 72 |  |  | 
                                                            
                                    | 73 |  | // get blocks owned by the module (Imported from xoopsblock.php then modified) | 
                                                            
                                    | 74 |  | //$block_arr =& XoopsBlock::getByModule( $target_mid ); | 
                                                                        
                 
                                                            
                    
admin/mytplsadmin.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 62-64 (lines=3) @@ | 
                                                            
                                    | 59 |  |  | 
                                                            
                                    | 60 |  | // check access right (needs system_admin of tplset) | 
                                                            
                                    | 61 |  | $syspermHandler = xoops_getHandler('groupperm'); | 
                                                            
                                    | 62 |  | if (!$syspermHandler->checkRight('system_admin', XOOPS_SYSTEM_TPLSET, $xoopsUser->getGroups())) { | 
                                                            
                                    | 63 |  |     redirect_header(XOOPS_URL . '/user.php', 1, _NOPERM); | 
                                                            
                                    | 64 |  | } | 
                                                            
                                    | 65 |  |  | 
                                                            
                                    | 66 |  | //**************// | 
                                                            
                                    | 67 |  | // POST stages  // | 
                                                                        
                 
                                                            
                    
admin/mytplsform.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 43-45 (lines=3) @@ | 
                                                            
                                    | 40 |  |  | 
                                                            
                                    | 41 |  | // check access right (needs system_admin of tplset) | 
                                                            
                                    | 42 |  | $syspermHandler = xoops_getHandler('groupperm'); | 
                                                            
                                    | 43 |  | if (!$syspermHandler->checkRight('system_admin', XOOPS_SYSTEM_TPLSET, $xoopsUser->getGroups())) { | 
                                                            
                                    | 44 |  |     redirect_header(XOOPS_URL . '/user.php', 1, _NOPERM); | 
                                                            
                                    | 45 |  | } | 
                                                            
                                    | 46 |  |  | 
                                                            
                                    | 47 |  | // tpl_file from $_GET | 
                                                            
                                    | 48 |  | $tpl_file     = $myts->stripSlashesGPC(@$_GET['tpl_file']); |