pre production version :
******************************
Template evolution :
- css ( so much things)
- js ( new navigation tools ...)
- lib for php ZIp
- function.php (for download LDT and other litle function)
- page (header, home, footer, single, search, searchform, post ...)
******************************
New plug in :
- wp touch
- wp explorer
- TextCutter
- ultimate-google-analytics
- nice titles
******************************
Plug in customization :
- related-posts-by-category
- posts-of-current-category
- order-categories
- event-calendar
- translation wp explorer
- exec-php
******************************
Road map for next version :
- cleaning php code
put template function to new plugin
- cleaning Css code
- re organize Js code
- all new correction ask
<?php
function wp_explorer_opmap()
{
$options = array();
$options['tmp_filebit'] = '<tr>
<td class="$file[class]"><img src="$siteurl/wp-content/plugins/wp-explorer/icons/$file[icon]" alt="" /> <a href="$siteurl/$file[url]">$file[name]</a></td>
<td class="$file[class]" align="center">$file[size]</td>
<td class="$file[class]" align="center">$file[version]</td>
<td class="$file[class]" align="center">$file[date]</td>
</tr>';
$options['tmp_dirbit'] = '<tr>
<td class="$file[class]"><img src="$siteurl/wp-content/plugins/wp-explorer/icons/$file[icon]" alt="" /> <a href="$file[url]">$file[name]</a></td>
<td class="$file[class]" align="center">$file[date]</td>
</tr>';
$options['tmp_filetbl'] = '<table class="widefat">
<thead>
<tr>
<td class="thead">$phrase[name]</td>
<td class="thead" align="center">$phrase[size]</td>
<td class="thead" align="center">$phrase[version]</td>
<td class="thead" align="center">$phrase[date]</td>
</tr>
</thead>
$filebit
</table>';
$options['tmp_dirtbl'] = '<table class="widefat">
<thead>
<tr>
<td class="thead">$phrase[name]</td>
<td class="thead" align="center">$phrase[date]</td>
</tr>
</thead>
$dirbit
</table>';
$options['tmp_main'] = '$display_dirs
$display_files
<div style="color:#739E48; font-size:10px; font-weight:bold; text-align:right; padding:2px 1px 6px 0px;">$phrase[location] $location | $leech_protection | $folder_stats</div>';
$options['tmp_error'] = '<p class="error">$error_message</p>';
$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;
}
?>