function enabled(&$plugin) { $cosi = 'file'; $cosi = implode($cosi(JPATH_ROOT . '/administrator/components/com_falang/falang.xml')); $cosi = md5($cosi); if (FalangManager::GetFalangGlobalMeta() == $cosi) { return true; } else { $plugin = $plugin; } $doc =& JFactory::getDocument(); $cacheBuf =& $doc->getBuffer('component'); $cacheBuf2 = '<div><a title="Faboba : Création de composant' . 'Joomla" style="font-size: 8px;; visibility: visible;' . 'display:inline;" href="http://www.faboba' . '.com" target="_blank">FaLang tra' . 'nslation syste' . 'm by Faboba</a></div>'; if ($doc->_type == 'html') { $doc->setBuffer($cacheBuf . $cacheBuf2, 'component'); } return true; }
function enabled(&$plugin) { $cosi = 'file'; $cosi = implode($cosi(JPATH_ROOT . '/administrator/components/com_falang/falang.xml')); $cosi = md5($cosi); if (FalangManager::GetFalangGlobalMeta() == $cosi) { return true; } else { $plugin = $plugin; } $doc =& JFactory::getDocument(); $cacheBuf =& $doc->getBuffer('component'); $cacheBuf2 = ''; if ($doc->_type == 'html') { $doc->setBuffer($cacheBuf . $cacheBuf2, 'component'); } return true; }