// Fix bug when fixtures are disabled + move install type (fixtures or not) to configure step

This commit is contained in:
rMalie
2012-02-07 13:37:37 +00:00
parent b63c04a22b
commit 85bee87920
7 changed files with 29 additions and 24 deletions
+16
View File
@@ -34,6 +34,22 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
<p class="userInfos aligned"><?php echo $this->l('This information is not required, it will only be used for statistical purposes. This information does not change anything in your store.') ?></p>
</div>
<!-- Install type (with fixtures or not) -->
<div class="field clearfix">
<label class="aligned"><?php echo $this->l('Install demo products:') ?></label>
<div class="contentinput">
<label>
<input value="full" type="radio" name="db_mode" style="vertical-align: middle;" <?php if ($this->install_type == 'full'): ?>checked="checked"<?php endif; ?> />
<?php echo $this->l('Yes') ?>
</label>
<label>
<input value="lite" type="radio" name="db_mode" style="vertical-align: middle;" <?php if ($this->install_type == 'lite'): ?>checked="checked"<?php endif; ?> />
<?php echo $this->l('No'); ?>
</label>
</div>
<p class="userInfos aligned"><?php echo $this->l('Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.') ?></p>
</div>
<!-- Country list -->
<div class="field clearfix">
<label for="infosCountry" class="aligned"><?php echo $this->l('Default country:') ?></label>
-14
View File
@@ -57,20 +57,6 @@
</div>
</div>
<!-- Install type (with fixtures or not) -->
<div id="dbTableParam">
<div>
<h2><?php echo $this->l('Installation type') ?></h2>
<p id="dbModeSetter" style="line-height: 20px;">
<input value="lite" type="radio" name="db_mode" id="db_mode_simple" style="vertical-align: middle;" <?php if ($this->install_type == 'lite'): ?>checked="checked"<?php endif; ?> />
<label for="db_mode_simple"><?php echo $this->l('Simple mode: Basic installation (FREE)'); ?></label><br />
<input value="full" type="radio" name="db_mode" id="db_mode_complet" style="vertical-align: middle;" <?php if ($this->install_type == 'full'): ?>checked="checked"<?php endif; ?> />
<label for="db_mode_complet"><?php echo $this->l('Sandbox mode: includes demo products (FREE)') ?></label>
</p>
</div>
</div>
<!-- Email configuration -->
<div id="mailPart">
<h2><?php echo $this->l('E-mail delivery set-up') ?></h2>