// Update attributes group title
This commit is contained in:
1 parent
09b908204b
commit
299a8e9e9f
1 file changed
+11
-1
@@ -553,7 +553,17 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
|||||||
|
|
||||||
case 'editAttributes':
|
case 'editAttributes':
|
||||||
if ($this->id_attribute)
|
if ($this->id_attribute)
|
||||||
$bread_extended[] = $this->l('Edit Value');
|
{
|
||||||
|
if (($id = Tools::getValue('id_attribute_group')))
|
||||||
|
{
|
||||||
|
if (Validate::isLoadedObject($obj = new AttributeGroup((int)$id)))
|
||||||
|
$bread_extended[] = '<a href="'.Context::getContext()->link->getAdminLink('AdminAttributesGroups').'&id_attribute_group='.$id.'&viewattribute_group">'.$obj->name[$this->context->employee->id_lang].'</a>';
|
||||||
|
if (Validate::isLoadedObject($obj = new Attribute((int)$this->id_attribute)))
|
||||||
|
$bread_extended[] = sprintf($this->l('Edit: %s'), $obj->name[$this->context->employee->id_lang]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
$bread_extended[] = $this->l('Edit Value');
|
||||||
|
}
|
||||||
else
|
else
|
||||||
$bread_extended[] = $this->l('Add New Values');
|
$bread_extended[] = $this->l('Add New Values');
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user