HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/epamokos.kaunokolegija.lt/wp-content/plugins/loco-translate/tpl/admin/init/init-prompt.php
<?php
/**
 * Notice before creating a PO that there is no POT.
 */
$this->extend('../layout');
$help = apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/templates');

/* @var Loco_mvc_ViewParams $params */
/* @var Loco_mvc_ViewParams $ext */
/* @var Loco_mvc_ViewParams $skip */
/* @var Loco_mvc_ViewParams $conf */
?> 
    <div class="panel panel-warning">
        <h3 class="has-icon">
            <?php esc_html_e('Template missing','loco-translate')?> 
        </h3><?php
        if( $params->has('pot') ):?> 
        <p>
            <?php esc_html_e("This bundle's template file doesn't exist yet. We recommend you create it before adding languages",'loco-translate')?>.
        </p><?php
        else:?> 
        <p>
            <?php esc_html_e("This bundle doesn't define a translations template file",'loco-translate')?>.
        </p><?php
        endif?> 
        <p>
            <a href="<?php $ext->e('link')?>" class="button button-link has-icon icon-add"><?php $ext->e('text')?></a>
            <a href="<?php $skip->e('link')?>" class="button button-link has-icon icon-next"><?php $skip->e('text')?></a><?php
            if( $this->has('conf') ):?> 
            <a href="<?php $conf->e('link')?>" class="button button-link has-icon icon-wrench"><?php $conf->e('text')?></a><?php endif?> 
            <a class="button button-link has-icon icon-help" href="<?php echo esc_url($help)?>" target="_blank"><?php esc_html_e('About templates','loco-translate')?></a>
        </p>
    </div>