2009/10/10 03:12:44 +0100 claunia: System is shown in category tree up the test selected, in list of versions, and in left column in selected version
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user