use CBLib\Language\CBTxt;
// (Omitted)
// get plugin params
$plugin = JPluginHelper::getPlugin('jevents', 'jevusers');
if (!$plugin)
return "";
$jevusers_params = new JRegistry($plugin->params);
if ($jevusers_params->get("showattending", 1))
{
$tab_intro = $this->params->get('tabMessage', "JEVENTS_TAB_TEXT_DEFAULT_2");
}
else
{
$tab_intro = $this->params->get('tabMessage', 'UPCOMING_EVENTS_CREATED_BY_THIS_USER_OR_THEY_AREATTENDING');
}
$tab_intro = CBTxt::T($tab_intro);
Please Log in to join the conversation.
Please Log in to join the conversation.