| Server IP : 91.134.83.25 / Your IP : 216.73.216.147 Web Server : Apache System : Linux plesk.serveurapc.fr 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64 User : marrasse ( 10057) PHP Version : 8.2.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/as-cp.fr/wpascp/wp-content/plugins/loco-translate/tpl/admin/config/ |
Upload File : |
<?php
/**
* Plugin version information
*/
$this->extend('../layout');
/* @var Loco_mvc_ViewParams $params */
// Loco Translate version:
if( $params->truthy('update') && $params->truthy('update_href') ):?>
<div class="panel panel-warning">
<h3 class="has-icon">
<?php self::e( __('Version %s','loco-translate'), $version )?>
</h3>
<p>
<?php esc_html_e('A newer version of Loco Translate is available for download','loco-translate')?>.
</p>
<p class="submit">
<a class="button button-primary" href="<?php echo esc_url($update_href)?>" target="_blank"><?php self::e(__('Upgrade to %s','loco-translate'), 'v'.$update )?></a>
<a class="button button-link has-icon icon-ext" href="https://wordpress.org/plugins/loco-translate/installation/" target="_blank"><?php esc_html_e('Install manually','loco-translate')?></a>
</p>
</div><?php
elseif( $params->has('devel') ):?>
<div class="panel panel-debug">
<h3 class="has-icon">
<?php self::e( __('Version %s','loco-translate'), $version )?>
</h3>
<p>
<?php esc_html_e("You're running a development snapshot of Loco Translate",'loco-translate')?>
</p>
</div><?php
else:?>
<div class="panel panel-success">
<h3 class="has-icon">
<?php self::e( __('Version %s','loco-translate'), $version)?>
</h3>
<p>
<?php esc_html_e("You're running the latest version of Loco Translate",'loco-translate')?>
</p>
</div><?php
endif;
// PHP version (warnings only)
if( $params->has('phpupdate') ):?>
<div class="panel panel-warning">
<h3 class="has-icon"><?php
// translators: Where %s is the full version number of PHP
self::e( __('PHP %s','loco-translate'), $phpversion )?>
</h3>
<p><?php
// translators: (1) Name of software, e.g. "WordPress" (2) Version number, e.g. "5.6"
self::e( __('Your version of %1$s is out of date. We recommend you upgrade to at least v%2$s, but preferably to the latest stable version.','loco-translate'),'PHP',$phpupdate)?>
</p>
<p class="submit">
<a class="button" href="https://www.php.net/downloads.php#v7" target="_blank">PHP 7.4</a>
<a class="button button-primary" href="https://www.php.net/downloads.php#v8" target="_blank">PHP 8.x</a>
</p>
</div><?php
endif;