$activated )
{
if ( ! $activated )
{
// Module not activated.
continue;
}
if ( ! function_exists( 'Dashboard' . $module ) )
{
// No Dashboard function for module.
continue;
}
if ( empty( $_ROSARIO['Menu'][$module] ) )
{
// User profile has no access to module.
continue;
}
$dashboard_html = call_user_func( 'Dashboard' . $module );
DashboardAdd( $module, $dashboard_html, true );
}
}
/**
* Dashboard Output HTML
* Modules HTML inside PopTable
*
* @global $_ROSARIO
* @since 4.0
*
* @param integer $rows Number of modules per row, defaults to 4. Optional.
*/
function DashboardOutput( $rows = 4 )
{
global $_ROSARIO;
Dashboard();
if ( empty( $_ROSARIO['Dashboard'] ) )
{
return;
}
echo '
';
PopTable( 'header', _( 'Dashboard' ), 'width="100%"' );
?>