admin/myblocksadmin.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 176-182 (lines=7) @@
                                 | 
                            
                                                            
                                    | 173 | 
                                     | 
                                     | 
                                
                                                            
                                    | 174 | 
                                     | 
                                            // bcachetime  | 
                                
                                                            
                                    | 175 | 
                                     | 
                                            $cachetime_options = '';  | 
                                
                                                            
                                    | 176 | 
                                     | 
                                            foreach ($cachetimes as $cachetime => $cachetime_name) { | 
                                
                                                            
                                    | 177 | 
                                     | 
                                                if ($bcachetime == $cachetime) { | 
                                
                                                            
                                    | 178 | 
                                     | 
                                                    $cachetime_options .= "<option value='$cachetime' selected>$cachetime_name</option>\n";  | 
                                
                                                            
                                    | 179 | 
                                     | 
                                                } else { | 
                                
                                                            
                                    | 180 | 
                                     | 
                                                    $cachetime_options .= "<option value='$cachetime'>$cachetime_name</option>\n";  | 
                                
                                                            
                                    | 181 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 182 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 183 | 
                                     | 
                                     | 
                                
                                                            
                                    | 184 | 
                                     | 
                                            // target modules  | 
                                
                                                            
                                    | 185 | 
                                     | 
                                            $db            = XoopsDatabaseFactory::getDatabaseConnection();  | 
                                
                                                                        
                 
                                                            
                    
admin/myblocksadmin2.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 200-206 (lines=7) @@
                                 | 
                            
                                                            
                                    | 197 | 
                                     | 
                                     | 
                                
                                                            
                                    | 198 | 
                                     | 
                                            // bcachetime  | 
                                
                                                            
                                    | 199 | 
                                     | 
                                            $cachetime_options = '';  | 
                                
                                                            
                                    | 200 | 
                                     | 
                                            foreach ($cachetimes as $cachetime => $cachetime_name) { | 
                                
                                                            
                                    | 201 | 
                                     | 
                                                if ($bcachetime == $cachetime) { | 
                                
                                                            
                                    | 202 | 
                                     | 
                                                    $cachetime_options .= "<option value='$cachetime' selected>$cachetime_name</option>\n";  | 
                                
                                                            
                                    | 203 | 
                                     | 
                                                } else { | 
                                
                                                            
                                    | 204 | 
                                     | 
                                                    $cachetime_options .= "<option value='$cachetime'>$cachetime_name</option>\n";  | 
                                
                                                            
                                    | 205 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 206 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 207 | 
                                     | 
                                     | 
                                
                                                            
                                    | 208 | 
                                     | 
                                            $module_options = '';  | 
                                
                                                            
                                    | 209 | 
                                     | 
                                            foreach ($module_list as $mname => $module) { |