// New user assistance in the installer
This commit is contained in:
@@ -194,5 +194,6 @@ return array(
|
|||||||
'Display' => 'Afficher',
|
'Display' => 'Afficher',
|
||||||
'<b>Warning: You cannot use anymore this tool to upgrade your store.</b><br /><br />You already have <b>PrestaShop version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version please read our documentation: <a href="%2$s">%2$s</a>' => '<b>Attention: Vous ne pouvez plus utiliser cet outil pour mettre à jour votre boutique.</b><br /><br />Vous avez déjà <b>PrestaShop version %1$s d\'installé.</b><br /><br />Si vous souhaitez utiliser la dernière version, merci de vous référer à notre documentation pour la mise à jour : <a href="%2$s">%2$s</a>',
|
'<b>Warning: You cannot use anymore this tool to upgrade your store.</b><br /><br />You already have <b>PrestaShop version %1$s installed</b>.<br /><br />If you want to upgrade to the latest version please read our documentation: <a href="%2$s">%2$s</a>' => '<b>Attention: Vous ne pouvez plus utiliser cet outil pour mettre à jour votre boutique.</b><br /><br />Vous avez déjà <b>PrestaShop version %1$s d\'installé.</b><br /><br />Si vous souhaitez utiliser la dernière version, merci de vous référer à notre documentation pour la mise à jour : <a href="%2$s">%2$s</a>',
|
||||||
'PrestaShop Wizard Installer' => 'Installation de PrestaShop',
|
'PrestaShop Wizard Installer' => 'Installation de PrestaShop',
|
||||||
|
'If you are experiencing problems during the installation process, please call our team at %s and one of our experts will be happy to help.' => 'PrestaShop peut vous assister si vous rencontrez un obstacle lors de l\'installation de votre boutique. Contactez notre équipe au %s et indiquez-nous l\'URL de votre boutique. Nous serons heureux de vous aider dans les dernières étapes de l\'installation !',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@@ -156,11 +156,15 @@ function install_error(step, errors)
|
|||||||
var display = '<ol>';
|
var display = '<ol>';
|
||||||
$.each(list_errors, function(k, v)
|
$.each(list_errors, function(k, v)
|
||||||
{
|
{
|
||||||
|
if (typeof psuser_assistance != 'undefined')
|
||||||
|
psuser_assistance.setStep('install_process_error', {'error':v});
|
||||||
display += '<li>'+v+'</li>';
|
display += '<li>'+v+'</li>';
|
||||||
});
|
});
|
||||||
display += '</ol>';
|
display += '</ol>';
|
||||||
$('#process_step_'+step.key+' .error_log').html(display).show();
|
$('#process_step_'+step.key+' .error_log').html(display).show();
|
||||||
}
|
}
|
||||||
|
if (typeof psuser_assistance != 'undefined')
|
||||||
|
psuser_assistance.setStep('install_process_error');
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_success()
|
function install_success()
|
||||||
@@ -171,4 +175,6 @@ function install_success()
|
|||||||
$('#install_process_form').slideUp();
|
$('#install_process_form').slideUp();
|
||||||
$('#install_process_success').slideDown();
|
$('#install_process_success').slideDown();
|
||||||
$('.stepList li:last-child').addClass('ok');
|
$('.stepList li:last-child').addClass('ok');
|
||||||
|
if (typeof psuser_assistance != 'undefined')
|
||||||
|
psuser_assistance.setStep('install_process_success');
|
||||||
}
|
}
|
||||||
@@ -110,6 +110,8 @@ ul#footer{
|
|||||||
color:#fff;
|
color:#fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#phone_help{margin:auto;text-align:center;padding:10px 5px}
|
||||||
|
|
||||||
|
|
||||||
/* ****************************************************************************
|
/* ****************************************************************************
|
||||||
generics styles
|
generics styles
|
||||||
|
|||||||
@@ -15,7 +15,9 @@
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<div id="phone_help">
|
||||||
|
<?php echo $this->l('If you are experiencing problems during the installation process, please call our team at %s and one of our experts will be happy to help.', $this->getPhone()) ?>
|
||||||
|
</div>
|
||||||
</div><!-- div id="container" -->
|
</div><!-- div id="container" -->
|
||||||
|
|
||||||
<ul id="footer">
|
<ul id="footer">
|
||||||
@@ -26,5 +28,9 @@
|
|||||||
<li><a href="http://www.prestashop.com/contact.php" title="<?php echo $this->l('Contact us!'); ?>" target="_blank"><?php echo $this->l('Contact us!'); ?></a> | </li>
|
<li><a href="http://www.prestashop.com/contact.php" title="<?php echo $this->l('Contact us!'); ?>" target="_blank"><?php echo $this->l('Contact us!'); ?></a> | </li>
|
||||||
<li>© 2005-<?php echo date('Y'); ?></li>
|
<li>© 2005-<?php echo date('Y'); ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<script type="text/javascript">
|
||||||
|
if (typeof psuser_assistance != 'undefined')
|
||||||
|
psuser_assistance.setStep('install_<?php echo addslashes($this->step) ?>');
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
<script type="text/javascript" src="theme/js/jquery.ajaxfileupload.js"></script>
|
<script type="text/javascript" src="theme/js/jquery.ajaxfileupload.js"></script>
|
||||||
<script type="text/javascript" src="theme/js/jquery.chosen/jquery.chosen.js"></script>
|
<script type="text/javascript" src="theme/js/jquery.chosen/jquery.chosen.js"></script>
|
||||||
<script type="text/javascript" src="theme/js/install.js"></script>
|
<script type="text/javascript" src="theme/js/install.js"></script>
|
||||||
|
<script type="text/javascript" src="//www.prestashop.com/js/user-assistance.js"></script>
|
||||||
<?php if (file_exists(_PS_INSTALL_PATH_.'theme/js/'.$this->step.'.js')): ?>
|
<?php if (file_exists(_PS_INSTALL_PATH_.'theme/js/'.$this->step.'.js')): ?>
|
||||||
<script type="text/javascript" src="theme/js/<?php echo $this->step ?>.js"></script>
|
<script type="text/javascript" src="theme/js/<?php echo $this->step ?>.js"></script>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@@ -82,5 +83,4 @@
|
|||||||
<li <?php if ($this->isStepFinished($step)): ?>class="ok"<?php endif; ?>><?php echo $this->l('menu_'.$this->step) ?></li>
|
<li <?php if ($this->isStepFinished($step)): ?>class="ok"<?php endif; ?>><?php echo $this->l('menu_'.$this->step) ?></li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
Reference in New Issue
Block a user