-
-
-
+
+
+
+ {foreach $fields_display AS $key => $params}
+
+ {/foreach}
+ {if $shop_link_type}
+
+ {/if}
+ {if $has_actions}
+
+ {/if}
+
+
+
+
{foreach $fields_display AS $key => $params}
-
+
+ {if isset($params.hint)}{$params.hint} {/if}
+
+ {$params.title}
+
+
{/foreach}
{if $shop_link_type}
-
+
+ {if $shop_link_type == 'shop'}
+ {l s='Shop'}
+ {else}
+ {l s='Group shop'}
+ {/if}
+
{/if}
{if $has_actions}
-
+
+ {l s='Reset'}
+
+
{/if}
-
-
-
- {if $has_bulk_actions}
-
- {/if}
-
- {foreach $fields_display AS $key => $params}
-
- {if isset($params.hint)}{$params.hint} {/if}
-
- {$params.title}
-
-
-
- {/foreach}
- {if $shop_link_type}
-
- {if $shop_link_type == 'shop'}
- {l s='Shop'}
- {else}
- {l s='Group shop'}
- {/if}
-
-
- {/if}
- {if $has_actions}
- {l s='Actions'}
- {/if}
-
-
+
+
diff --git a/admin-dev/themes/default/template/controllers/tax_rules_group/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/tax_rules_group/helpers/form/form.tpl
deleted file mode 100644
index 5b16474bb..000000000
--- a/admin-dev/themes/default/template/controllers/tax_rules_group/helpers/form/form.tpl
+++ /dev/null
@@ -1,29 +0,0 @@
-{*
-* 2007-2013 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA
-* @copyright 2007-2013 PrestaShop SA
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
-{extends file="helpers/form/form.tpl"}
-
-{block name="after"}
-
-{/block}
\ No newline at end of file
diff --git a/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl b/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl
index d75c82432..a7363fcbf 100644
--- a/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl
+++ b/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl
@@ -96,22 +96,20 @@
{l s='Select your language:'}
@@ -233,7 +231,7 @@
{l s='Copies data from one language to another.'}
{l s='Warning: This will replace all of the existing data inside the destination language.'}
- {l s='If necessary'}, {l s='you must first create a new language.'} .
+ {l s='If necessary'}, {l s='you must first create a new language.'} .
{l s='From:'}
diff --git a/controllers/admin/AdminCountriesController.php b/controllers/admin/AdminCountriesController.php
index 7e7e197e7..95efe2fa9 100644
--- a/controllers/admin/AdminCountriesController.php
+++ b/controllers/admin/AdminCountriesController.php
@@ -74,7 +74,8 @@ class AdminCountriesControllerCore extends AdminController
$this->fields_list = array(
'id_country' => array(
'title' => $this->l('ID'),
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'name' => array(
'title' => $this->l('Country'),
@@ -82,12 +83,14 @@ class AdminCountriesControllerCore extends AdminController
),
'iso_code' => array(
'title' => $this->l('ISO code'),
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'call_prefix' => array(
'title' => $this->l('Call prefix'),
'align' => 'center',
- 'callback' => 'displayCallPrefix'
+ 'callback' => 'displayCallPrefix',
+ 'class' => 'fixed-width-sm'
),
'zone' => array(
'title' => $this->l('Zone'),
@@ -103,7 +106,8 @@ class AdminCountriesControllerCore extends AdminController
'active' => 'status',
'type' => 'bool',
'orderby' => false,
- 'filter_key' => 'a!active'
+ 'filter_key' => 'a!active',
+ 'class' => 'fixed-width-sm'
)
);
diff --git a/controllers/admin/AdminCurrenciesController.php b/controllers/admin/AdminCurrenciesController.php
index 7bae0a54e..b0f80bf4c 100644
--- a/controllers/admin/AdminCurrenciesController.php
+++ b/controllers/admin/AdminCurrenciesController.php
@@ -34,13 +34,13 @@ class AdminCurrenciesControllerCore extends AdminController
$this->lang = false;
$this->fields_list = array(
- 'id_currency' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),
+ 'id_currency' => array('title' => $this->l('ID'), 'align' => 'center', 'class' => 'fixed-width-xs'),
'name' => array('title' => $this->l('Currency')),
- 'iso_code' => array('title' => $this->l('ISO code'), 'align' => 'center', 'width' => 80),
- 'iso_code_num' => array('title' => $this->l('ISO code number'), 'align' => 'center', 'width' => 120),
- 'sign' => array('title' => $this->l('Symbol'), 'width' => 20, 'align' => 'center', 'orderby' => false, 'search' => false),
+ 'iso_code' => array('title' => $this->l('ISO code'), 'align' => 'center', 'class' => 'fixed-width-xs'),
+ 'iso_code_num' => array('title' => $this->l('ISO code number'), 'align' => 'center', 'class' => 'fixed-width-xs'),
+ 'sign' => array('title' => $this->l('Symbol'), 'width' => 20, 'align' => 'center', 'orderby' => false, 'search' => false, 'class' => 'fixed-width-xs'),
'conversion_rate' => array('title' => $this->l('Exchange rate'), 'type' => 'float', 'align' => 'center', 'width' => 130, 'search' => false, 'filter_key' => 'currency_shop!conversion_rate'),
- 'active' => array('title' => $this->l('Enabled'), 'width' => 25, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false),
+ 'active' => array('title' => $this->l('Enabled'), 'width' => 25, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false, 'class' => 'fixed-width-sm'),
);
$this->bulk_actions = array(
diff --git a/controllers/admin/AdminLanguagesController.php b/controllers/admin/AdminLanguagesController.php
index e7ed7af78..e23e9e460 100644
--- a/controllers/admin/AdminLanguagesController.php
+++ b/controllers/admin/AdminLanguagesController.php
@@ -51,25 +51,29 @@ class AdminLanguagesControllerCore extends AdminController
$this->fields_list = array(
'id_lang' => array(
'title' => $this->l('ID'),
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'flag' => array(
- 'title' => $this->l('Logo'),
+ 'title' => $this->l('Flag'),
'align' => 'center',
'image' => 'l',
'orderby' => false,
- 'search' => false
+ 'search' => false,
+ 'class' => 'fixed-width-xs'
),
'name' => array(
'title' => $this->l('Name')
),
'iso_code' => array(
'title' => $this->l('ISO code'),
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'language_code' => array(
'title' => $this->l('Language code'),
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'date_format_lite' => array(
'title' => $this->l('Date format')
@@ -81,7 +85,8 @@ class AdminLanguagesControllerCore extends AdminController
'title' => $this->l('Enabled'),
'align' => 'center',
'active' => 'status',
- 'type' => 'bool'
+ 'type' => 'bool',
+ 'class' => 'fixed-width-sm'
)
);
diff --git a/controllers/admin/AdminLocalizationController.php b/controllers/admin/AdminLocalizationController.php
index f687089fc..84fbe17f4 100644
--- a/controllers/admin/AdminLocalizationController.php
+++ b/controllers/admin/AdminLocalizationController.php
@@ -65,7 +65,7 @@ class AdminLocalizationControllerCore extends AdminController
),
'localization' => array(
'title' => $this->l('Localization'),
- 'icon' => 'localization',
+ 'icon' => 'icon-globe',
'fields' => array(
'PS_WEIGHT_UNIT' => array(
'title' => $this->l('Weight unit:'),
@@ -100,7 +100,6 @@ class AdminLocalizationControllerCore extends AdminController
),
'options' => array(
'title' => $this->l('Advanced'),
- 'icon' => 'localization',
'fields' => array(
'PS_LOCALE_LANGUAGE' => array(
'title' => $this->l('Language locale:'),
diff --git a/controllers/admin/AdminStatesController.php b/controllers/admin/AdminStatesController.php
index 7f5ef47b3..c1b95db7b 100644
--- a/controllers/admin/AdminStatesController.php
+++ b/controllers/admin/AdminStatesController.php
@@ -65,7 +65,8 @@ class AdminStatesControllerCore extends AdminController
$this->fields_list = array(
'id_state' => array(
'title' => $this->l('ID'),
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'name' => array(
'title' => $this->l('Name'),
@@ -73,7 +74,8 @@ class AdminStatesControllerCore extends AdminController
),
'iso_code' => array(
'title' => $this->l('ISO code'),
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'zone' => array(
'title' => $this->l('Zone'),
@@ -97,7 +99,8 @@ class AdminStatesControllerCore extends AdminController
'filter_key' => 'a!active',
'align' => 'center',
'type' => 'bool',
- 'orderby' => false
+ 'orderby' => false,
+ 'class' => 'fixed-width-sm'
)
);
diff --git a/controllers/admin/AdminTaxRulesGroupController.php b/controllers/admin/AdminTaxRulesGroupController.php
index ff18f7f60..551b6b09f 100644
--- a/controllers/admin/AdminTaxRulesGroupController.php
+++ b/controllers/admin/AdminTaxRulesGroupController.php
@@ -42,7 +42,9 @@ class AdminTaxRulesGroupControllerCore extends AdminController
$this->fields_list = array(
'id_tax_rules_group' => array(
- 'title' => $this->l('ID')
+ 'title' => $this->l('ID'),
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'name' => array(
'title' => $this->l('Name')
@@ -52,12 +54,13 @@ class AdminTaxRulesGroupControllerCore extends AdminController
'active' => 'status',
'type' => 'bool',
'orderby' => false,
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-sm'
)
);
$this->bulk_actions = array(
- 'delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')),
+ 'delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'), 'icon' => 'icon-trash'),
'enableSelection' => array('text' => $this->l('Enable selection')),
'disableSelection' => array('text' => $this->l('Disable selection'))
);
@@ -95,6 +98,10 @@ class AdminTaxRulesGroupControllerCore extends AdminController
$this->toolbar_btn = null;
$this->list_no_link = true;
+ $this->bulk_actions = array(
+ 'delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?'), 'icon' => 'icon-trash')
+ );
+
$this->fields_list = array(
'country_name' => array(
'title' => $this->l('Country')
@@ -103,13 +110,15 @@ class AdminTaxRulesGroupControllerCore extends AdminController
'title' => $this->l('State')
),
'zipcode' => array(
- 'title' => $this->l('Zip Code')
+ 'title' => $this->l('Zip Code'),
+ 'class' => 'fixed-width-md'
),
'behavior' => array(
'title' => $this->l('Behavior')
),
'rate' => array(
- 'title' => $this->l('Tax')
+ 'title' => $this->l('Tax'),
+ 'class' => 'fixed-width-sm'
),
'description' => array(
'title' => $this->l('Description')
diff --git a/controllers/admin/AdminTaxesController.php b/controllers/admin/AdminTaxesController.php
index 0739c9c04..d21cb85c3 100644
--- a/controllers/admin/AdminTaxesController.php
+++ b/controllers/admin/AdminTaxesController.php
@@ -42,10 +42,10 @@ class AdminTaxesControllerCore extends AdminController
);
$this->fields_list = array(
- 'id_tax' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),
+ 'id_tax' => array('title' => $this->l('ID'), 'align' => 'center', 'class' => 'fixed-width-xs'),
'name' => array('title' => $this->l('Name'), 'width' => 'auto'),
- 'rate' => array('title' => $this->l('Rate'), 'align' => 'center', 'suffix' => '%', 'width' => 50),
- 'active' => array('title' => $this->l('Enabled'), 'width' => 25, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false)
+ 'rate' => array('title' => $this->l('Rate'), 'align' => 'center', 'suffix' => '%' , 'class' => 'fixed-width-md'),
+ 'active' => array('title' => $this->l('Enabled'), 'width' => 25, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false, 'class' => 'fixed-width-sm')
);
$ecotax_desc = '';
diff --git a/controllers/admin/AdminZonesController.php b/controllers/admin/AdminZonesController.php
index 2209b7ac7..c54ad30eb 100644
--- a/controllers/admin/AdminZonesController.php
+++ b/controllers/admin/AdminZonesController.php
@@ -38,7 +38,8 @@ class AdminZonesControllerCore extends AdminController
$this->fields_list = array(
'id_zone' => array(
'title' => $this->l('ID'),
- 'align' => 'center'
+ 'align' => 'center',
+ 'class' => 'fixed-width-xs'
),
'name' => array(
'title' => $this->l('Zone'),
@@ -48,7 +49,8 @@ class AdminZonesControllerCore extends AdminController
'align' => 'center',
'active' => 'status',
'type' => 'bool',
- 'orderby' => false
+ 'orderby' => false,
+ 'class' => 'fixed-width-sm'
)
);
$this->bulk_actions = array(