Esempio n. 1
0
function showHelpRegister()
{
    $database = JFactory::getDBO();
    $my = JFactory::getUser();
    if (checkAccess($database, 'core.admin') || checkAccess($database, 'core.manage')) {
        HTML_joomla_flash_uploader::showHelpRegister();
    } else {
        HTML_joomla_flash_uploader::errorRights();
    }
}
function showHelpRegister()
{
    $database =& JFactory::getDBO();
    $my =& JFactory::getUser();
    if (checkAccess($database, $my->usertype, 'backend_access_config')) {
        HTML_joomla_flash_uploader::showHelpRegister();
    } else {
        HTML_joomla_flash_uploader::errorRights();
    }
}