env()->useTrustedMode()) { ?> is_verifiedkey) { //if invalid key we display the link to the API Key ?>

'; _e('(You are on Pantheon. This setting was automatically activated)'); echo '

'; } ?>
hide_api_key) $showApiKey = false; elseif($this->is_multisite && $this->is_constant_key) $showApiKey = false; else { $showApiKey = true; // is_mainsite, multisite, no constant. } $editApiKey = (! $this->is_constant_key && $showApiKey) ? true : false; ; if($showApiKey) { $canValidate = true;?> is_verifiedkey ? 'onkeyup="ShortPixel.apiKeyChanged()"' : '' ?>> " class="regular-text"> is_verifiedkey ? '' : 'style="display:none;"' ?>> is_constant_key) { ?>

', ''); ?>

data->compressionType == 1 ? "" : 'style="display:none"' );?>> ','', '', '
');?>

data->compressionType == 2 ? "" : 'style="display:none"' );?>> ','', '', '
');?>

data->compressionType == 0 ? "" : 'style="display:none"' );?>> ','', '
');?>

 

', ''); ?>

'); ?>

', ''); ?>

env()->plugin_active('s3-offload')) ? 1 : 0; ?>  

 

 

",""); ?>

env()->hasImagick()) ? 1 : 0; ?>  

",""); ?>

view->data->resizeImages) ? 'disabled' : ''; // @todo Inline styling here can be decluttered. ?>
/> />

data->resizeType == 'inner' ? '' : 'checked') ?> style="margin: -50px 10px 60px 0;"> <?php esc_html_e('Resize outer','shortpixel-image-optimiser'); ?> 1x, plugin_url('res/img/resize-outer@2x.png' ));?> 2x' title=""> data->resizeType == 'inner' ? 'checked' : '') ?> style="margin: -50px 10px 60px 35px;"> <?php esc_html_e('Resize inner','shortpixel-image-optimiser'); ?> 1x, plugin_url('res/img/resize-inner@2x.png' ));?> 2x' title="">
data->resizeImages ? '' : 'style="display:none;"' );?>>


data->resizeWidth > 0 ? $view->data->resizeWidth : min( 1200, $view->minSizes[ 'width' ] ) ); $resize_height = (int) ( $view->data->resizeHeight > 0 ? $view->data->resizeHeight : min( 1200, $view->minSizes[ 'height' ] ) ); $ratio = $resize_height / $resize_width; $frame_style = 'padding-top:' . round( ( $ratio < 1.5 ? ( $ratio < 0.5 ? 0.5 : $ratio ) : 1.5 ) * 100, 0 ) . '%;'; $image_size = getimagesize( wpSPIO()->plugin_path( 'res/img/resize-type.png' ) ); ?>