Dotclear


Ignore:
Timestamp:
11/17/13 20:25:53 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.6
Children:
2567:6c11245cbf04, 2568:61c67a7d17fa
Message:

Add some people in CREDITS, remove trailing spaces and tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/plugin.php

    r2166 r2566  
    3535     # Loading plugin 
    3636     $p_info = $core->plugins->getModules($p); 
    37       
     37 
    3838     $p_url = 'plugin.php?p='.$p; 
    39       
     39 
    4040     $p_title = 'no content - plugin'; 
    4141     $p_head = ''; 
    4242     $p_content = '<p>'.__('No content found on this plugin.').'</p>'; 
    43       
     43 
    4444     ob_start(); 
    4545     include $p_file; 
    4646     $res = ob_get_contents(); 
    4747     ob_end_clean(); 
    48       
     48 
    4949     if (preg_match('|<head>(.*?)</head|ms',$res,$m)) { 
    5050          if (preg_match('|<title>(.*?)</title>|ms',$m[1],$mt)) { 
    5151               $p_title = $mt[1]; 
    5252          } 
    53            
     53 
    5454          if (preg_match_all('|(<script.*?>.*?</script>)|ms',$m[1],$ms)) { 
    5555               foreach ($ms[1] as $v) { 
     
    5757               } 
    5858          } 
    59            
     59 
    6060          if (preg_match_all('|(<style.*?>.*?</style>)|ms',$m[1],$ms)) { 
    6161               foreach ($ms[1] as $v) { 
     
    6363               } 
    6464          } 
    65            
     65 
    6666          if (preg_match_all('|(<link.*?/>)|ms',$m[1],$ms)) { 
    6767               foreach ($ms[1] as $v) { 
     
    7070          } 
    7171     } 
    72       
     72 
    7373     if (preg_match('|<body.*?>(.+)</body>|ms',$res,$m)) { 
    7474          $p_content = $m[1]; 
    7575     } 
    76       
     76 
    7777     call_user_func($open_f,$p_title,$p_head); 
    7878     echo $p_content; 
     
    8888               )) 
    8989     ); 
    90       
     90 
    9191     echo '<p>'.__('The plugin you reached does not exist or does not have an admin page.').'</p>'; 
    92       
     92 
    9393     call_user_func($close_f); 
    9494} 
    95 ?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map