- improve application and related classes

- use application/version/vendor class in scripts
- don't use a full table for queued appication but only one field in the application and version tables
- simplify the code in many places
This commit is contained in:
Jonathan Ernst
2005-02-07 23:21:33 +00:00
committed by WineHQ
parent fa98124783
commit 7b12f89abf
13 changed files with 467 additions and 796 deletions

View File

@@ -203,14 +203,16 @@ function make_cat_path($path, $appId = '', $versionId = '')
if(!empty($appId))
{
$oApp = new Application($appId);
if(!empty($versionId))
{
$str .= " > ".html_ahref(lookup_app_name($appId),"appview.php?appId=$appId");
$str .= " > ".lookup_version_name($versionId);
$oVersion = new Version($versionId);
$str .= " > ".html_ahref($oApp->sName,"appview.php?appId=$appId");
$str .= " > ".$oVersion->sName;
}
else
{
$str .= " > ".lookup_app_name($appId);
$str .= " > ".$oApp->sName;
}
}