diff -r 53cff4b4a802 -r bde1974c263b web/wp-content/plugins/wp-explorer/inc/functions_misc.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/plugins/wp-explorer/inc/functions_misc.php Wed Feb 03 15:37:20 2010 +0000 @@ -0,0 +1,67 @@ + +
$phrase[name] | +$phrase[size] | +$phrase[version] | +$phrase[date] | +
$phrase[name] | +$phrase[date] | +
$error_message
'; + + $options['exclude_files'] = '.htaccess,.htpasswd,index.html,index.htm,index.php,index.asp'; + $options['exclude_folders'] = 'folder1,folder2'; + $options['exclude_extensions'] = 'php,php3,php4'; + $options['enable_fancylinks'] = 0; + $options['enable_antileech'] = 0; + return $options; +} + +function wp_explorer_preptmp($code) +{ + $code = addslashes($code); + $code = str_replace("\\'", "'", $code); + return $code; +} + +function wp_explorer_sanitize($file, $ext, $version) +{ + $file = basename($file, $ext); + $file = str_replace($version, '', $file); + $file = preg_replace( array('/\./', '/\-/', '/\_/' ), ' ', $file); + $file = ucwords(strtolower($file)); + return $file; +} + +?> \ No newline at end of file