function &getPublicProjectNames($session_ser) { continue_session($session_ser); $forge = new FusionForge(); $result = $forge->getPublicProjectNames(); if ($forge->isError()) { $errMsg = 'Could Not Get Public Group Names: ' . $forge->getErrorMessage(); return new soap_fault('2003', 'group', $errMsg, $errMsg); } return $result; }
function show_sitestats() { $gforge = new FusionForge(); $return = ''; $return .= _('Hosted Projects') . ': <strong>' . number_format($gforge->getNumberOfPublicHostedProjects()) . '</strong>'; $return .= '<br />' . _('Registered Users') . ': <strong>' . number_format($gforge->getNumberOfActiveUsers()) . '</strong>'; return $return; }