System is shown in category tree up the test selected, in list of versions, and in left column in selected version

svn path=/; revision=14
This commit is contained in:
2009-10-10 02:12:44 +00:00
parent 91b3e8ad25
commit c0b373500c
2 changed files with 34 additions and 8 deletions

View File

@@ -258,7 +258,7 @@ class Category {
/**
* create the Category: line at the top of appdb pages$
*/
function make_cat_path($aPath, $iAppId = '', $iVersionId = '')
function make_cat_path($aPath, $iAppId = '', $iVersionId = '', $iqSysId = '')
{
$sStr = "";
$iCatCount = 0;
@@ -287,6 +287,14 @@ class Category {
$sStr .= " > ".$oApp->sName;
}
}
// QEMU
if($iqSysId)
{
$oqSys = new qemuSystem($iqSysId);
$sStr .= " (".$oqSys->sDescription.")";
}
return $sStr;
}
@@ -405,9 +413,9 @@ class Category {
/**
* display the full path of the Category we are looking at
*/
function displayPath($appId, $versionId = '')
function displayPath($appId, $versionId = '', $qsysId = '')
{
$sCatFullPath = Category::make_cat_path($this->getCategoryPath(), $appId, $versionId);
$sCatFullPath = Category::make_cat_path($this->getCategoryPath(), $appId, $versionId, $qsysId);
echo html_frame_start("",'98%','',2);
echo "<p><b>Category: ". $sCatFullPath ."</b><br>\n";
echo html_frame_end();