@@ -45,8 +45,8 @@
|
||||
<button data-dismiss="alert" class="close" type="button">×</button>
|
||||
<p>{l s='Disclaimer before creating a new backup'}</p>
|
||||
<ol>
|
||||
<li>{l s='PrestaShop is not responsible for your database, its backups and/or recovery.'}</li>
|
||||
<li>{l s='PrestaShop is open-source software. You are using it at your own risk under the license agreement.'}</li>
|
||||
<li>{l s='QloApps is not responsible for your database, its backups and/or recovery.'}</li>
|
||||
<li>{l s='QloApps is open-source software. You are using it at your own risk under the license agreement.'}</li>
|
||||
<li>{l s='You should back up your data on a regular basis (both files and database).'}</li>
|
||||
<li>{l s='This function only backs up your database, not your files.'}</li>
|
||||
<li>{l s='By default, your existing database tables will be dropped during the backup recovery (see "Backup options" below).'}</li>
|
||||
@@ -68,7 +68,7 @@
|
||||
<div class="alert alert-info">
|
||||
<p>{l s='How to restore a database backup in 10 easy steps:'}</p>
|
||||
<ol>
|
||||
<li>{l s='Set "Enable Shop" to "No" in the "Maintenance" page under the "Preferences" menu.'}</li>
|
||||
<li>{l s='Set "Enable Site" to "No" in the "Maintenance" page under the "Preferences" menu.'}</li>
|
||||
<li>{l s='Download the backup from the list below or from your FTP server (in the folder "admin/backups").'}</li>
|
||||
<li>{l s='Check the backup integrity: Look for errors, incomplete file, etc... Be sure to verify all of your data.'}</li>
|
||||
<li>{l s='Please ask your hosting provider for "phpMyAdmin" access to your database.'}</li>
|
||||
|
||||
@@ -47,8 +47,8 @@
|
||||
<button data-dismiss="alert" class="close" type="button">×</button>
|
||||
<h4>{l s='Disclaimer before creating a new backup'}</h4>
|
||||
<ol>
|
||||
<li>{l s='Qloapps is not responsible for your database, its backups and/or recovery.'}</li>
|
||||
<li>{l s='Qloapps is open-source software. You are using it at your own risk under the license agreement.'}</li>
|
||||
<li>{l s='QloApps is not responsible for your database, its backups and/or recovery.'}</li>
|
||||
<li>{l s='QloApps is open-source software. You are using it at your own risk under the license agreement.'}</li>
|
||||
<li>{l s='You should back up your data on a regular basis (both files and database).'}</li>
|
||||
<li>{l s='This function only backs up your database, not your files.'}</li>
|
||||
<li>{l s='By default, your existing database tables will be dropped during the backup recovery (see "Backup options" below).'}</li>
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
<p class="radio">
|
||||
<label for="apply_discount_to_selection">
|
||||
<input type="radio" name="apply_discount_to" id="apply_discount_to_selection" value="selection"{if $currentTab->getFieldValue($currentObject, 'reduction_product')|intval == -2} checked="checked"{/if}{if $product_rule_groups|@count == 0}disabled="disabled"{/if} />
|
||||
{l s='Selected Room Type(s)'}{if $product_rule_groups|@count == 0} <span id="apply_discount_to_selection_warning" class="text-muted clearfix"><i class="icon-warning-sign"></i> <a href="#" id="apply_discount_to_selection_shortcut">{l s='You must select some room types before'}</a></span>{/if}
|
||||
{l s='Selected Room Type(s)'}{if $product_rule_groups|@count == 0} <span id="apply_discount_to_selection_warning" class="text-muted clearfix"><i class="icon-warning-sign"></i> <a href="#" id="apply_discount_to_selection_shortcut">{l s='You must select some room types first'}</a></span>{/if}
|
||||
</label>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -334,7 +334,7 @@
|
||||
{if count($interested)}
|
||||
<div class="panel">
|
||||
<div class="panel-heading">
|
||||
<i class="icon-eye"></i> {l s='Viewed products'} <span class="badge">{count($interested)}</span>
|
||||
<i class="icon-eye"></i> {l s='Viewed room types'} <span class="badge">{count($interested)}</span>
|
||||
</div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
||||
@@ -138,13 +138,13 @@
|
||||
<div class="panel">
|
||||
<h3>
|
||||
<i class="icon-info"></i>
|
||||
{l s='Store information'}
|
||||
{l s='Website information'}
|
||||
</h3>
|
||||
<p>
|
||||
<strong>{l s='Qloapps version:'}</strong> {$shop.qloappsV|escape:'html':'UTF-8'}
|
||||
<strong>{l s='QloApps version:'}</strong> {$shop.qloappsV|escape:'html':'UTF-8'}
|
||||
</p>
|
||||
<p>
|
||||
<strong>{l s='Shop URL:'}</strong> {$shop.url|escape:'html':'UTF-8'}
|
||||
<strong>{l s='Website URL:'}</strong> {$shop.url|escape:'html':'UTF-8'}
|
||||
</p>
|
||||
<p>
|
||||
<strong>{l s='Current theme in use:'}</strong> {$shop.theme|escape:'html':'UTF-8'}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
*}
|
||||
<div class="alert bg-info">
|
||||
<div class="row modules-addons-info">
|
||||
<h4>{l s='Explore all addon of Qloapps '}<a class="btn btn-default _blank" href="https://qloapps.com/addons/"> @{l s='Qloapps addons'}</a></h4>
|
||||
<h4>{l s='Explore all QloApps addons'} <a class="btn btn-default _blank" href="https://qloapps.com/addons/"> {l s='QloApps addons'}</a></h4>
|
||||
</div>
|
||||
</div>
|
||||
{$kpis}
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
{l s='Modify translations'}
|
||||
</h3>
|
||||
<p class="alert alert-info">
|
||||
{l s='Here you can modify translations for every line of text inside Qloapps.'}<br />
|
||||
{l s='Here you can modify translations for every line of text inside QloApps.'}<br />
|
||||
{l s='First, select a type of translation (such as "Back office" or "Installed modules"), and then select the language you want to translate strings in.'}
|
||||
</p>
|
||||
<div class="form-group">
|
||||
@@ -136,7 +136,7 @@
|
||||
</h3>
|
||||
<div id="submitAddLangContent" class="form-group">
|
||||
<p class="alert alert-info">
|
||||
{l s='You can add or update a language directly from the Qloapps website here.'}<br/>
|
||||
{l s='You can add or update a language directly from the QloApps website here.'}<br/>
|
||||
{l s='If you choose to update an existing language pack, all of your previous customizations in the theme named "hotel-reservation-theme" will be lost. This includes front office expressions and default email templates.'}
|
||||
</p>
|
||||
{if $packs_to_update || $packs_to_install}
|
||||
@@ -161,7 +161,7 @@
|
||||
</div>
|
||||
|
||||
{else}
|
||||
<p class="text-danger">{l s='Cannot connect to the Qloapps website to get the language list.'}</p>
|
||||
<p class="text-danger">{l s='Cannot connect to the QloApps website to get the language list.'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
|
||||
@@ -297,9 +297,9 @@
|
||||
{/if}
|
||||
<ul id="header_employee_box">
|
||||
<li class="hidden-sm hidden-xs">
|
||||
<a target="_blank" href="https://qloapps.com/addons/" class="toolbar_btn" title="{l s='Explore Qloapps Addons'}">
|
||||
<a target="_blank" href="https://qloapps.com/addons/" class="toolbar_btn" title="{l s='Explore QloApps Addons'}">
|
||||
<i class="icon-chain-broken"></i>
|
||||
{l s='Explore Qloapps Addons'}
|
||||
{l s='Explore QloApps Addons'}
|
||||
</a>
|
||||
</li>
|
||||
{if {$base_url}}
|
||||
|
||||
@@ -1124,7 +1124,7 @@ abstract class PaymentModuleCore extends Module
|
||||
|
||||
return true;
|
||||
} else {
|
||||
$error = Tools::displayError('Cart cannot be loaded or a booking has already been placed using this cart');
|
||||
$error = Tools::displayError('Cart cannot be loaded or a booking has already been created using this cart.');
|
||||
PrestaShopLogger::addLog($error, 4, '0000001', 'Cart', intval($this->context->cart->id));
|
||||
die($error);
|
||||
}
|
||||
|
||||
@@ -307,7 +307,7 @@ class FrontControllerCore extends Controller
|
||||
}
|
||||
|
||||
if (Validate::isLoadedObject($cart) && $cart->OrderExists()) {
|
||||
PrestaShopLogger::addLog('Frontcontroller::init - Cart cannot be loaded or a booking has already been placed using this cart', 1, null, 'Cart', (int)$this->context->cookie->id_cart, true);
|
||||
PrestaShopLogger::addLog('Frontcontroller::init - Cart cannot be loaded or a booking has already been created using this cart', 1, null, 'Cart', (int)$this->context->cookie->id_cart, true);
|
||||
unset($this->context->cookie->id_cart, $cart, $this->context->cookie->checkedTOS);
|
||||
$this->context->cookie->check_cgv = false;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ abstract class ModuleCore
|
||||
/** @var array filled with known compliant PS versions */
|
||||
public $ps_versions_compliancy = array();
|
||||
|
||||
/** @var array filled with known compliant Qloapps versions */
|
||||
/** @var array filled with known compliant QloApps versions */
|
||||
public $qloapps_versions_compliancy = array();
|
||||
|
||||
/** @var array filled with modules needed for install */
|
||||
@@ -251,7 +251,7 @@ abstract class ModuleCore
|
||||
$this->ps_versions_compliancy['max'] .= '.999.999';
|
||||
}
|
||||
|
||||
// for Qloapps version compliancy
|
||||
// for QloApps version compliancy
|
||||
if (isset($this->qloapps_versions_compliancy) && !isset($this->qloapps_versions_compliancy['min'])) {
|
||||
$this->qloapps_versions_compliancy['min'] = '0.9.0.0';
|
||||
}
|
||||
@@ -343,7 +343,7 @@ abstract class ModuleCore
|
||||
|
||||
// Check PS version compliancy
|
||||
if (!$this->checkCompliancy()) {
|
||||
$this->_errors[] = Tools::displayError('The version of your module is not compliant with your Qloapps version.');
|
||||
$this->_errors[] = Tools::displayError('The version of your module is not compliant with your QloApps version.');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ class AdminAdminPreferencesControllerCore extends AdminController
|
||||
),
|
||||
'PS_COOKIE_LIFETIME_BO' => array(
|
||||
'title' => $this->l('Lifetime of back office cookies'),
|
||||
'hint' => $this->l('Set the amount of hours during which the back office cookies are valid. After that amount of time, the Qloapps user will have to log in again.'),
|
||||
'hint' => $this->l('Set the amount of hours during which the back office cookies are valid. After that amount of time, the QloApps user will have to log in again.'),
|
||||
'validation' => 'isInt',
|
||||
'cast' => 'intval',
|
||||
'type' => 'text',
|
||||
|
||||
@@ -267,7 +267,7 @@ class AdminCountriesControllerCore extends AdminController
|
||||
'label' => $this->l('Zip/postal code format'),
|
||||
'name' => 'zip_code_format',
|
||||
'required' => true,
|
||||
'desc' => $this->l('Indicate the format of the postal code: use L for a letter, N for a number, and C for the country\'s ISO 3166-1 alpha-2 code. For example, NNNNN for the United States, France, Poland and many other; LNNNNLLL for Argentina, etc. If you do not want Qloapps to verify the postal code for this country, leave it blank.')
|
||||
'desc' => $this->l('Indicate the format of the postal code: use L for a letter, N for a number, and C for the country\'s ISO 3166-1 alpha-2 code. For example, NNNNN for the United States, France, Poland and many other; LNNNNLLL for Argentina, etc. If you do not want QloApps to verify the postal code for this country, leave it blank.')
|
||||
),
|
||||
array(
|
||||
'type' => 'address_layout',
|
||||
|
||||
@@ -272,7 +272,7 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
$this->fields_form['input'] = array_merge($this->fields_form['input'], array(
|
||||
array(
|
||||
'type' => 'switch',
|
||||
'label' => $this->l('Subscribe to Qloapps newsletter'),
|
||||
'label' => $this->l('Subscribe to QloApps newsletter'),
|
||||
'name' => 'optin',
|
||||
'required' => false,
|
||||
'is_bool' => true,
|
||||
@@ -288,7 +288,7 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
'label' => $this->l('No')
|
||||
)
|
||||
),
|
||||
'hint' => $this->l('Qloapps can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, you can disable this option.')
|
||||
'hint' => $this->l('QloApps can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, you can disable this option.')
|
||||
),
|
||||
array(
|
||||
'type' => 'default_tab',
|
||||
|
||||
@@ -559,7 +559,7 @@ class AdminGroupsControllerCore extends AdminController
|
||||
'<b>'.$default->name[$this->context->language->id].'</b>'
|
||||
);
|
||||
|
||||
$this->displayInformation($this->l('Qloapps has three default customer groups:'));
|
||||
$this->displayInformation($this->l('QloApps has three default customer groups:'));
|
||||
$this->displayInformation($unidentified_group_information);
|
||||
$this->displayInformation($guest_group_information);
|
||||
$this->displayInformation($default_group_information);
|
||||
|
||||
@@ -337,7 +337,7 @@ class AdminLocalizationControllerCore extends AdminController
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Download pack data'),
|
||||
'desc' => $this->l('If set to yes then the localization pack will be downloaded from prestashop.com. Otherwise the local xml file found in the localization folder of your Qloapps installation will be used.'),
|
||||
'desc' => $this->l('If set to yes then the localization pack will be downloaded from prestashop.com. Otherwise the local xml file found in the localization folder of your QloApps installation will be used.'),
|
||||
'name' => 'download_updated_pack',
|
||||
'is_bool'=> true,
|
||||
'values' => array(
|
||||
|
||||
@@ -50,7 +50,7 @@ class AdminMaintenanceControllerCore extends AdminController
|
||||
),
|
||||
'PS_MAINTENANCE_IP' => array(
|
||||
'title' => $this->l('Maintenance IP'),
|
||||
'hint' => $this->l('IP addresses allowed to access the front office even if the shop is disabled. Please use a comma to separate them (e.g. 42.24.4.2,127.0.0.1,99.98.97.96)'),
|
||||
'hint' => $this->l('IP addresses allowed to access the front office even if the site is disabled. Please use a comma to separate them (e.g. 42.24.4.2,127.0.0.1,99.98.97.96)'),
|
||||
'validation' => 'isGenericName',
|
||||
'type' => 'maintenance_ip',
|
||||
'default' => ''
|
||||
|
||||
@@ -116,7 +116,7 @@ class AdminMetaControllerCore extends AdminController
|
||||
|
||||
$general_fields['PS_HTACCESS_DISABLE_MODSEC'] = array(
|
||||
'title' => $this->l('Disable Apache\'s mod_security module'),
|
||||
'hint' => $this->l('Some of Qloapps\'s features might not work correctly with a specific configuration of Apache\'s mod_security module. We recommend to turn it off.'),
|
||||
'hint' => $this->l('Some of QloApps\'s features might not work correctly with a specific configuration of Apache\'s mod_security module. We recommend to turn it off.'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool',
|
||||
@@ -220,7 +220,7 @@ class AdminMetaControllerCore extends AdminController
|
||||
$this->addAllRouteFields();
|
||||
}
|
||||
$this->fields_options['routes']['title'] = $this->l('Schema of URLs');
|
||||
$this->fields_options['routes']['description'] = $this->l('This section enables you to change the default pattern of your links. In order to use this functionality, Qloapps\'s "Friendly URL" option must be enabled, and Apache\'s URL rewriting module (mod_rewrite) must be activated on your web server.').'<br />'.$this->l('There are several available keywords for each route listed below; note that keywords with * are required!').'<br />'.$this->l('To add a keyword in your URL, use the {keyword} syntax. If the keyword is not empty, you can add text before or after the keyword with syntax {prepend:keyword:append}. For example {-hey-:meta_title} will add "-hey-my-title" in the URL if the meta title is set.');
|
||||
$this->fields_options['routes']['description'] = $this->l('This section enables you to change the default pattern of your links. In order to use this functionality, QloApps\'s "Friendly URL" option must be enabled, and Apache\'s URL rewriting module (mod_rewrite) must be activated on your web server.').'<br />'.$this->l('There are several available keywords for each route listed below; note that keywords with * are required!').'<br />'.$this->l('To add a keyword in your URL, use the {keyword} syntax. If the keyword is not empty, you can add text before or after the keyword with syntax {prepend:keyword:append}. For example {-hey-:meta_title} will add "-hey-my-title" in the URL if the meta title is set.');
|
||||
$this->fields_options['routes']['submit'] = array('title' => $this->l('Save'));
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ class AdminPreferencesControllerCore extends AdminController
|
||||
$fields = array_merge($fields, array(
|
||||
'PS_TOKEN_ENABLE' => array(
|
||||
'title' => $this->l('Increase front office security'),
|
||||
'desc' => $this->l('Enable or disable token in the Front Office to improve Qloapps\'s security.'),
|
||||
'desc' => $this->l('Enable or disable token in the Front Office to improve QloApps\'s security.'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool',
|
||||
|
||||
@@ -74,7 +74,7 @@ class AdminSearchConfControllerCore extends AdminController
|
||||
'title' => $this->l('Indexing'),
|
||||
'icon' => 'icon-cogs',
|
||||
'info' => '<p>
|
||||
'.$this->l('The "indexed" products have been analyzed by Qloapps and will appear in the results of a front office search.').'<br />
|
||||
'.$this->l('The "indexed" products have been analyzed by QloApps and will appear in the results of a front office search.').'<br />
|
||||
'.$this->l('Indexed products').' <strong>'.(int)$indexed.' / '.(int)$total.'</strong>.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
@@ -67,7 +67,7 @@ class AdminTaxesControllerCore extends AdminController
|
||||
'desc' => $this->l('Select whether or not to include tax on purchases.'),
|
||||
'cast' => 'intval', 'type' => 'bool'),
|
||||
'PS_TAX_DISPLAY' => array(
|
||||
'title' => $this->l('Display tax in the shopping cart'),
|
||||
'title' => $this->l('Display tax in the booking cart'),
|
||||
'desc' => $this->l('Select whether or not to display tax on a distinct line in the cart.'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'),
|
||||
|
||||
@@ -75,7 +75,7 @@ class AdminWebserviceControllerCore extends AdminController
|
||||
'general' => array(
|
||||
'title' => $this->l('Configuration'),
|
||||
'fields' => array(
|
||||
'PS_WEBSERVICE' => array('title' => $this->l('Enable Qloapps\'s webservice'),
|
||||
'PS_WEBSERVICE' => array('title' => $this->l('Enable QloApps\'s webservice'),
|
||||
'desc' => $this->l('Before activating the webservice, you must be sure to: ').
|
||||
'<ol>
|
||||
<li>'.$this->l('Check that URL rewriting is available on this server.').'</li>
|
||||
|
||||
@@ -133,7 +133,7 @@ class InstallControllerHttpSystem extends InstallControllerHttp
|
||||
'title' => $this->l('Recommended PHP parameters'),
|
||||
'success' => $this->tests['optional']['success'],
|
||||
'checks' => array(
|
||||
'new_phpversion' => sprintf($this->l('You are using PHP %s version. Soon, the latest PHP version supported by Qloapps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!'), phpversion()),
|
||||
'new_phpversion' => sprintf($this->l('You are using PHP %s version. Soon, the latest PHP version supported by QloApps will be PHP 5.6. To make sure you’re ready for the future, we recommend you to upgrade to PHP 5.6 now!'), phpversion()),
|
||||
'register_globals' => $this->l('PHP register_globals option is enabled'),
|
||||
'gz' => $this->l('GZIP compression is not activated'),
|
||||
'mcrypt' => $this->l('Mcrypt extension is not enabled'),
|
||||
|
||||
@@ -61,7 +61,7 @@ $(document).ready(function()
|
||||
});
|
||||
|
||||
function psinstall_twitter_click(message) {
|
||||
window.open('https://twitter.com/intent/tweet?button_hashtag=Qloapps&text=' + message, 'sharertwt', 'toolbar=0,status=0,width=640,height=445');
|
||||
window.open('https://twitter.com/intent/tweet?button_hashtag=QloApps&text=' + message, 'sharertwt', 'toolbar=0,status=0,width=640,height=445');
|
||||
}
|
||||
|
||||
function psinstall_facebook_click() {
|
||||
@@ -77,5 +77,5 @@ function psinstall_pinterest_click() {
|
||||
}
|
||||
|
||||
function psinstall_linkedin_click() {
|
||||
window.open('https://www.linkedin.com/shareArticle?title=Qloapps&url=www.qloapps.com/download/', 'sharerlinkedin', 'toolbar=0,status=0,width=600,height=450');
|
||||
window.open('https://www.linkedin.com/shareArticle?title=QloApps&url=www.qloapps.com/download/', 'sharerlinkedin', 'toolbar=0,status=0,width=600,height=450');
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
|
||||
<?php echo $this->l('No'); ?>
|
||||
</label>
|
||||
</div>
|
||||
<p class="userInfos aligned"><?php echo $this->l('Demo data are a good way to learn how to use Qloapps. You should install them if you are not familiar with it.') ?></p>
|
||||
<p class="userInfos aligned"><?php echo $this->l('Demo data are a good way to learn how to use QloApps. You should install them if you are not familiar with it.') ?></p>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<input value="full" name="db_mode" type="hidden" />
|
||||
|
||||
@@ -35,7 +35,7 @@ var admin = '<?php echo(file_exists('../admin-dev') ? '../admin-dev' : '../admin
|
||||
<div id="install_process_success">
|
||||
<div class="clearfix">
|
||||
<h2><?php echo $this->l('Your installation is finished!'); ?></h2>
|
||||
<p><?php echo $this->l('You have just finished installing Qloapps. Thank you for using Qloapps!'); ?></p>
|
||||
<p><?php echo $this->l('You have just finished installing QloApps. Thank you for using QloApps!'); ?></p>
|
||||
<p><?php echo $this->l('Please remember your login information:') ?></p>
|
||||
<table cellpadding="0" cellspacing="0" border="0" id="resultInstall" width="620">
|
||||
<tr class="odd">
|
||||
@@ -82,7 +82,7 @@ var admin = '<?php echo(file_exists('../admin-dev') ? '../admin-dev' : '../admin
|
||||
|
||||
<div class="sharing">
|
||||
<p><?php echo $this->l('Share your experience with your friends!'); ?></p>
|
||||
<button type="button" class="btn-twitter" onclick="psinstall_twitter_click('<?php echo $this->l('I just built an online hotel booking website with Qloapps!'); ?> <?php echo $this->l('See all the features here : https://qloapps.com/qlo-reservation-system/'); ?>');">
|
||||
<button type="button" class="btn-twitter" onclick="psinstall_twitter_click('<?php echo $this->l('I just built an online hotel booking website with QloApps!'); ?> <?php echo $this->l('See all the features here : https://qloapps.com/qlo-reservation-system/'); ?>');">
|
||||
<i></i> <?php echo $this->l('Tweet'); ?>
|
||||
</button>
|
||||
<button type="button" class="btn-facebook" onclick="psinstall_facebook_click();">
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php $this->displayTemplate('header') ?>
|
||||
|
||||
<h2><?php echo $this->l('We are currently checking Qloapps compatibility with your system environment') ?></h2>
|
||||
<h2><?php echo $this->l('We are currently checking QloApps compatibility with your system environment') ?></h2>
|
||||
|
||||
<p><?php echo $this->l('If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.', $this->getDocumentationLink(), $this->getForumLink()); ?></p>
|
||||
|
||||
<?php if ($this->tests['required']['success']): ?>
|
||||
<h3 class="okBlock"><?php echo $this->l('Qloapps compatibility with your system environment has been verified!') ?></h3>
|
||||
<h3 class="okBlock"><?php echo $this->l('QloApps compatibility with your system environment has been verified!') ?></h3>
|
||||
<?php else: ?>
|
||||
<h3 class="errorBlock"><?php echo $this->l('Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.') ?></h3>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
</td>
|
||||
<td class="num_rooms_in_date">{$data_v['num_rm']}</td>
|
||||
<td>{convertPrice price=$data_v['amount']}</td>
|
||||
<td><a class="remove_rooms_from_cart_link" href="#" rm_price="{$data_v['amount']}" id_product="{$product.id_product|intval}" date_from="{$data_v['data_form']}" date_to="{$data_v['data_to']}" num_rooms="{$data_v['num_rm']}" title="{l s='remove this room from my cart' mod='blockcart'}"></a></td>
|
||||
<td><a class="remove_rooms_from_cart_link" href="#" rm_price="{$data_v['amount']}" id_product="{$product.id_product|intval}" date_from="{$data_v['data_form']}" date_to="{$data_v['data_to']}" num_rooms="{$data_v['num_rm']}" title="{l s='Remove this room from my cart' mod='blockcart'}"></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
@@ -427,7 +427,7 @@
|
||||
{addJsDefL name=qty_txt}{l s='Qty' mod='blockcart' js=1}{/addJsDefL}
|
||||
{addJsDefL name=duration_txt}{l s='Duration' mod='blockcart' js=1}{/addJsDefL}
|
||||
{addJsDefL name=capacity_txt}{l s='Capacity' mod='blockcart' js=1}{/addJsDefL}
|
||||
{addJsDefL name=remove_rm_title}{l s='remove this room from my cart' mod='blockcart' js=1}{/addJsDefL}
|
||||
{addJsDefL name=remove_rm_title}{l s='Remove this room from my cart' mod='blockcart' js=1}{/addJsDefL}
|
||||
|
||||
{addJsDef rm_avail_process_lnk = $link->getModuleLink('blockcart', 'checkroomavailabilityajaxprocess')}
|
||||
{addJsDef pagename = $current_page}
|
||||
|
||||
@@ -1399,7 +1399,7 @@ class HotelBookingDetail extends ObjectModel
|
||||
}
|
||||
|
||||
/**
|
||||
* [createQloAppsBookingByChannels create booking on Qloapps commig from different channels]
|
||||
* [createQloAppsBookingByChannels create booking on QloApps commig from different channels]
|
||||
* @param [array] $params [array containing details of orders]
|
||||
* @return [boolean] [true if order is created or returns false]
|
||||
*/
|
||||
@@ -1441,7 +1441,7 @@ class HotelBookingDetail extends ObjectModel
|
||||
}
|
||||
|
||||
/**
|
||||
* [createQloCustomerChannelCustomerInfo create customer in Qloapps from supplied information from channel manager]
|
||||
* [createQloCustomerChannelCustomerInfo create customer in QloApps from supplied information from channel manager]
|
||||
* @param [array] $params [array containg customer information]
|
||||
* @return [int|false] [return customer Id if customer created successfully else returns false]
|
||||
*/
|
||||
@@ -1473,7 +1473,7 @@ class HotelBookingDetail extends ObjectModel
|
||||
}
|
||||
|
||||
/**
|
||||
* [createQloCustomerAddressByChannelCustomerInfo create customer's Address in Qloapps from supplied information from channel manager]
|
||||
* [createQloCustomerAddressByChannelCustomerInfo create customer's Address in QloApps from supplied information from channel manager]
|
||||
* @param [array] $params [array containg customer information]
|
||||
* @return [int|false] [return customer address Id if address created successfully else returns false]
|
||||
*/
|
||||
@@ -1502,7 +1502,7 @@ class HotelBookingDetail extends ObjectModel
|
||||
}
|
||||
|
||||
/**
|
||||
* [createQloCartForBookingFromChannel create cart in Qloapps from supplied cart information from channel manager]
|
||||
* [createQloCartForBookingFromChannel create cart in QloApps from supplied cart information from channel manager]
|
||||
* @param [array] $params [array containg channel cart information]
|
||||
* @return [int|false] [return cart Id if cart created successfully else returns false]
|
||||
*/
|
||||
|
||||
@@ -437,7 +437,7 @@ class HotelHelper
|
||||
|
||||
public function saveDummyProductsAndRelatedInfo($id_hotel)
|
||||
{
|
||||
$prod_arr = array('General Rooms', 'Delux Rooms', 'Executive Rooms', 'luxury Rooms');
|
||||
$prod_arr = array('General Rooms', 'Delux Rooms', 'Executive Rooms', 'Luxury Rooms');
|
||||
$prod_price_arr = array(1000, 1500, 2000, 2500);
|
||||
foreach ($prod_arr as $key => $value_prod) {
|
||||
// Add Product
|
||||
@@ -536,7 +536,7 @@ class HotelHelper
|
||||
$htl_room_info_obj->id_hotel = $id_hotel;
|
||||
$htl_room_info_obj->room_num = 'A-10'.$k;
|
||||
$htl_room_info_obj->id_status = 1;
|
||||
$htl_room_info_obj->floor = 'first';
|
||||
$htl_room_info_obj->floor = 'First';
|
||||
$htl_room_info_obj->save();
|
||||
}
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ class AdminOrderRefundRulesController extends ModuleAdminController
|
||||
}
|
||||
$objRefundRule = new HotelOrderRefundRules($idRefundRule);
|
||||
if ($cancelationDays == '') {
|
||||
$this->errors[] = $this->l('Enter before how many days of check in date, rule will be applied.');
|
||||
$this->errors[] = $this->l('Enter number of days before check-in date for this rule to be applicable.');
|
||||
} else if (!Validate::isUnsignedInt($cancelationDays)) {
|
||||
$this->errors[] = $this->l('Enter valid number of days.');
|
||||
} else if ($objRefundRule->checkIfRuleExistsByCancelationdays($cancelationDays)) {
|
||||
|
||||
@@ -427,10 +427,10 @@ class hotelreservationsystem extends Module
|
||||
);
|
||||
|
||||
//Controllers which are to be used in this modules but we have not to create tab for those ontrollers...
|
||||
$this->installTab('AdminOrderRestrictSettings', 'order restrict configuration', false, false);
|
||||
$this->installTab('AdminOrderRestrictSettings', 'Order Restrict Configuration', false, false);
|
||||
$this->installTab('AdminHotelGeneralSettings', 'Hotel General configuration', false, false);
|
||||
$this->installTab('AdminHotelFeaturePricesSettings', 'feature pricing configuration', false, false);
|
||||
$this->installTab('AdminRoomTypeGlobalDemand', 'Additional demand configuration', false, false);
|
||||
$this->installTab('AdminHotelFeaturePricesSettings', 'Feature Pricing Configuration', false, false);
|
||||
$this->installTab('AdminRoomTypeGlobalDemand', 'Additional Demand Configuration', false, false);
|
||||
$this->installTab('AdminAssignHotelFeatures', 'Assign Hotel Features', false, false);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
|| (isset($special_days) && $special_days && in_array('mon', $special_days))}
|
||||
checked="checked"
|
||||
{/if}/>
|
||||
<p>{l s='mon' mod='hotelreservationsystem'}</p>
|
||||
<p>{l s='Mon' mod='hotelreservationsystem'}</p>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<input type="checkbox" name="special_days[]" value="tue"
|
||||
@@ -149,7 +149,7 @@
|
||||
|| (isset($special_days) && $special_days && in_array('tue', $special_days))}
|
||||
checked="checked"
|
||||
{/if}/>
|
||||
<p>{l s='tue' mod='hotelreservationsystem'}</p>
|
||||
<p>{l s='Tue' mod='hotelreservationsystem'}</p>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<input type="checkbox" name="special_days[]" value="wed"
|
||||
@@ -157,7 +157,7 @@
|
||||
|| (isset($special_days) && $special_days && in_array('wed', $special_days))}
|
||||
checked="checked"
|
||||
{/if}/>
|
||||
<p>{l s='wed' mod='hotelreservationsystem'}</p>
|
||||
<p>{l s='Wed' mod='hotelreservationsystem'}</p>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<input type="checkbox" name="special_days[]" value="thu"
|
||||
@@ -165,7 +165,7 @@
|
||||
|| (isset($special_days) && $special_days && in_array('thu', $special_days))}
|
||||
checked="checked"
|
||||
{/if}/>
|
||||
<p>{l s='thu' mod='hotelreservationsystem'}</p>
|
||||
<p>{l s='Thu' mod='hotelreservationsystem'}</p>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<input type="checkbox" name="special_days[]" value="fri"
|
||||
@@ -173,7 +173,7 @@
|
||||
|| (isset($special_days) && $special_days && in_array('fri', $special_days))}
|
||||
checked="checked"
|
||||
{/if}/>
|
||||
<p>{l s='fri' mod='hotelreservationsystem'}</p>
|
||||
<p>{l s='Fri' mod='hotelreservationsystem'}</p>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<input type="checkbox" name="special_days[]" value="sat"
|
||||
@@ -181,7 +181,7 @@
|
||||
|| (isset($special_days) && $special_days && in_array('sat', $special_days))}
|
||||
checked="checked"
|
||||
{/if}/>
|
||||
<p>{l s='sat' mod='hotelreservationsystem'}</p>
|
||||
<p>{l s='Sat' mod='hotelreservationsystem'}</p>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<input type="checkbox" name="special_days[]" value="sun"
|
||||
@@ -189,7 +189,7 @@
|
||||
|| (isset($special_days) && $special_days && in_array('sun', $special_days))}
|
||||
checked="checked"
|
||||
{/if}/>
|
||||
<p>{l s='sun' mod='hotelreservationsystem'}</p>
|
||||
<p>{l s='Sun' mod='hotelreservationsystem'}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -37,13 +37,14 @@ class wkhotelfilterblock extends Module
|
||||
$this->bootstrap = true;
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('layered filters and sorting block');
|
||||
$this->displayName = $this->l('Layered filters and sorting block');
|
||||
$this->description = $this->l('Hotel filter and sorting block');
|
||||
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
$this->html = '';
|
||||
if (Tools::isSubmit('btnConfigSubmit')) {
|
||||
$this->postProcess();
|
||||
} else {
|
||||
|
||||
@@ -141,7 +141,7 @@ class WkHotelTestimonialData extends ObjectModel
|
||||
$HOTEL_TESIMONIAL_BLOCK_HEADING = array();
|
||||
$HOTEL_TESIMONIAL_BLOCK_CONTENT = array();
|
||||
foreach ($languages as $lang) {
|
||||
$HOTEL_TESIMONIAL_BLOCK_HEADING[$lang['id_lang']] = 'What our Guest say?';
|
||||
$HOTEL_TESIMONIAL_BLOCK_HEADING[$lang['id_lang']] = 'What our guests say?';
|
||||
$HOTEL_TESIMONIAL_BLOCK_CONTENT[$lang['id_lang']] = 'Fap put a bird on it next level, sustainable disrupt polaroid flannel Helvetica Kickstarter quinoa bicycle rights narwhal wolf Fap put a bird on it next level.';
|
||||
}
|
||||
Configuration::updateValue('HOTEL_TESIMONIAL_BLOCK_NAV_LINK', 1);
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
</td>
|
||||
<td class="num_rooms_in_date">{$data_v['num_rm']}</td>
|
||||
<td>{convertPrice price=$data_v['amount']}</td>
|
||||
<td><a class="remove_rooms_from_cart_link" href="#" rm_price="{$data_v['amount']}" id_product="{$product.id_product|intval}" date_from="{$data_v['data_form']}" date_to="{$data_v['data_to']}" num_rooms="{$data_v['num_rm']}" title="{l s='remove this room from my cart' mod='blockcart'}"></a></td>
|
||||
<td><a class="remove_rooms_from_cart_link" href="#" rm_price="{$data_v['amount']}" id_product="{$product.id_product|intval}" date_from="{$data_v['data_form']}" date_to="{$data_v['data_to']}" num_rooms="{$data_v['num_rm']}" title="{l s='Remove this room from my cart' mod='blockcart'}"></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
@@ -427,7 +427,7 @@
|
||||
{addJsDefL name=qty_txt}{l s='Qty' mod='blockcart' js=1}{/addJsDefL}
|
||||
{addJsDefL name=duration_txt}{l s='Duration' mod='blockcart' js=1}{/addJsDefL}
|
||||
{addJsDefL name=capacity_txt}{l s='Capacity' mod='blockcart' js=1}{/addJsDefL}
|
||||
{addJsDefL name=remove_rm_title}{l s='remove this room from my cart' mod='blockcart' js=1}{/addJsDefL}
|
||||
{addJsDefL name=remove_rm_title}{l s='Remove this room from my cart' mod='blockcart' js=1}{/addJsDefL}
|
||||
|
||||
{addJsDef rm_avail_process_lnk = $link->getModuleLink('blockcart', 'checkroomavailabilityajaxprocess')}
|
||||
{addJsDef pagename = $current_page}
|
||||
|
||||
@@ -45,6 +45,9 @@
|
||||
</div>
|
||||
<div id="opc_account_form" class="unvisible">
|
||||
{$HOOK_CREATE_ACCOUNT_TOP}
|
||||
<div style="display: none;" id="opc_account_saved" class="alert alert-success">
|
||||
{l s='Account information saved successfully.'}
|
||||
</div>
|
||||
<!-- Error return block -->
|
||||
<div id="opc_account_errors" class="alert alert-danger" style="display:none;"></div>
|
||||
<!-- END Error return block -->
|
||||
@@ -394,9 +397,6 @@
|
||||
<button type="submit" name="submitAccount" id="submitAccount" class="btn btn-default button button-medium pull-right"><span>{l s='Save'}<i class="icon-chevron-right right"></i></span></button>
|
||||
|
||||
</div>
|
||||
<div style="display: none;" id="opc_account_saved" class="alert alert-success">
|
||||
{l s='Account information saved successfully'}
|
||||
</div>
|
||||
<!-- END Account -->
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
{capture name=path}{l s='Your booking cart'}{/capture}
|
||||
<h2 class="page-heading">{l s='Your booking cart'}</h2>
|
||||
|
||||
<p class="alert alert-warning">{l s='The hotel is currently no accepting any bookings.'}</p>
|
||||
<p class="alert alert-warning">{l s='The hotel is currently not accepting any bookings.'}</p>
|
||||
{else}
|
||||
{if $productNumber && isset($cart_htl_data)}
|
||||
|
||||
@@ -329,7 +329,7 @@
|
||||
<h2 class="page-heading">{l s='Your booking cart'}</h2>
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
<p class="alert alert-warning">{l s='Till now you did not added any room in your cart.'}</p>
|
||||
<p class="alert alert-warning">{l s='You have not added any room to your cart yet.'}</p>
|
||||
{/if}
|
||||
{strip}
|
||||
{addJsDef imgDir=$img_dir}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
{/if} --><!-- by webkul -->
|
||||
{if isset($adminActionDisplay) && $adminActionDisplay}
|
||||
<div id="admin-action" class="container">
|
||||
<p class="alert alert-info">{l s='This product is not visible to your customers.'}
|
||||
<p class="alert alert-info">{l s='This room type is not visible to your customers.'}
|
||||
<input type="hidden" id="admin-action-product-id" value="{$product->id}" />
|
||||
<a id="publish_button" class="btn btn-default button button-small" href="#">
|
||||
<span>{l s='Publish'}</span>
|
||||
|
||||
Reference in New Issue
Block a user