AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.37
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/ludmqhh/www/hotel-forum/wp-content/plugins/loco-translate/tpl/admin/bundle/setup/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ludmqhh/www/hotel-forum/wp-content/plugins/loco-translate/tpl/admin/bundle/setup/conf.php
<?php
/**
 * "auto" config options
 */
$this->extend('../setup');
$this->start('header');


   /*if( $params->has('jsonFields') ):
    Remote JSON config is scrapped
    <form action="" method="post" enctype="application/x-www-form-urlencoded" class="panel jsonly" id="loco-remote">
        <h3>
            <?php esc_html_e('Check config repository','loco-translate')?>  
        </h3>
        <fieldset id="loco-remote-query">
            <p>
                <?php esc_html_e("We have a database of non-standard bundle configurations.\nIf we know your bundle, we'll configure it for you automatically",'loco-translate')?> 
            </p>
            <p>
                <select name="vendor">
                    <option value="wordpress"><?php esc_html_e('WordPress','default')?></option>
                </select>
                <input type="text" name="slug" value="<?php $params->e('vendorSlug')?>" class="regular-text" />
            </p>
        </fieldset>
        <div id="loco-remote-empty">
            <p>
                <button type="button" class="button button-primary"><?php esc_html_e('Find config','loco-translate')?></button>
                <a href="<?php $tabs[1]->e('href')?>" class="button button-link"><?php esc_html_e('Cancel','loco-translate')?></a>
                <span></span>
            </p>
        </div>
        <div id="loco-remote-found" class="jshide">
            <p>
                <input type="submit" class="button button-success" name="json-setup" value="<?php esc_attr_e('OK, Load this config','loco-translate')?>" />
                <input type="reset" class="button button-link" value="<?php esc_attr_e('Cancel','loco-translate')?>" />
            </p>
        </div>
        <?php $jsonFields->_e()?> 
    </form><?php
    endif;*/

    if( $params->has('xmlFields') ):?> 
    <form action="" method="post" enctype="application/x-www-form-urlencoded" class="panel">
        <h3>
            <?php esc_html_e('XML setup','loco-translate')?> 
        </h3>
        <p>
            <?php esc_html_e("If you've been given a configuration file by a developer, paste the XML code here",'loco-translate')?>:
        </p>
        <fieldset>
            <textarea name="xml-content" class="large-text" rows="3" wrap="virtual"></textarea>
        </fieldset>
        <p>
            <input type="submit" class="button button-primary" name="xml-setup" value="<?php esc_html_e('Load config','loco-translate')?>" />
            <a href="<?php $tabs[1]->e('href')?>" class="button button-link"><?php esc_html_e('Cancel','loco-translate')?></a>
        </p>
        <?php $xmlFields->_e()?> 
    </form><?php
    endif;

    if( $params->has('autoFields') ):?> 
    <form action="" method="post" enctype="application/x-www-form-urlencoded" class="panel">
        <h3>
            Auto setup
        </h3>
        <p>
            We can make some guesses about how this bundle is set up, but we can't guarantee they'll be right.
        </p>
        <p>
            This is not recommended unless you're a developer able to make manual changes afterwards.
        </p>
        <p>
            <input type="submit" class="button button-primary" name="auto-setup" value="Guess config" />
        </p>
        <?php $autoFields->_e()?> 
    </form><?php
    endif;

    

AnonSec - 2021