Merge pull request #292 from abhishek-webkul/gli-568
Remove unused option 'Main Shop Activity' and improve installation texts
This commit is contained in:
@@ -207,14 +207,14 @@ class AdminPreferencesControllerCore extends AdminController
|
||||
// 'type' => 'bool',
|
||||
// 'visibility' => Shop::CONTEXT_ALL
|
||||
// ),
|
||||
'PS_SHOP_ACTIVITY' => array(
|
||||
'title' => $this->l('Main Shop Activity'),
|
||||
'validation' => 'isInt',
|
||||
'cast' => 'intval',
|
||||
'type' => 'select',
|
||||
'list' => $activities2,
|
||||
'identifier' => 'value'
|
||||
),
|
||||
// 'PS_SHOP_ACTIVITY' => array(
|
||||
// 'title' => $this->l('Main Shop Activity'),
|
||||
// 'validation' => 'isInt',
|
||||
// 'cast' => 'intval',
|
||||
// 'type' => 'select',
|
||||
// 'list' => $activities2,
|
||||
// 'identifier' => 'value'
|
||||
// ),
|
||||
));
|
||||
|
||||
// No HTTPS activation if you haven't already.
|
||||
|
||||
@@ -307,7 +307,7 @@ class InstallControllerHttpProcess extends InstallControllerHttp
|
||||
// We fill the process step used for Ajax queries
|
||||
$this->process_steps[] = array('key' => 'generateSettingsFile', 'lang' => $this->l('Create settings.inc file'));
|
||||
$this->process_steps[] = array('key' => 'installDatabase', 'lang' => $this->l('Create database tables'));
|
||||
$this->process_steps[] = array('key' => 'installDefaultData', 'lang' => $this->l('Create default shop and languages'));
|
||||
$this->process_steps[] = array('key' => 'installDefaultData', 'lang' => $this->l('Create default website and languages'));
|
||||
|
||||
// If low memory, create subtasks for populateDatabase step (entity per entity)
|
||||
$populate_step = array('key' => 'populateDatabase', 'lang' => $this->l('Populate database tables'));
|
||||
@@ -320,7 +320,7 @@ class InstallControllerHttpProcess extends InstallControllerHttp
|
||||
}
|
||||
|
||||
$this->process_steps[] = $populate_step;
|
||||
$this->process_steps[] = array('key' => 'configureShop', 'lang' => $this->l('Configure shop information'));
|
||||
$this->process_steps[] = array('key' => 'configureShop', 'lang' => $this->l('Configure website information'));
|
||||
|
||||
if ($this->session->install_type == 'full') {
|
||||
// If low memory, create subtasks for installFixtures step (entity per entity)
|
||||
|
||||
@@ -55,9 +55,9 @@ return array(
|
||||
'Cannot create the database automatically' => 'Cannot create the database automatically',
|
||||
'Create settings.inc file' => 'Create settings.inc file',
|
||||
'Create database tables' => 'Create database tables',
|
||||
'Create default shop and languages' => 'Create default shop and languages',
|
||||
'Create default website and languages' => 'Create default website and languages',
|
||||
'Populate database tables' => 'Populate database tables',
|
||||
'Configure shop information' => 'Configure shop information',
|
||||
'Configure website information' => 'Configure website information',
|
||||
'Install demonstration data' => 'Install demonstration data',
|
||||
'Install modules' => 'Install modules',
|
||||
'Install Addons modules' => 'Install Addons modules',
|
||||
@@ -158,9 +158,9 @@ return array(
|
||||
'menu_welcome' => 'Choose your language',
|
||||
'menu_license' => 'License agreements',
|
||||
'menu_system' => 'System compatibility',
|
||||
'menu_configure' => 'Store information',
|
||||
'menu_configure' => 'Website information',
|
||||
'menu_database' => 'System configuration',
|
||||
'menu_process' => 'Store installation',
|
||||
'menu_process' => 'QloApps installation',
|
||||
'Installation Assistant' => 'Installation Assistant',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'To install PrestaShop, you need to have JavaScript enabled in your browser.',
|
||||
'http://enable-javascript.com/' => 'http://enable-javascript.com/',
|
||||
|
||||
@@ -8,11 +8,11 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
|
||||
|
||||
<!-- Configuration form -->
|
||||
<div id="infosShopBlock">
|
||||
<h2><?php echo $this->l('Information about your Store') ?></h2>
|
||||
<h2><?php echo $this->l('Information about your Website') ?></h2>
|
||||
|
||||
<!-- Shop name -->
|
||||
<div class="field clearfix">
|
||||
<label for="infosShop" class="aligned"><?php echo $this->l('Shop name') ?> </label>
|
||||
<label for="infosShop" class="aligned"><?php echo $this->l('Website name') ?> </label>
|
||||
<div class="contentinput">
|
||||
<input class="text required" type="text" id="infosShop" name="shop_name" value="<?php echo htmlspecialchars($this->session->shop_name) ?>" /> <sup class="required">*</sup>
|
||||
</div>
|
||||
@@ -20,6 +20,7 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
|
||||
</div>
|
||||
|
||||
<!-- Activity -->
|
||||
<?php /*
|
||||
<div class="field clearfix">
|
||||
<label for="infosActivity" class="aligned"><?php echo $this->l('Main activity') ?></label>
|
||||
<div class="contentinput">
|
||||
@@ -33,6 +34,7 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
|
||||
</div>
|
||||
<p class="userInfos aligned"><?php echo $this->l('Help us learn more about your store so we can offer you optimal guidance and the best features for your business!') ?></p>
|
||||
</div>
|
||||
*/ ?>
|
||||
|
||||
<?php if (_PS_MODE_DEV_): ?>
|
||||
<!-- Install type (with fixtures or not) -->
|
||||
@@ -71,7 +73,7 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
|
||||
|
||||
<!-- Timezone list -->
|
||||
<div id="timezone_div" class="field clearfix" <?php if (!in_array($this->session->shop_timezone, array('us','ca','au','ru','me','id'))) echo 'style="display:none"'; ?>>
|
||||
<label for="infosTimezone" class="aligned"><?php echo $this->l('Shop timezone') ?></label>
|
||||
<label for="infosTimezone" class="aligned"><?php echo $this->l('Website timezone') ?></label>
|
||||
<div class="contentinput">
|
||||
<select name="shop_timezone" id="infosTimezone" class="chosen no-chosen">
|
||||
<option value="0" style="font-weight: bold"><?php echo $this->l('Select your timezone') ?></option>
|
||||
@@ -128,13 +130,13 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
|
||||
<input type="text" class="text required" id="infosEmail" name="admin_email" value="<?php echo htmlspecialchars($this->session->admin_email) ?>" />
|
||||
<sup class="required">*</sup>
|
||||
</div>
|
||||
<p class="userInfos aligned"><?php echo $this->l('This email address will be your username to access your store\'s back office.') ?></p>
|
||||
<p class="userInfos aligned"><?php echo $this->l('This email address will be your username to access your website\'s back office.') ?></p>
|
||||
<?php echo $this->displayError('admin_email') ?>
|
||||
</div>
|
||||
|
||||
<!-- Admin password -->
|
||||
<div class="field clearfix">
|
||||
<label for="infosPassword" class="aligned"><?php echo $this->l('Shop password') ?> </label>
|
||||
<label for="infosPassword" class="aligned"><?php echo $this->l('Password') ?> </label>
|
||||
<div class="contentinput">
|
||||
<input autocomplete="off" type="password" class="text required" id="infosPassword" name="admin_password" value="<?php echo htmlspecialchars($this->session->admin_password) ?>" />
|
||||
<sup class="required">*</sup>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<div id="dbPart">
|
||||
<h2><?php echo $this->l('Configure your database by filling out the following fields') ?></h2>
|
||||
<p>
|
||||
<?php echo $this->l('To use Qloapps, you must <a href="%1$s" target="_blank">create a database</a> to collect all of your website\'s data-related activities.', 'https://qloapps.com/install-qloapps/#section-4') ?>
|
||||
<?php echo $this->l('To use QloApps, you must <a href="%1$s" target="_blank">create a database</a> to collect all of your website\'s data-related activities.', 'https://qloapps.com/install-qloapps/#section-4') ?>
|
||||
<br />
|
||||
<?php echo $this->l('Please complete the fields below in order for Qloapps to connect to your database. ') ?>
|
||||
<?php echo $this->l('Please complete the fields below in order for QloApps to connect to your database. ') ?>
|
||||
</p>
|
||||
|
||||
<div id="formCheckSQL">
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<li><a href="<?php echo $this->getSupportLink() ?>" title="<?php echo $this->l('Support'); ?>" target="_blank"><?php echo $this->l('Support'); ?></a> | </li>
|
||||
<li><a href="<?php echo $this->getDocumentationLink() ?>" title="<?php echo $this->l('Documentation'); ?>" target="_blank"><?php echo $this->l('Documentation'); ?></a> | </li>
|
||||
<li><a href="<?php echo $this->getContactLink() ?>" title="<?php echo $this->l('Contact us'); ?>" target="_blank"><?php echo $this->l('Contact us'); ?></a> | </li>
|
||||
<li>©Copyright 2015-<?php echo date('Y'); ?></li>
|
||||
<li>© Copyright 2015-<?php echo date('Y'); ?></li>
|
||||
</ul>
|
||||
<script type="text/javascript">
|
||||
if (typeof psuser_assistance != 'undefined')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head>
|
||||
<title><?php echo $this->l('Qloapps Installation Assistant') ?></title>
|
||||
<title><?php echo $this->l('QloApps Installation Assistant') ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
@@ -37,7 +37,7 @@
|
||||
<li class="lnk_blog last"><a href="<?php echo $this->getBlogLink() ?>" target="_blank"><?php echo $this->l('Blog') ?></a></li>
|
||||
</ul>
|
||||
|
||||
<div id="PrestaShopLogo">Qloapps</div>
|
||||
<div id="PrestaShopLogo">QloApps</div>
|
||||
</div>
|
||||
|
||||
<!-- Ajax loader animation -->
|
||||
@@ -82,7 +82,7 @@
|
||||
<p class="wk-service-link-content">
|
||||
<span class="head">Need Help?</span>
|
||||
<p class="wk-service-link-content">
|
||||
Click here to explore Qloapps services
|
||||
Click here to explore QloApps services
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
@@ -103,7 +103,7 @@
|
||||
</div>
|
||||
<noscript>
|
||||
<h4 class="errorBlock" style="margin-bottom:10px">
|
||||
<?php echo $this->l('To install Qloapps, you need to have JavaScript enabled in your browser.') ?>
|
||||
<?php echo $this->l('To install QloApps, you need to have JavaScript enabled in your browser.') ?>
|
||||
<a href="<?php echo $this->l('http://enable-javascript.com/') ?>" target="_blank">
|
||||
<img src="theme/img/help.png" style="height:16px;width:16px" />
|
||||
</a>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<!-- License agreement -->
|
||||
<h2 id="licenses-agreement"><?php echo $this->l('License Agreements') ?></h2>
|
||||
<p><strong><?php echo $this->l('To enjoy the many features that are offered for free by Qloapps, please read the license terms below. Qloapps core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.') ?></strong></p>
|
||||
<p><strong><?php echo $this->l('To enjoy the many features that are offered for free by QloApps, please read the license terms below. QloApps core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.') ?></strong></p>
|
||||
<div style="height:200px; border:1px solid #ccc; margin-bottom:8px; padding:5px; background:#fff; overflow: auto; overflow-x:hidden; overflow-y:scroll;">
|
||||
<?php $this->displayTemplate('license_content'); ?>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<div class="warnBlock">
|
||||
<img src="theme/img/pict_error.png" alt="" style="vertical-align: middle;" />
|
||||
<?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>',
|
||||
'<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; ?>
|
||||
@@ -29,6 +29,6 @@
|
||||
</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 store from over %d translations, all for free!', 60); ?> </p>
|
||||
<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') ?>
|
||||
|
||||
Reference in New Issue
Block a user