Files
hotel/install-dev/theme/views/welcome.phtml
2026-09-18 17:08:18 +05:30

35 lines
2.2 KiB
PHTML

<?php $this->displayTemplate('header') ?>
<?php if (Tools::getMemoryLimit() < Tools::getOctets('32M')): ?>
<div class="warnBlock"><?php echo $this->l('QloApps requires at least 128 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.'); ?></div>
<?php endif; ?>
<?php if ($this->can_upgrade): ?>
<div class="warnBlock">
<img src="theme/img/pict_error.png" alt="" style="vertical-align: middle;" /> &nbsp;
<?php echo $this->l(
'<b>Warning: You cannot use this tool to upgrade your QloApps anymore.</b><br /><br />You already have <b>QloApps version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version, please contact us at <a href="%2$s">%2$s</a>',
_QLO_INSTALL_VERSION_, $this->getDocumentationUpgradeLink()
) ?></div>
<?php endif; ?>
<h2><?php echo $this->l('Welcome to the QloApps %s Installer', _QLO_INSTALL_VERSION_) ?></h2>
<p><?php echo $this->l('Installing QloApps is quick and easy. In just a few moments, you will become part of a community. You are on the way to creating your own hotel booking website that you can manage easily every day.') ?></p>
<p><?php echo $this->l('If you need help, do not hesitate to <a href="%1$s" target="_blank">watch this short tutorial</a>, or check <a href="%2$s" target="_blank">our documentation</a>.', $this->getTutorialLink(), $this->getInstallHelpLink()) ?></p>
<!-- List of languages -->
<?php if (count($this->language->getIsoList()) > 1): ?>
<h3><?php echo $this->l('Continue the installation in:') ?></h3>
<select id="langList" name="language">
<?php foreach ($this->language->getIsoList() as $iso): ?>
<option value="<?php echo $iso ?>" <?php if ($iso == $this->language->getLanguageIso()) echo 'selected="selected"' ?>>
<?php echo $this->language->getLanguage($iso)->getMetaInformation('name') ?>
</option>
<?php endforeach; ?>
</select>
<?php endif; ?>
<p><?php echo $this->l('The language selection above only applies to the Installation Assistant. Once QloApps is installed, you can choose the language of your website from over %d translations, all for free!', 60); ?> </p>
<?php $this->displayTemplate('footer') ?>