";
$i++;
$listing[$i] = array();
}
$listing[$i]["isgrouphead"] = false;
$listing[$i]["isprojlink"] = true;
$url = $config->getURL($project, '', 'dir');
$listing[$i]["listitem"] = "
".$project->name."\n";
$listing[$i]["rowparity"] = $parity % 2;
$parity++;
$i++;
}
}
if (!empty($curgroup)) {
// Close the switchcontent div
$listing[$i]["isprojlink"] = false;
$listing[$i]["isgrouphead"] = false;
$listing[$i]["listitem"] = "
";
}
$vars["flatview"] = false;
$vars["treeview"] = true;
$vars["opentree"] = $config->openTree;
}
if (!$config->multiViews) {
$vars['indexurl'] = $config->getURL($rep, '', 'index');
}
$vars["version"] = $version;
parseTemplate($config->getTemplatePath()."header.tmpl", $vars, $listing);
parseTemplate($config->getTemplatePath()."index.tmpl", $vars, $listing);
parseTemplate($config->getTemplatePath()."footer.tmpl", $vars, $listing);