exit;
}
-/* Spawn the file object. */
-try {
- $fl = $VC->getFileObject($where);
-} catch (Horde_Vcs_Exception $e) {
- Chora::fatal($e);
-}
-
$colset = array('#ccdeff', '#ecf', '#fec', '#efc', '#cfd', '#dcdba0');
$branch_colors = $colStack = array();
foreach ($branches as $brrev => $brcont) {
}
}
+/* Spawn the file object. */
+try {
+ $fl = $VC->getFileObject($where);
+} catch (Horde_Vcs_Exception $e) {
+ Chora::fatal($e);
+}
+
+$revlist = $fl->getBranchList();
+
/* Start row at the bottom trunk revision. Since branches always go
* down, there can never be one above 1.1, and so this is a safe
* location to start. We will then work our way up, recursively
-<td style="background:<?php echo $bg ?>; text-align:center">
+<td class="historybg<?php echo $bg ?>">
<?php echo _("Branching to") ?>:<br />
<a href="<?php echo Chora::url('browsefile', $where, array('onb' => $rev)); ?>">
<?php echo $symname ?></a>
-<td id="rev<?php echo $rev ?>" style="background:<?php echo $bg ?>">
+<td id="rev<?php echo $rev ?>" class="historybg<?php echo $bg ?>">
<a href="<?php echo Chora::url('browsefile', $where, array('r' => $rev), 'rev' . $rev) ?>">
<?php echo $rev ?></a> <?php printf(_("by %s"), $author) ?>
<br />