// Code cleaning and small fixes

This commit is contained in:
Damien Metzger committed 2013-11-04 14:29:31 +01:00
1 parent 178cd7362d
commit d93ea846a9
3 files changed
+3 -7

No files matched your search

@@ -50,7 +50,7 @@
{/block} {/block}
{block name="after"} {block name="after"}
<div class="panel" id="prestastore-content"></div> <div class="panel clearfix" id="prestastore-content"></div>
<script type="text/javascript"> <script type="text/javascript">
$.ajax({ $.ajax({
type: 'POST', type: 'POST',
@@ -145,7 +145,6 @@ class AdminPPreferencesControllerCore extends AdminController
'fields' => array( 'fields' => array(
'PS_DISPLAY_QTIES' => array( 'PS_DISPLAY_QTIES' => array(
'title' => $this->l('Display available quantities on the product page'), 'title' => $this->l('Display available quantities on the product page'),
'hint' => '',
'validation' => 'isBool', 'validation' => 'isBool',
'cast' => 'intval', 'cast' => 'intval',
'required' => false, 'required' => false,
@@ -161,7 +160,6 @@ class AdminPPreferencesControllerCore extends AdminController
), ),
'PS_DISPLAY_JQZOOM' => array( 'PS_DISPLAY_JQZOOM' => array(
'title' => $this->l('Enable JqZoom instead of Thickbox on the product page'), 'title' => $this->l('Enable JqZoom instead of Thickbox on the product page'),
'hint' => '',
'validation' => 'isBool', 'validation' => 'isBool',
'cast' => 'intval', 'cast' => 'intval',
'required' => false, 'required' => false,
@@ -169,7 +167,6 @@ class AdminPPreferencesControllerCore extends AdminController
), ),
'PS_DISP_UNAVAILABLE_ATTR' => array( 'PS_DISP_UNAVAILABLE_ATTR' => array(
'title' => $this->l('Display unavailable product attributes on the product page'), 'title' => $this->l('Display unavailable product attributes on the product page'),
'hint' => '',
'validation' => 'isBool', 'validation' => 'isBool',
'cast' => 'intval', 'cast' => 'intval',
'required' => false, 'required' => false,
@@ -206,7 +203,6 @@ class AdminPPreferencesControllerCore extends AdminController
), ),
'PS_STOCK_MANAGEMENT' => array( 'PS_STOCK_MANAGEMENT' => array(
'title' => $this->l('Enable stock management'), 'title' => $this->l('Enable stock management'),
'hint' => '',
'validation' => 'isBool', 'validation' => 'isBool',
'cast' => 'intval', 'cast' => 'intval',
'required' => false, 'required' => false,
@@ -69,9 +69,9 @@ class AdminSearchConfControllerCore extends AdminController
</p> </p>
<p>'.$this->l('Building the product index may take a few minutes.') <p>'.$this->l('Building the product index may take a few minutes.')
.$this->l('If your server stops before the process ends, you can resume the indexation by clicking "Add missing products."').'</p> .$this->l('If your server stops before the process ends, you can resume the indexation by clicking "Add missing products."').'</p>
<a href="searchcron.php?token='.substr(_COOKIE_KEY_, 34, 8).'&redirect=1" class="btn btn-link"><i class="icon-external-link-sign"></i> '. <a href="searchcron.php?token='.substr(_COOKIE_KEY_, 34, 8).'&redirect=1" class="btn-link"><i class="icon-external-link-sign"></i> '.
$this->l('Add missing products to the index.').'</a><br /> $this->l('Add missing products to the index.').'</a><br />
<a href="searchcron.php?full=1&token='.substr(_COOKIE_KEY_, 34, 8).'&redirect=1" class="btn btn-link"><i class="icon-external-link-sign"></i> '. <a href="searchcron.php?full=1&token='.substr(_COOKIE_KEY_, 34, 8).'&redirect=1" class="btn-link"><i class="icon-external-link-sign"></i> '.
$this->l('Re-build the entire index.').'</a><br /><br /> $this->l('Re-build the entire index.').'</a><br /><br />
'.$this->l('You can set a cron job that will rebuild your index using the following URL:').' <a href="'.$cron_url.'"><i class="icon-external-link-sign"></i> '.$cron_url.'</a>', '.$this->l('You can set a cron job that will rebuild your index using the following URL:').' <a href="'.$cron_url.'"><i class="icon-external-link-sign"></i> '.$cron_url.'</a>',
'fields' => array( 'fields' => array(