diff --git a/admin-dev/tabs/AdminGroupShop.php b/admin-dev/tabs/AdminGroupShop.php index 97cb09797..e0ac59eee 100755 --- a/admin-dev/tabs/AdminGroupShop.php +++ b/admin-dev/tabs/AdminGroupShop.php @@ -50,9 +50,9 @@ class AdminGroupShop extends AdminTab if (Tools::isSubmit('delete'.$this->table) OR Tools::isSubmit('status') OR Tools::isSubmit('status'.$this->table)) { $object = $this->loadObject(); - if(GroupShop::getTotalGroupShops() == 1) + if (GroupShop::getTotalGroupShops() == 1) $this->_errors[] = Tools::displayError('You cannot delete or disable the last groupshop.'); - elseif($object->haveShops()) + else if ($object->haveShops()) $this->_errors[] = Tools::displayError('You cannot delete or disable a groupshop which have this shops using it.'); if (sizeof($this->_errors)) diff --git a/admin-dev/tabs/AdminGroups.php b/admin-dev/tabs/AdminGroups.php index a8c983c00..ba1e6c41c 100644 --- a/admin-dev/tabs/AdminGroups.php +++ b/admin-dev/tabs/AdminGroups.php @@ -121,17 +121,16 @@ class AdminGroups extends AdminTab

'.$this->l('How the prices are displayed on order summary for this customer group (tax included or excluded).').'

-
 
-
- -
'; +
 
'; if (Shop::isMultiShopActivated()) { echo '
'; $this->displayAssoShop('group_shop'); echo '
'; } - echo ' + echo '
+ +
* '.$this->l('Required field').'

'; diff --git a/admin-dev/tabs/AdminModulesPositions.php b/admin-dev/tabs/AdminModulesPositions.php index 81cf8d2c2..c14a7a9ac 100644 --- a/admin-dev/tabs/AdminModulesPositions.php +++ b/admin-dev/tabs/AdminModulesPositions.php @@ -257,7 +257,7 @@ class AdminModulesPositions extends AdminTab else echo '

'.$this->l('By clicking here you will be redirected to the front office of your shop to move and delete modules directly.').'


- '.$this->l('Run LiveEdit').''; + '.$this->l('Run LiveEdit').''; echo ''; // Print hook list diff --git a/admin-dev/tabs/AdminShop.php b/admin-dev/tabs/AdminShop.php index 946a4dc46..a5c2630ec 100755 --- a/admin-dev/tabs/AdminShop.php +++ b/admin-dev/tabs/AdminShop.php @@ -102,13 +102,21 @@ class AdminShop extends AdminTab -
- -
'; +
'; + if ($disabled) + { + $groupShop = new GroupShop($obj->id_group_shop); + echo $groupShop->name; + echo ''; + } + else + { + echo ''; + } + echo '
'; echo '