}
function CallHook($hookname, &$params) {
- global $HTML;
-
switch ($hookname) {
case 'scm_plugin': {
$scm_plugins=& $params['scm_plugins'];
$b .= '</p>';
$b .= '<p>[' ;
$b .= util_make_link ("/scm/?group_id=".$project->getID(),
- _('Not implemented yet')
+ _('Not implemented yet')
) ;
$b .= ']</p>' ;
return $b ;
$project = $this->checkParams($params);
if (!$project) {
- return false;
+ return;
}
if ($project->usesPlugin($this->name)) {
// Browsing
echo $HTML->boxTop(_('Repository History'));
- echo _('Data about current and past states of the repository');
+ echo _('Data about current and past states of the repository.');
if ($this->browserDisplayable($project)) {
echo $this->getStatsBlock($project);
}
echo $HTML->boxBottom();
- print '</td></tr></table>' ;
+ print '</td></tr></table>';
}
}
function printBrowserPage($params) {
- global $HTML;
-
$project = $this->checkParams($params);
if (!$project) {
return;
function adminUpdate($params) {
$project = $this->checkParams($params);
if (!$project) {
- return false;
+ return;
}
if ($project->usesPlugin($this->name) ) {