| 1 |
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?> |
| 2 |
<li id="<?php echo $file['uid']; ?>"> |
| 3 |
<span class="filename"><a href="<?php echo esc_url($file['file_url']); ?>" target="_blank"><?php echo htmlspecialchars($file['filename']); ?></a> (<?php echo $file['fsize']; ?>)</span> |
| 4 |
<a href="#" class="log"><?php _e('Show information', 'wp-optimize'); ?></a> |
| 5 |
<div class="hidden save_notice"> |
| 6 |
<p><?php _e('The file was added to the list', 'wp-optimize'); ?></p> |
| 7 |
<p><button class="button button-primary save-exclusions"><?php _e('Save the changes', 'wp-optimize'); ?></button></p> |
| 8 |
</div> |
| 9 |
<div class="hidden wpo_min_log"><?php |
| 10 |
if ($file['log']) { |
| 11 |
WP_Optimize()->include_template( |
| 12 |
'minify/cached-file-log.php', |
| 13 |
false, |
| 14 |
array( |
| 15 |
'log' => $file['log'] |
| 16 |
) |
| 17 |
); |
| 18 |
} |
| 19 |
?></div> |
| 20 |
</li> |