File "general.inc"

Full Path: /home/amervokv/ecomlive.net/wp-content/plugins/webp-express/lib/options/options/general/general.inc
File size: 1.5 KB
MIME-type: text/html
Charset: utf-8

<fieldset class="block">
    <button onclick="WebPExpress.SelfTest.openPopup('allInfo')" class="button button-secondary" type="button" style="position: absolute; right: 15px; top:15px">
        System info
    </button>
    <h3>General</h3>

    <!--<div><i>The options here affects the rules created in the .htaccess. <?php echo helpIcon('And so does some other options. If "Redirect directly to converted image" is set, the "Destination folder" and "File Extension" and "Caching" options will be used'); ?></i></div>-->
    <table class="form-table">
        <tbody>
            <?php
            if (($config['operation-mode'] != 'no-conversion')) {
                include_once 'scope.inc';
            }
            include_once 'image-types.inc';

            if (($config['operation-mode'] != 'no-conversion')) {
                include_once 'destination-folder.inc';
            }
            include_once 'destination-extension.inc';

            if (($config['operation-mode'] != 'no-conversion')) {
                include_once 'destination-structure.inc';
            }

            // TODO:
            // Perhaps also show cache control in cdn-friendly mode?
            if (($config['operation-mode'] == 'tweaked') || ($config['operation-mode'] == 'varied-image-responses') || ($config['operation-mode'] == 'cdn-friendly')) {
                include_once 'cache-control.inc';
            }

            include_once 'prevent-using-webps-larger-than-original.inc';

            ?>
        </tbody>
    </table>
</fieldset>