function w3tc_extensions_activate()
 {
     $config = Dispatcher::config();
     $extension = Util_Request::get_string('w3tc_extensions_activate');
     $ext = Extensions_Util::get_extension($config, $extension);
     if (!is_null($ext)) {
         if (Extensions_Util::activate_extension($extension, $config)) {
             Util_Admin::redirect_with_custom_messages2(array('notes' => array(sprintf(__('Extension <strong>%s</strong> has been successfully activated.', 'w3-total-cache'), $ext['name']))));
             return;
         }
     }
     Util_Admin::redirect(array());
 }
</a> |
	<a href="#advanced"><?php 
_e('Advanced', 'w3-total-cache');
?>
</a>
</p>
<p>
	Fragment caching via <strong><?php 
echo Cache::engine_name($config->get_string(array('fragmentcache', 'engine')));
?>
</strong> is currently <?php 
if ($config->is_extension_active_frontend('fragmentcache')) {
    echo '<span class="w3tc-enabled">enabled</span>';
} else {
    echo '<span class="w3tc-disabled">disabled</span>';
    $ext = Extensions_Util::get_extension($config, 'fragmentcache');
    if (!empty($ext['requirements'])) {
        echo ' (<span class="description">' . $ext['requirements'] . '</span>)';
    }
}
?>
.
<p>

<form action="admin.php?page=w3tc_fragmentcache" method="post">
	<p>
		<?php 
echo Util_Ui::nonce_field('w3tc');
?>
		<input type="submit" name="w3tc_flush_fragmentcache" value="<?php 
_e('Empty the entire cache', 'w3-total-cache');