Ejemplo n.º 1
0
 // get values of entry
 $aentry = $aaentry[$i];
 list(, $entryfile) = each($aentry);
 list(, $category) = each($aentry);
 list(, $title) = each($aentry);
 list(, $prio) = each($aentry);
 list(, $status) = each($aentry);
 list(, $filelist) = each($aentry);
 list(, $updated) = each($aentry);
 list(, $modified) = each($aentry);
 list(, $details) = each($aentry);
 // check if commit file exists
 if (file_exists(filedb_getcommitfile($entryfile))) {
     $cvsstat = "<font color=" . filedb_getstatuscolor("COMMIT") . ">commit</font>";
 } else {
     $cvsstat = "<font color=" . filedb_getstatuscolor("CURRENT") . ">current</font>";
 }
 // display entry
 echo "<tr>";
 echo "<td align=right bgcolor=" . $bgcolor . ">";
 echo $i + 1;
 echo "</td>";
 echo "<td align=center bgcolor=" . $bgcolor . ">";
 echo $prio;
 echo "</td>";
 echo "<td bgcolor=" . $bgcolor . ">";
 echo $category;
 echo "</td>";
 echo "<td bgcolor=" . $bgcolor . ">";
 echo "<a href=\"details.php?file=" . $entryfile . "\" target=\"DetailsWindow\">" . $title . "</a>";
 echo "</td>";
Ejemplo n.º 2
0
    $aentry = filedb_read($file);
}
list(, $file) = each($aentry);
list(, $category) = each($aentry);
list(, $title) = each($aentry);
list(, $prio) = each($aentry);
list(, $status) = each($aentry);
list(, $filelist) = each($aentry);
list(, $updated) = each($aentry);
list(, $modified) = each($aentry);
list(, $details) = each($aentry);
$commentfile = filedb_getcommitfile($file);
if (file_exists($commentfile)) {
    $gifbdcolor = filedb_getstatuscolor("COMMIT");
} else {
    $gifbdcolor = filedb_getstatuscolor("CURRENT");
}
echo "<table width=90% border=0 cellpadding=1 cellspacing=1>";
echo "<tr>";
echo "<td bgcolor=#dddddd width=100%>";
echo $title;
echo "</td><td align=right bgcolor=" . $gifbdcolor . ">";
echo "<a href=\"edit.php?file=" . $file . "\"><img src=\"edit.gif\" border=0></a>";
echo "</td>";
echo "</td><td align=right bgcolor=#dddddd>";
echo "<a href=\"new.php?file=" . $file . "\"><img src=\"edit.gif\" border=0></a>";
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<table width=90% border=0 cellpadding=1 cellspacing=1>";
echo "<tr>";