/*************************** Module Header *******************************
*
* Module Name: details.php
*
* script to display details of a status entry
*
* Copyright (c) Netlabs EPM Distribution Project 2002
*
* $Id$
*
* ===========================================================================
*
* This file is part of the Netlabs EPM Distribution package and is free
* software. You can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* Netlabs EPM Distribution. This library is distributed in the hope that it
* will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
*************************************************************************/ ?>
include( "filedb.inc") ?>
// load file
$file = $_GET[ "file"];
if ($file == "")
{
$aaentry = filedb_queryentries( "db");
$aentry = $aaentry[ 0];
}
else
{
// read database
$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 "";
echo "";
echo "";
echo $title;
echo " | ";
echo "";
echo " | ";
echo "";
echo "";
echo " | ";
echo "
";
echo "
";
echo "";
echo "";
echo "category | ";
echo "prio | ";
echo "status | ";
echo "last modified | ";
echo "file | ";
echo "affected files | ";
echo "
";
echo "";
echo "".$category." | ";
echo "".$prio." | ";
echo "".$status." | ";
echo "".$modified." | ";
echo "".basename($file)." | ";
echo "";
if (strlen( trim( $filelist)) == 0)
echo "- none -";
else
echo $filelist;
echo " | ";
echo "
";
echo "
";
echo "";
echo $details;
echo "";
?>