// New user assistance in the installer

This commit is contained in:
Damien Metzger
2012-12-12 20:34:13 +01:00
parent 1c5f8b968c
commit d8c4db1d1b
5 changed files with 18 additions and 3 deletions
+7 -1
View File
@@ -15,7 +15,9 @@
<?php endif; ?>
</div>
</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" -->
<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>&copy; 2005-<?php echo date('Y'); ?></li>
</ul>
<script type="text/javascript">
if (typeof psuser_assistance != 'undefined')
psuser_assistance.setStep('install_<?php echo addslashes($this->step) ?>');
</script>
</body>
</html>
+2 -2
View File
@@ -17,6 +17,7 @@
<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/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')): ?>
<script type="text/javascript" src="theme/js/<?php echo $this->step ?>.js"></script>
<?php endif; ?>
@@ -82,5 +83,4 @@
<li <?php if ($this->isStepFinished($step)): ?>class="ok"<?php endif; ?>><?php echo $this->l('menu_'.$this->step) ?></li>
<?php endforeach; ?>
</ul>
</div>
</div>