Update some comments. Fixed some conditional implementation of the show hide fields area in the admin views.

This commit is contained in:
2018-09-09 22:04:38 +02:00
parent 1d5a99878a
commit 5b1813db7c
11 changed files with 187 additions and 138 deletions

View File

@ -1049,9 +1049,17 @@ class ComponentbuilderModelAjax extends JModelList
{
if (1 == $value)
{
return JText::_('COM_COMPONENTBUILDER_SHOW');
return JText::_('COM_COMPONENTBUILDER_SHOW_TOGGLE');
}
return JText::_('COM_COMPONENTBUILDER_HIDE');
elseif (3 == $value)
{
return JText::_('COM_COMPONENTBUILDER_SHOW_ONLY');
}
elseif (4 == $value)
{
return JText::_('COM_COMPONENTBUILDER_HIDE_ONLY');
}
return JText::_('COM_COMPONENTBUILDER_HIDE_TOGGLE');
}
protected function setTargetRelation($header, $value)